Give a Come bet a point of its own #35
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rosa/casino#35
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 Come or Don't Come position gets a point of its own.
Today the engine reads such a position against the same totals as the line on
every roll it stands for, and takes whatever is still standing when the round
ends. At a table the position's first roll is its own come-out — 7 or 11 pays
Come, 2 or 3 pays Don't Come, the 12 is barred — and any other total becomes
that position's point, which it then rides until the point or a 7 arrives.
Four things follow from the gap:
come-out. A table pays it.
nothing, and neither does the repeat that should pay it — while a second 11
pays it again, which a position sitting on a point cannot do.
only its come-out, because the engine cannot tell which roll is its first.
to put the number. The point belongs on the position, not on the round.
One thing here is a decision rather than a defect. At a table a Come position
still standing when the point is hit stays up for the next come-out. This
engine's round has no next, so somebody has to say what becomes of it —
returned, or carried into a round the engine does not yet have.
Acceptance criteria
come-out settles the line: 7 or 11 pays Come, 2 or 3 pays Don't Come, and
the 12 pushes Don't Come
until its point or a 7 arrives
position and pays Don't Come
takes one already riding a point
decided, and the decision has a test
Notes
The Come bets the table takes today were written against the line's rules
because the line is what the engine models. Nothing about the current behaviour
is arbitrary — it is the line's rules applied to a bet that does not follow
them.
Duplicate of #28, which specifies the same change and carries the agent brief.
#27 names #28 as where this simplification is tracked, and #28's brief covers
every criterion here: the bet's own come-out, the come point it travels to, the
independence of several positions, the bar on the 12 applying to a Don't Come
come-out alone, and a 7 that arrives on a position's own come-out paying it
rather than taking it.
The one decision this issue left open — what becomes of a Come position still
standing when the round ends — is answered there by removing the situation. The
round no longer ends on a point hit, so a travelled position is never orphaned:
it stays up through the new come-out. A seven-out is the only ending left, and a
7 settles every bet the table takes.
The two criteria #28 was missing — the rules comment describing travel rather
than the line, and a clean run of
mise run ci— have been added to it.Closing here; the work continues on #28.