pip counter
Upgrade to webpack 4 and yarn
live demo
PIP counting is an essential skill for a good backgammon player. It could affect the player's strategy during the game. With practise it gets easier to have a clear view on the positions.
Running the up in local environment:
$ yarn$ yarn devRun eslint against the /src folder:
$ yarn eslint
$ yarn build/dist folder$ yarn deploy (or git push origin git subtree split --prefix dist master:gh-pages --force)Unit testing is done using jest mainly for its amazing automocking feature
run unit all tests:
$ yarn test
run unit test with coverage:
$ yarn test:coverage
setup test watch:
$ yarn test:watch