Record craps in the player's statistics #32
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rosa/casino#32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#27
What to build
A player's craps wins, losses and action appear in their record, and a craps
table appears in the report alongside the other five games. Craps is currently
the only game whose money never reaches a player's statistics at all.
Recording works off the payout alone, mirroring the shape roulette's statistics
use. No per-bet breakdown: that would mean the statistics module importing craps'
bet type, deepening the cycle a later refactor exists to break.
This adds a craps field to the statistics record and a sixth hand-written table
to the report — the known "adding a game means editing three files" leakage.
Accepted deliberately, so that the eventual fix faces six symmetric cases rather
than five and a hole.
Acceptance criteria
from craps
Blocked by