Skip to content

Girish345/Dice-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Game

This is a simple console-based game where you roll a dice and try to get the highest score possible.

Installation

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

visite website:

https://girish345.github.io/Dice-Game/

How to Use

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.

Authors

Screenshots

Blog

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published