React Farkle Game
Using as my tutorial for learning React. Find out more about Farkle.
- Clone it.
nvm use(if you're using nvm).
npm run webpackit.
- Serve it (requires docker-compose):
npm run up(find the game at
- Stop serving it:
npm run down
Currently game includes:
- Basic scoring rules
- A two player game
- Some error handling around selecting incorrect dice
- Stateful buttons related to actions the player can take, etc.
- An indicator for whether a player is winning currently
- A means of determining the winner and ending the game when someone wins
- Restarting the game
- Allowing a different number of players
- Better UI design and UX tweaks (responsive design considerations, select all die, deselect all die, show scoring options etc)