Extension points
tilttek/dice-jailThe package is at 0.x: its extension points are stable only from its 1.0 release. Until then, a minor version may
change them, and its CHANGELOG says how.
| Point | What an application gives | Where |
|---|---|---|
Contract\JailStore | The storage of the history of each die, with its positions | The jail |
Contract\RollSource | The rolls of each die: the faces players wrote down, or the application's journal of rolls | The statistics |
Psr\Clock\ClockInterface | The time of each event and of the end of sentences | Installation |
Statistics\ExpectedFaces | The fair die the rolls are measured against | The statistics |
Every point is passed to a constructor; no service keeps state between two calls.