Repository navigation
v0.20.2
Fixed
- The big blind now moves one player per hand when chairs are empty
Full changelog
Fixed
- The big blind now moves one player per hand when chairs are empty.
Blinds are placed by position (TDA 2024 Rule 32, dead button), but the
button did not move by that rule.Table::button_upmoved it one chair,
so with players on seats 0, 1 and 5 of six chairs, seat 5 posted the big
blind four hands in a row; heads-up with empty chairs, one player posted
it five times in a row.Dealer::start_handmoved it to the next
occupied seat, so in the same three-handed game seat 0 never posted the
big blind.button_upnow moves the button until the big blind reaches
the next player after the last big blind posted. The button and small
blind can land on an empty chair; when the last big blind left, the small
blind is dead. Heads-up, the button stays on the small blind's chair
(Rule 34).Dealer::start_handandSimTableboth use it. With every
chair taken, nothing changes. See
DEFECT_044.
Coverage
| Lines | Functions | Regions |
|---|---|---|
| 92.53% | 90.48% | 92.29% |
Doc tests excluded — --doctests requires nightly, and this repo pins stable.