Skip to content

This is my Third React project that uses the concepts of React hooks such as useState and useEffect

Notifications You must be signed in to change notification settings

Shaheer-Ahmd/Tenzies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenzies Game

This is a React web application that simulates the dice game called Tenzies. The goal of the game is to roll the dice until all of them show the same number. Players can click on each die to freeze it at its current value between rolls.

How to Play

  • Click on the "Roll" button to roll the dice.
  • Click on each die to freeze it at its current value between rolls.
  • Keep rolling until all the dice show the same number.
  • Click on the "New Game" button to start a new game.

Features

  • The app keeps track of the number of rolls it takes to win the game.
  • The app keeps track of the time it takes to win the game.
  • After winning the game, the app displays the best roll count and the best time taken to win the game.
  • The app uses React hooks to manage the state of the game.

How to Run the App

  • Clone this repository.
  • Open the terminal and navigate to the project directory.
  • Run npm install to install the dependencies.
  • Run npm start to start the development server.
  • Open http://localhost:3000 in your browser to view the app.

About

This is my Third React project that uses the concepts of React hooks such as useState and useEffect

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published