Welcome to Tenzies, a fun and addictive dice game built with React! Roll the dice, freeze the ones you want to keep, and try to get all ten dice to show the same number. Can you achieve Tenzies in the fewest rolls? Let’s find out!
Roll the Dice: Click the "Roll" button to roll the unfrozen dice.
Freeze Dice: Click on a die to freeze it at its current value.
Win the Game: Get all ten dice to show the same number to win!
Timer & Roll Counter: Track your time and number of rolls to beat your best score.
Confetti Celebration: Enjoy a confetti animation when you win!
React - Frontend framework for building the game.
JavaScript - Core logic and functionality.
CSS - Styling for the game components.
Vercel - Deployment and hosting.
Roll the Dice: Click the "Roll" button to roll the unfrozen dice.
Freeze Dice: Click on a die to freeze it at its current value.
Repeat: Keep rolling and freezing dice until all ten show the same number.
Win: When all dice match, you win! Celebrate with confetti 🎉.
Want to run the game locally? Follow these steps:
- Clone the Repository:
git clone https://github.com/liumOazed/tenzies-react.git
- Navigate to the Project Directory:
cd tenzies-react
- Install Dependencies:
npm install
- Start the Development Server:
npm start
- Open the Game:
Visit
http://localhost:5173 in your browser.