This a web app based game made using HTML, CSS and vanilla.js (no frameworks used)
There are 2 players in this game
- Each player, during his/her chance, can roll the dice by clicking on the Roll dice button.
- When the roll dice button is clicked, the temporary score of the one, whose's chance is, increases.
- if the player clicks on hold button then his/her temporary score is addded to the main score and the chance to play is passed to another player.
- if, before clicking on hold button, the player encounters 1 one the dice then all his/her temporary score is reduced to zero without that temporary score being added to main score and the player loses his/her chance.
- if any of the player's main score reaches 100 before another then that player is the winner of the game.