Skip to content

rahulrajsharma1351/Roll-Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฒ Roll Dice Game

A fun and interactive dice-rolling game built using HTML, CSS, and JavaScript. In this two-player game, players take turns rolling a dice, accumulating points, and competing to reach a score of 100 to win the game.


๐Ÿ•น๏ธ How to Play

  1. Players: The game supports two players.
  2. Gameplay:
    • On their turn, a player rolls the dice to get a score between 1 and 6.
    • The player can either:
      • "Hold": Add the current round score to their total score and pass the turn.
      • "Roll Again": Continue rolling the dice to increase their round score.
    • If the player rolls a 1, they lose their current round score, and their turn ends immediately.
  3. Winning the Game: The first player to reach 100 points wins!

๐ŸŽจ Features

  • Smooth and responsive UI designed with HTML and CSS.
  • Dynamic and interactive gameplay powered by JavaScript.
  • Real-time score updates and turn indicators.
  • Reset option to restart the game anytime.

๐Ÿ› ๏ธ Technologies Used

  • HTML: Structure and layout of the game.
  • CSS: Styling for a visually appealing interface.
  • JavaScript: Game logic and interactivity.

๐Ÿ“ธ Desktop Design

Desktop design

๐Ÿ™Œ Acknowledgments

Inspired by classic dice-rolling games. Special thanks to Rahul raj sharma for developing this project.

๐Ÿ“ง Contact

For any queries or feedback, feel free to reach out:

Email: rahulrajsharma512@gmail.com GitHub: rahulrajsharma1351

Releases

No releases published

Packages

No packages published