Skip to content

A two player game, In which players roll the dice to reach ๐Ÿ’ฏ the one who reaches first wins the game...

Notifications You must be signed in to change notification settings

shreyashHake/Race--to--100

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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


About

A two player game, In which players roll the dice to reach ๐Ÿ’ฏ the one who reaches first wins the game...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published