Part of Scrimba's learn React course. A simple version of the tenzies dice game. Live link here: https://tenzies-8192ojbcz-rheera.vercel.app
Made with React and Vite. Hosted by Vercel.
- Add copy text and roll button
- Make die components
- Pressing roll randomizes dice
- Ability to hold dice which stops them from rolling
- Alert user that they won once all dice are the same
- Track number of rolls / time it took to win
- Save best rolls / time in localStorage
- Add real dots on the dice instead of numbers using CSS
- Make an animation to show the dice are spinning
-
Start developing.
Navigate into the site’s directory and start it up.
npm install npm run dev
-
Open the code and start customizing!
Your site is now running at http://localhost:5173!