APP_VERSION :: v0.2.5

Math Rocks Dice

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

Built for precision at the table

Complex Notation

Supports advanced formulas like 2d20h1 + 1d6! + 5. Exploding dice, success pools, keep/drop mechanics, and Fate/Fudge dice are native to the engine.

Local Privacy

No accounts. No tracking. Favorites, history, settings, and cumulative statistics are encrypted with AES-256-GCM and stored on the local device through IndexedDB.

Live-Session Speed

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

RPG formulas without hand-waving

Basic roll

2d20 + 5

Roll two d20s and add a fixed modifier.

Keep highest

4d6kh3

Roll four d6s and keep the three highest.

Exploding dice

10d6!

Maximum values trigger additional rolls.

Success pools

5d10>7

Count dice that beat a target threshold.

Fate / Fudge

4df

Roll Fate dice with -1, 0, and +1 semantics.

Compounding

2d20!!

Exploding dice compound into one die result.

TECHNICAL_SPECIFICATION

The Randomness Engine

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.

Randomness

[SOURCE] :: WEB_CRYPTO
[BIAS] :: REJECTION_SAMPLING
[PRNG] :: CSPRNG

Storage

[PROTOCOL] :: AES-256-GCM
[ENGINE] :: INDEXEDDB
[MODE] :: LOCAL_ONLY

Data

[ACCOUNTS] :: NONE
[TELEMETRY] :: DISABLED
[HISTORY] :: ENCRYPTED

ROLL_TELEMETRY

Roll Dispersion Statistics

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.

New in 0.2.5

Free-to-play Premium Pass, rewarded XP ads, premium-expired recovery modal, phone-only orientation lock, and guarded interstitial cadence.

  • Individual Dice mode: per-die percentile distribution. A fair CSPRNG should read flat and uniform.
  • Roll Average (CLT) mode: per-formula average percentile. Multi-die rolls naturally form a bell curve.
  • Uniform and CLT benchmark modes for visually checking both statistical behaviors.
  • 50-bucket roll dispersion histogram across all, d4, d6, d8, d10, d12, d20, dF, and custom dX categories.

HUD_INTERFACE_SHOWCASE

Visual Systems & Layout Clearance

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.

[ SYSTEM_VIEW :: PORTRAIT_HUD ] 5 SCREENS LOADED // SWIPE_TO_NAVIGATE
00_LAUNCH CSPRNG_LOADED
Math Rocks Dice Phone Screen 00_LAUNCH
01_DICE_HUD FORMULA_INPUT
Math Rocks Dice Phone Screen 01_DICE_HUD
02_STATS_DISPERSION UNIFORM_DIST
Math Rocks Dice Phone Screen 02_STATS_DISPERSION
03_FORMULA_HELP DICE_NOTATION
Math Rocks Dice Phone Screen 03_FORMULA_HELP
04_PREMIUM_PORTAL F2P_PASS
Math Rocks Dice Phone Screen 04_PREMIUM_PORTAL
[ SYSTEM_VIEW :: LANDSCAPE_TABLET ] 3 CORES DETECTED // HIGH_DENSITY
TABLET_01_NOTATION WIDESCREEN
Math Rocks Dice Tablet Screen TABLET_01_NOTATION

Dual-pane formula building and dice-notation help layout.

TABLET_02_STATS WIDESCREEN
Math Rocks Dice Tablet Screen TABLET_02_STATS

CLT (Central Limit Theorem) dispersion statistics histogram view.

TABLET_03_PREMIUM WIDESCREEN
Math Rocks Dice Tablet Screen TABLET_03_PREMIUM

Theme portal and Premium Pass status screen.

PREMIUM_LAYER

Earn Premium

The core dice engine stays unlimited. Premium is now earned through play: build XP through regular rolling or use optional rewarded ads to accelerate the next 30-day pass.

Earn a 30-day Premium Pass through active play: 4 XP unlocks the pass with no purchase required.
Daily qualified play grants XP after 5 minutes of rolling and 5 qualified rolls.
Optional rewarded ads grant +1 XP instantly, capped at 2 rewarded ads per day across all paths.
Itch.io builds ship with Premium unlocked and ads disabled for a clean web distribution path.