Skip to content

meghavx/play-tenzi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play Tenzi

React Vite Chakra UI License

A simple, fun dice game — roll, hold, match, and win!

How to Play

➝ Roll the dice until every die shows the same number.
➝ Click on a die to hold its number in place while you re-roll the rest.
➝ Win when all dice are held and match.


Features

  • Click any die to hold or release it
  • Roll only unheld dice in each turn
  • Clear visual feedback for held dice
  • Confetti celebration when all dice match 🎉
  • Fully responsive, mobile-friendly UI

Screenshots

Start Screen Game Started Game Won
game-start playing game-won

Tech Stack

  • React + JavaScript — Frontend
  • Vite — Fast dev server & build tool
  • Chakra UI — UI components
  • Lucide React Icons — Dice symbols
  • React Confetti — Celebration effect

Deployment

This project is deployed and hosted on Netlify.


Steps to Run this Project Locally

**Ensure that Node.js and npm are installed.

git clone https://github.com/meghavx/play-tenzi.git
cd play-tenzi
npm install   
npm run dev
The app will run at http://localhost:5173 by default.

Acknowledgments

Thanks to Scrimba for their clear, interactive way of teaching React and making learning actually fun and hands-on.

This game was built as the final capstone in their Learn React course.


License

This project is open source under the MIT License.

Contributors