A clean, responsive version of the classic Tenzies game built using React and Vite.
Hold dice to freeze their values and roll until all dice match. Tracks your best time and roll count locally!
You can try the live version here.
- 🎯 Win Condition: Match all dice to the same value
- ⏱️ Timer and 🎲 Roll counter
- 🏆 Best score tracking (time + rolls) saved in local storage
- 🎉 Confetti animation on win
- 🖱️ Smooth dice click interactions
- 📱 Responsive layout for smaller screens
- 🔁 Reset best scores button
- React
- Vite
nanoid
(unique dice IDs)react-confetti
- Click Roll to roll all dice.
- Click a die to hold its value.
- Keep rolling until all dice match and are held.
- Try to beat your best score in terms of speed and rolls!
npm install
npm run dev