Skip to content

va1bhavx/Roll_The_Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Roll The Dice

"Roll The Dice" is an interactive two-player game where the objective is to reach a total score of 100 before your opponent. This game combines luck and strategy as players take turns rolling a virtual dice to accumulate points. However, rolling a '1' on the dice resets the current score to zero, adding an element of risk and decision-making.

Play from here

Features

  • Two-player game with turn-based gameplay.
  • Roll the dice button to accumulate points.
  • Pass the dice button to save the current score and transfer it to the total score.
  • Score reset to zero if a 'dragon ๐Ÿ‰' is rolled on the dice.
  • Restart option to begin a new game.

Usage

  1. Open the game in your web browser from here .
  2. Player 1 starts the game and can click the "Roll the Dice" button multiple times to accumulate points. However, rolling a 'dragon ๐Ÿ‰' will reset the current score to zero.
  3. Player 1 can choose to click the "Pass the Dice" button to save their accumulated score and transfer it to their total score. It becomes Player 2's turn.
  4. Player 2 follows the same steps as Player 1, trying to accumulate points without rolling a 'dragon ๐Ÿ‰'.
  5. The game continues in a turn-based fashion until one of the players reaches a total score of 100.
  6. At any point, players can restart the game by clicking the "Restart" button.

Recent Updates

  • Now you can add your own custom names for the players.
  • The game now will not break on 1, dragon ๐Ÿ‰ has been added to break your chance ๐Ÿ˜–.

Contributing

Contributions are welcome! If you find any issues or would like to suggest enhancements, please submit a pull request.

Acknowledgements

The dice image used in this project is sourced from Game-icons.

About

"Roll The Dice" is an interactive two-player game where the objective is to reach a total score of 100 before your opponent. This game combines luck and strategy as players take turns rolling a virtual dice to accumulate points. However, rolling a 'dragon ๐Ÿ‰' in the game dice resets the current score to zero.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors