- Modals now exist to help the user. If a user clicks on the score table before they have completed all their rolls for the turn, or if the cell they click will score a zero and there are other cells that could register a non-zero score, a modal will pop up to advise them.
- Game Restart now exists. When a game ends the roll button will switch to a 'new game' button. Clicking it will reset the scorecard and dice to a starting position.
- A few styling changes were applied to make the game look and feel a lil nicer :)
...clone the repository, navigate to the directory containing the repository and run
npm install
Then run
npm start
Open a browser and navigate to localhost:3000 to play the game!
Responses, feedback, and contributions related to React Yahtzee are welcomed. Future releases will include improved user interface and a database of high scores. For a related project, please see my Yahtzee Probability Calculator (written in Ruby), also on GitHub. Happy rolling!
(Yahtzee is owned by Hasbro. This open-source project is made for educational purposes and is not endorsed by or affiliated with Hasbro.)