Skip to content

The Tenzies Game App is a React-based game where you roll ten dice and aim to match all values. Players can hold specific dice to retain their values while rerolling the others. The game features a timer and stores the best time in local storage, offering a fun challenge each time you play. Fully responsive and great for exploring React fundamental

Notifications You must be signed in to change notification settings

Ankitv003/Tenzies-Game-App

Repository files navigation

Tenzies Game App

Welcome to the Tenzies Game App! This is a fun and interactive game where you roll dice and try to get all ten dice to show the same value. The game features a timer to track how quickly you can complete the challenge, and it stores your best time in local storage.

Features

  • Dice Rolling: Roll ten dice at once and hold specific dice to keep their values while rerolling the rest.
  • Timer: A timer starts when the game begins and stops when you achieve Tenzies (all dice show the same value).
  • Best Time Storage: The app stores your best time in local storage, so you can challenge yourself to beat it each time you play.
  • Responsive Design: The game is fully responsive and can be played on any device.

Demo

Check out the live demo of the Tenzies Game App here: Tenzies Game App

How to Play

  1. Roll the Dice: Click the "Roll" button to roll all ten dice.
  2. Hold Dice: Click on any dice to hold its value, so it won't be rerolled.
  3. Roll Again: Continue rolling until all ten dice show the same value.
  4. Win the Game: When all dice show the same value, you've won the game! Your time will be displayed, and if it's your best time, it will be saved.

Technologies Used

  • ReactJS: The app is built using React, taking advantage of its component-based architecture.
  • CSS: Simple CSS is used for styling the application.
  • Local Storage: Best time is stored in the browser's local storage.

Getting Started

To run the Tenzies Game App locally on your machine:

  1. Clone the repository:
    git clone https://github.com/Ankitv003/Tenzies-Game-App.git
  2. Navigate to the project directory:
    cd Tenzies-Game-App
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm run dev

Open your browser and go to http://localhost:3000 to play the game.

Contact

Feel free to reach out if you have any questions or suggestions! You can contact me via the contact form on my website or through the following channels:

Thank you for using the Tenzies Game App!

About

The Tenzies Game App is a React-based game where you roll ten dice and aim to match all values. Players can hold specific dice to retain their values while rerolling the others. The game features a timer and stores the best time in local storage, offering a fun challenge each time you play. Fully responsive and great for exploring React fundamental

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published