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.
- 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.
- 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.
- 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.