Expand description
Roll execution, roll analysis, and tray operations. Stateful dice engine.
DiceEngine combines dice definitions and trays, then exposes the core
operations used by user interfaces: dice CRUD, tray CRUD, random rolls, and
deterministic roll analysis.
Structsยง
- Dice
Engine - In-memory dice and tray engine.
- DieRoll
- Result of rolling one die.
- Point
Range - Inclusive integer point range.
- Roll
Analysis - Deterministic analysis for a roll expression.
- Roll
Batch Result - Result of rolling multiple dice.
- Slot
Result - Snapshot result for one tray slot.
- Tray
Result - Snapshot result for a tray.