Tenzies
A fun and addictive dice game built with React.

Tenzies - The Addictive Dice Game
Who knew rolling virtual dice could be so much fun? Tenzies is a delightful, fast-paced dice game that will keep you clicking "just one more round" long after you should have gone to bed. Trust me, I know from experience! 😄
Project Overview
Tenzies is a React-based implementation of the popular dice game where players race to get all ten dice showing the same value. It's simple to learn but surprisingly engaging, making it perfect for a quick coding project that demonstrates front-end development skills while actually being fun to use.
How To Play
The rules couldn't be simpler:
- Roll the dice
- Click on dice to "freeze" them at their current value
- Roll again to change only the unfrozen dice
- Repeat until all dice show the same value
- Victory dance! (Optional but recommended)
Key Features
- Interactive Dice: Click to select/deselect dice with satisfying visual feedback
- Game State Management: Tracks rolls, time, and victory conditions
- Animations: Subtle but delightful animations make the game feel alive
- Responsive Design: Play on any device, from phone to desktop
- Performance Optimized: Snappy response times for a fluid gaming experience
Technical Implementation
This project showcases several important front-end development concepts:
- React State Management: Using useState and useEffect to track game progress
- Component Architecture: Clean separation of concerns for maintainable code
- Event Handling: Responsive user interactions with optimized event listeners
- Conditional Rendering: Dynamic UI updates based on game state
- Tailwind CSS: Utility-first styling for rapid development
The Fun Challenges
The most interesting technical challenge was implementing the dice selection mechanism. Each die needed to:
- Maintain its own "held" state
- Visually reflect that state
- Be excluded from re-rolls when held
- Contribute to the victory condition check
Solving this with React's state management was a great exercise in component design and state flow.
Easter Eggs
I couldn't resist adding a few surprises to the game. Keep an eye out for:
- Special animations on your 10th roll
- A hidden message when you win in under 20 seconds
- A little something extra if you get all sixes
(Okay, I may have just inspired you to go play the game to find these... which may or may not actually exist! 😉)
Conclusion
Tenzies demonstrates that even simple games can be engaging when implemented well. This project showcases my ability to create interactive, responsive web applications with clean code and thoughtful user experience design.
Give it a try - I bet you can't play just one round!