Skip to content

Dice Game is a simple web application built using React with Vite. In this game, players choose a number between 1 and 6 and then roll the dice. If the rolled number matches the chosen number, the player earns points; otherwise, they lose 2 points.

Notifications You must be signed in to change notification settings

zishaxn/Dice-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Game

image

Dice Game is a simple web application built using React with Vite. In this game, players choose a number between 1 and 6 and then roll the dice. If the rolled number matches the chosen number, the player earns points; otherwise, they lose 2 points.

How to Play

  1. Choose a number between 1 and 6.
  2. Roll the dice.
  3. If the rolled number matches your chosen number, you earn points.
  4. Otherwise, you lose 2 points.

Technologies Used

  • React
  • Vite

Installation

  1. Clone the repository.
  2. Navigate to the project folder.
  3. Run npm install to install dependencies.
  4. Run npm run dev to start the development server.

Feel free to explore and enjoy the game!

Acknowledgments

Thanks for playing the Dice Game!

About

Dice Game is a simple web application built using React with Vite. In this game, players choose a number between 1 and 6 and then roll the dice. If the rolled number matches the chosen number, the player earns points; otherwise, they lose 2 points.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published