Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 2.07 KB

README.md

File metadata and controls

55 lines (30 loc) · 2.07 KB

The Tenzies Game

From Scrimba Learn React - Week 4

A Tenzies Game in React + Vite. The game features a Dice style toggle from numbers to dots, a score tracker, and Confetti celebration.

Features!

  1. Dice style toggle from numbers to dots: The button allows players to toggle the dice from numbers to dots. This is a fun way to add a bit of randomness to the game.

image image

  1. Score tracker: The game keeps track of the player's score. This allows players to compete against each other or try to beat their own high score.

  2. Confetti celebration: When a player wins the game, confetti is displayed. This is a fun way to celebrate the player's victory.

image

  1. Timer: See how fast you finished the game! Dynamic Timer.
  2. Themes : An option for Light or Dark Mode in the game.
  3. Responsiveness : Scales well on almost all devices. (Almost...)

Screenshot 2023-07-13 190357 Screenshot 2023-07-13 185110

How to run the game

To run the game, you will need to have Node.js and NPM installed. Once you have Node.js and NPM installed, you can run the following commands:

npm install

npm run dev

or

yarn

yarn dev

This will start the development server and the game will be available at http://localhost:5173.

• To-do

  1. Add scoring data in the back. (Kind of added best score and time per session in local storage (clearable))
  2. Add a timer.
  3. Maybe more modes??

Contributing

If you would like to contribute to this project, please feel free to fork the repository and submit a pull request.