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.git
Go to the project directory
cd dice
Install dependencies
npm install
Start the server
npm start
React, 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)