A simple dice roller made with React
- Preset rolls of 7 dice
(d3, d6, d8, d10, d12, d20, d100) - Input field to roll a custom number of dice with custom face values
(200d17) - Supports dice notation
(5d6, 2d20+10, d12-4) - Mobile responsive
Clone the project
git clone https://github.com/Virkkunen/dice.gitGo to the project directory
cd diceInstall dependencies
npm installStart the server
npm startReact, React hooks, homebrewed CSS styles
- Use useMemo and useCallback for optimizations
- Show operator and modifier on rolls
- Animation while rolling the dice
- Multiple different dice rolling (2d20+2 + d3)
