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:
- clone the repo
$ yarn
$ yarn dev
Run eslint against the /src
folder:
$ yarn eslint
$ yarn build
- commit the changes in the
/dist
folder $ yarn deploy
(orgit 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