@erpg/dicecore
Dice Core
The notation and rolling engine. Use it in a browser or server to validate expressions, apply rules, and get UI-ready data.
Start and reference
Set up the library and learn the grammar.
Every roll type
One detailed page per rule, each with clickable examples.
Standard, percentile and Fudge dice
Dice counts, sides, special values, and shorthand notation.
ReferenceArithmetic and functions
Operators, precedence, decimals, and every supported math function.
ReferenceRoll groups
Keep, drop, and sort whole expressions in braces.
ReferenceKeep and drop
Keep or discard the highest or lowest dice in a pool.
ReferenceRerolls and unique values
Repeat faces by condition or remove duplicates in a dice pool.
ReferenceExploding dice
Regular, compound, and penetrating explosions with triggers and caps.
ReferenceSuccesses, failures, and criticals
Count matches and highlight critical faces.
ReferenceMinimum, maximum, and sorting
Transform face bounds and arrange pool display.
ReferencePool adjustments, advantage, and disadvantage
Change the physical dice count and select highest or lowest before rolling.
ReferenceDice steps
Promote or downgrade a numeric die before rolling.
ReferenceMultiple rolls and comments
Repeat one formula independently and label the result.
ReferenceMixed roll batches
Combine generic formulas and system rolls in one batch.
RPG systems
Dedicated notation and examples for each system.
Fate and Fudge dice
Symbolic faces, Fate values, and system notation.
ReferenceVampire V5
Normal and Hunger dice pools, successes, and outcomes.
ReferenceAssimilation
d6/d10/d12 pools, symbols, and manual result selection.
ReferenceDaggerheart dice rolls
Hope and Fear Duality Dice, criticals, and difficulty.
ReferenceDice Core API
Entrypoints, functions, results, replay, limits, and errors.
GuideHow we benchmark Dice Core
Scenarios, method, results and limitations of a reproducible comparison with other RPG dice libraries.
GuidePerformance in an RPG application
Interpret benchmarks, reuse plans, choose result projections and measure your game's full path.