This dice game program allows users to play a simple game of rolling two dice and trying to guess the sum of the dice rolls.
Random dice rolls for each turn User input for guessing the sum of the dice rolls Win/loss conditions and score tracking Option to play again after a game ends
To install the program, follow these steps:
- Download the program files from https://github.com/Ravish108Coder/dice-game/archive/refs/heads/main.zip .
- Extract the files to a desired location on your computer.
- Open the index.html file in your preferred web browser.
To play the dice game, follow these steps:
- Enter your guess for the sum of the two dice rolls in the input field.
- Click the "Roll Dice" button to initiate the dice rolls.
- The program will reveal the dice rolls and determine whether you guessed correctly.
- If you guessed correctly, you will earn points based on the sum of the dice rolls.
- The game will continue until you reach a certain point threshold or until you lose by guessing incorrectly too many times.
- Click the "Play Again" button to start a new game.
This program was created by Ravish Kumar. If you have any questions or feedback, please contact us at https://github.com/Ravish108Coder .