Basic roll
2d20 + 5 Roll two d20s and add a fixed modifier.
APP_VERSION :: v0.2.5
The professional dice engine for tabletop RPG players and game masters. Built with cryptographic randomness, encrypted local storage, advanced notation, roll statistics, and a zero-account free-to-play premium loop.
CSPRNG fairness // AES-256-GCM local data // EN · ES · FR · IT · PT // Web · Android · iOS-ready
CORE_CAPABILITIES
Supports advanced formulas like 2d20h1 + 1d6! + 5. Exploding dice, success pools,
keep/drop mechanics, and Fate/Fudge dice are native to the engine.
No accounts. No tracking. Favorites, history, settings, and cumulative statistics are encrypted with AES-256-GCM and stored on the local device through IndexedDB.
A custom input flow, saved favorites, persistent history, and multilingual UI reduce friction when the table needs the result now, not after a rules interruption.
SUPPORTED_NOTATION
2d20 + 5 Roll two d20s and add a fixed modifier.
4d6kh3 Roll four d6s and keep the three highest.
10d6! Maximum values trigger additional rolls.
5d10>7 Count dice that beat a target threshold.
4df Roll Fate dice with -1, 0, and +1 semantics.
2d20!! Exploding dice compound into one die result.
TECHNICAL_SPECIFICATION
Most dice apps rely on ordinary pseudorandom number generators. Math Rocks Dice uses a
Cryptographically Secure Pseudorandom Number Generator based on window.crypto.getRandomValues().
The engine applies rejection sampling to eliminate modulo bias, so every face of every die has the same mathematical probability. No hidden weighting. No weak randomness shortcut. Just transparent probability.
[SOURCE] :: WEB_CRYPTO
[BIAS] :: REJECTION_SAMPLING
[PRNG] :: CSPRNG
[PROTOCOL] :: AES-256-GCM
[ENGINE] :: INDEXEDDB
[MODE] :: LOCAL_ONLY
[ACCOUNTS] :: NONE
[TELEMETRY] :: DISABLED
[HISTORY] :: ENCRYPTED
ROLL_TELEMETRY
Version 0.2.5 replaces purchase-first Premium with a play-to-unlock pass system: earn XP through active rolling, claim optional rewarded ads, and keep the dice engine unlimited.
Free-to-play Premium Pass, rewarded XP ads, premium-expired recovery modal, phone-only orientation lock, and guarded interstitial cadence.
HUD_INTERFACE_SHOWCASE
Exploration of the user interface across portrait and landscape screens. Native layouts incorporate precise top clearances for notifications and dynamic clearance for bottom-anchored advertisements.
Dual-pane formula building and dice-notation help layout.
CLT (Central Limit Theorem) dispersion statistics histogram view.
Theme portal and Premium Pass status screen.