Prefactor: move craps into a game module and a UI module #29
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rosa/casino#29
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
Craps plays exactly as it does today, with nothing a player could notice, but
the module is laid out the way roulette is: a game half holding the bets, the
positions and the dice, a UI half holding the prompts and the animation, and the
module's own file declaring the two and re-exporting what the rest of the casino
needs.
Purely mechanical. No rules change, no interface change, no new tests. This
exists so that the round engine that follows arrives as a diff about how craps
settles rather than a diff about which file things live in.
Acceptance criteria
is laid out
the casino uses, matching roulette's file line for line in shape
parent spec describes
Blocked by
None — can start immediately.