The Dice Game is a web-based game that simulates the rolling of dice. It has an interactive webpage where users can click a button to trigger the dice roll, and the game determines the winner between Player 1 and Player 2.
- Web-based interface for a visually engaging experience.
- Simulates the rolling of a standard six-sided die.
- Automatic determination of the winner between Player 1 and Player 2.
- Provides feedback on the winning player.
index.js
: Contains the logic for dice rolling and winner determination.dice.html
: Webpage HTML with a button to trigger the dice roll.- (Add any other relevant files or directories)
- Open the
dice.html
file in a web browser. - Click the "Click Me" button to trigger the dice roll.
- The game will automatically determine the winner between Player 1 and Player 2.
- Enjoy the game and see who comes out victorious!
-
Clone the repository to your local machine:
git clone https://github.com/SD007CSE/Dice-Game.git
-
Open the
dice.html
file in a web browser.
- Click the "Click Me" button to initiate the dice roll.
- View the result and see which player wins.
- Have fun and enjoy the interactive nature of the game.
Feel free to customize this README file further based on your specific project details or additional information you want to include.