/Race--to--100

A two player game, In which players roll the dice to reach 💯 the one who reaches first wins the game...

Primary LanguageJavaScript

Race to 100 🏍 :

  • It is a two player game, In which a player can roll 🎲 the dice and hold 📥 his/her score to sum ➕ their roll to reach the total of 100 the one who reaches first wins 🥳 the game...
  • After anyone wins game can be restarted 🔄 ..

Rules 📝 :

  • A Player 👨 can roll the dice using 🎲 Roll dice button.
  • We will add the rolled number to Current Score.
  • If the rolled number is 1, player will loose their Current Score and chance to 🎲 Roll dice.
  • Same goes with other Player 👨.
  • Else if the Player 👨 click the 📥 Hold button the chance is given to other Player 👨.
  • Using 📥 Hold button Player 👨 will not loose their Current Score but it will get add to Grand Score.
  • The Player 👨 who first reaches to the Grand Score of 100 Will be the 🏆 Winner 🥳
  • Game can be restarted at any time using 🔄 New game button.

So let's Race 🚗 :

🎮 Play here with your Friend 🕺.


Visuals 🏞 :

When game starts 🎮 :

  • Initially Player 1 👨 will have chance to play game.

Home Page


After rolling 🎲 and Holding 📥 score:

  • After holding the score, Current Score will be added to 'Grand Scoreand playing chance will be given toPlayer 2 🧒`
  • This will be contiue as per above Rules 📝

After Holding


If Player 1 👨 wins :

Player 1 wins


If Player 2 🧒 wins :

Player 2 wins


If button 🔄 New game is clicked when any player wins :

New game