Tenzies is a simple but fully-functional dice game, developed using React and as part of Scrimba’s Frontend Career Path. Here we’re using the useEffect() hook to manage side-effects created by the dice’s code and game state.
The Die.jsx component code was adapted from React CSS grid dice.
This game features the following tech stack:
- React
- react-confetti
- nanoid
- Vite
Check the game at Netlify.
You can check the code out at GitHub.