You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added AddDiceNotation() service-collection extensions to register IDice, configuration, die roller, and optional roll tracker cleanly through dependency injection.
Added the DiceNotationOptionsBuilder fluent API for configuring die sides, bounded results, the die roller, and roll tracking.
Added a verbose/structured breakdown to dice results: each rolled die now records its role (kept, dropped, exploded, or rerolled) through the new DieRollRole flags enum and the TermResult.Roles property.
Added DiceResult breakdown helpers (KeptResults, DroppedResults, ExplodedResults, RerolledResults) and a VerboseDisplayText property that annotates each die roll with its role.
Added seeded/replayable rolling: RandomDieRoller and MathNetDieRoller now accept a seed, implement the new IReplayableDieRoller interface, and expose a ReplayToken that captures the algorithm and seed for reproducing a roll sequence.
Added the DieRollerFactory with CreateSeeded and CreateFromReplayToken methods, plus UseSeededDieRoller, UseSeededMathNetDieRoller, and UseReplayDieRoller options on DiceNotationOptionsBuilder. Cryptographic rollers are intentionally excluded because their generators are not seedable.
Added xml documentation to the public API for the DiceNotation library.
Added full documentation set for the DiceNotation library.
Migrated the solution to use central package and central build management.