This is a simple console-based game where you roll a dice and try to get the highest score possible.
1.Clone the repository to your local machine.
2.Navigate to the root directory of the project.
3.Run npm install to install the required dependencies.
node index.js
https://girish345.github.io/Dice-Game/
Once the game starts, you will be prompted to roll the dice by pressing the Enter key. The game will then display the value of the dice and add it to your current score. You can continue rolling the dice as many times as you want, but if you roll a 1, your turn ends and you lose all the points you've accumulated during that turn.
The goal of the game is to reach a score of 100 or more. Once you reach that score, the game will end and you will be declared the winner.