Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.14 KB

Backgammon PIP counter

Build Status tested with jest

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.

🏗️ Development

Running the up in local environment:

  1. clone the repo
  2. $ yarn
  3. $ yarn dev

Run eslint against the /src folder:

$ yarn eslint

🚀 Deployment

  1. $ yarn build
  2. commit the changes in the /dist folder
  3. $ yarn deploy (or git push origin git subtree split --prefix dist master:gh-pages --force)

🍏 Testing

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