A tiny dice game: roll until all 10 dice show the same value. Click a die to hold/unhold it between rolls. When you win, the button switches to New Game and confetti appears 🎉.
npm install
npm run dev
npm run build- 10 dice stored in state
{ value (1–6), isHeld, id }(ids viananoid). - Win when every die is held and all values are equal.
- Roll rerolls only non-held dice; New Game resets all.
- Accessibility: victory announced via
aria-liveand focus moves to the New Game button.
React + Vite · nanoid · react-confetti
Static hosting (e.g. Netlify).
Build: npm run build → publish dist/.