Welcome to my project!
Here's the flowchart of this game :-
- Multiplayer Game [ contraints -> both player should be at the same place and on the same device ]
- Two players are named as Player 1 and Player 2 by default
- You have to decide your side by yourself either Player 1 or Player 2
- By default game will start with Player 1
- You will get 3 options in this game : 1. New game 2. Roll Dice 3. Hold
- New game -> Resets the scores of both players and will start a new game
- Roll Dice -> Everytime you click on Roll Dice button you will get your dice rolled and you will get a numeber from 1-6.
- Hold -> This option will add your current score to your total score and pass to next player
- If you get a 1 numbered dice then Player will be switched automatically.
- Decision is your's either to take risk and keep rolling the dice or press hold button and add your current score to your total score.
- Player reaching score 100 first wins.