Skip to content

v0.20.2

Choose a tag to compare

@github-actions github-actions released this 27 Oct 00:04
· 5 commits to main since this release
44b484e

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_up moved 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_hand moved it to the next
    occupied seat, so in the same three-handed game seat 0 never posted the
    big blind. button_up now 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_hand and SimTable both 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.

All commits since v0.20.1 (2)
  • 44b484e Fix DEFECT_044: big blind moves one player past empty chairs (0.20.2) (#155)
  • 050cabf Refresh backlog and tech debt for 0.20.1