A simple and interactive Dice Game built using HTML, CSS, and JavaScript, where two players compete to reach a winning number first.
- Two-player gameplay
- Dynamic dice roll using JavaScript
- Winning number can be set
- Displays real-time scores
- Highlights the winner once the game is over
- Each player takes turns rolling the dice.
- The rolled number gets added to the player's total score.
- The first player to reach the winning number is declared the winner.
- Game can be reset to start a new match.
- HTML for structure
- CSS for styling and layout
- JavaScript for game logic and interactivity
(Add a screenshot or GIF here if possible)
- Open
index.html
in your browser. - Click on the dice to roll.
- Compete and enjoy!
Let me know if you'd like a README.md
file generated or want to add advanced features like local storage, animations, or sound.