Date Add / Subtract Calculator
About Random Dice Roller
The 3D Animated Tabletop RPG & D&D Dice Roller simulates polyhedral dice rolls ($d4, d6, d8, d10, d12, d20, d100$) with modifier math, advantage/disadvantage mechanics, critical hit detection, roll history logs, and cryptographic physics simulation.
How to Use Random Dice Roller
Step 1
Click dice icons to build your dice pool (e.g. $2\times d20 + 1\times d6$).
Step 2
Add optional numeric modifiers (e.g. $+5$ proficiency bonus).
Step 3
Click "Roll Dice" or press `Space`.
Step 4
Review total score, individual die breakdowns, and critical hits.
Practical Use Cases for Random Dice Roller
Tabletop RPG & Dungeons & Dragons (D&D 5e) Gameplay
Roll complex polyhedral dice formulas (e.g. `2d20kh1 + 5` for Advantage or `4d6 drop lowest`) with instant damage calculations.
Board Game Dice Replacement & Provably Fair Rolls
Replace lost physical game dice with cryptographically fair virtual dice rolling powered by browser WebCrypto hardware entropy.
Input & Output Examples
Rolling 2d6 + 3 for Weapon Damage
Dice Formula: `2d6 + 3`
Rolls: `[4, 6] + 3` | Total: `13` | Breakdown: `Nat 6 on die #2`
Key Features & Performance
- ✓Polyhedral Dice Catalog: $d4, d6, d8, d10, d12, d20, d100$, and custom $dN$ dice.
- ✓D&D Mechanics: Advantage (`2d20kh1`), Disadvantage (`2d20kl1`), Keep Highest/Lowest, and Drop Lowest.
- ✓Cryptographically Secure RNG: eliminates physical weighting bias using `crypto.getRandomValues()`.
- ✓Roll History & Statistics: records previous 50 rolls with running average and critical 20/1 highlighting.
- ✓100% Client-Side memory execution.
Key Terminology & Definitions
Natural 20 (Critical Success)
In D&D 5e, rolling a maximum value of 20 on a 20-sided die ($d20$), resulting in an automatic hit and double damage dice.
Advantage / Disadvantage
A game mechanic where two $d20$s are rolled simultaneously, keeping either the higher result (Advantage) or lower result (Disadvantage).
