Skip to content

liumOazed/tenzies-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲 Tenzies Game

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!

👉 Play the Game


🚀 Features

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!


🛠️ Technologies Used

React - Frontend framework for building the game.

JavaScript - Core logic and functionality.

CSS - Styling for the game components.

Vercel - Deployment and hosting.


🎯 How to Play

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


🚀 Installation

Want to run the game locally? Follow these steps:

  1. Clone the Repository: git clone https://github.com/liumOazed/tenzies-react.git
  2. Navigate to the Project Directory: cd tenzies-react
  3. Install Dependencies: npm install
  4. Start the Development Server: npm start
  5. Open the Game: Visit http://localhost:5173 in your browser.