Get to the right ruling in one tap, and cover the string bet #74

Closed
jheaps wants to merge 1 commits from fix/casino-holdem-rulings-index into fix/casino-holdem-payout-in-chips
Owner

The rulings sheet is opened mid-argument, with players waiting. It was eight rulings of prose in a row with no way in. Reaching the last one meant scrolling: Stacked on #73.

1.6 screens on a desktop
2.1 on a phone
3.5 on a phone held sideways

A dealer looking for the odd-chip rule had to read past seven others to find it.

There's an index across the top now, one chip per ruling; tapping one scrolls its section into view and puts the keyboard and a screen reader on its heading. Built from the sections rather than written out beside them, so a ruling added later turns up in the index without anyone having to remember to add it twice.

And the missing ruling

I went looking for what home games actually argue about rather than guessing, and the answer that kept coming back alongside misdeals — already covered — was the string bet. It was the one common dispute the sheet had nothing to say about.

Betting in one motion — the string bet

A bet is whatever goes in on the first trip to the stack, unless the amount was said out loud first. Reaching back for more chips without having said "raise" is a string bet, and only the first motion stands. Saying the number is always enough on its own: "raise to sixty" binds whatever order the chips arrive in.

It's the rule home games invoke most and enforce least, and both are fine — the point is that a player can't watch the table react and then decide how much to bet. Say it, or push it all at once.

That second paragraph is deliberate. The sheet's whole stance is that house rules win, so a ruling that tells a home game it must enforce something would be the wrong voice.

What it costs

The index is 342px at the top of a 390px-wide sheet, so a dealer who wants to read straight through now scrolls past it first. That's the trade — it's a jump table you use once and then read, and the alternative was scrolling blind.

Validation

Driven through at four sizes across touch and pointer contexts: nine rulings, nine index entries, every one 44px on touch, tapping the last one lands it on screen and focused. Focus stays inside the sheet across fourteen tabs, Enter on a chip jumps, Escape closes, and opening it three times still builds nine entries rather than twenty-seven. Contrast clean, no console errors, 244 tests still passing.

Sources: Cardplayer Lifestyle on string betting, PokerNews string bet definition. The sheet still follows the TDA rules it cites.

The rulings sheet is opened **mid-argument, with players waiting**. It was eight rulings of prose in a row with no way in. Reaching the last one meant scrolling: Stacked on #73. ``` 1.6 screens on a desktop 2.1 on a phone 3.5 on a phone held sideways ``` A dealer looking for the odd-chip rule had to read past seven others to find it. There's an index across the top now, one chip per ruling; tapping one scrolls its section into view and puts the keyboard and a screen reader on its heading. **Built from the sections** rather than written out beside them, so a ruling added later turns up in the index without anyone having to remember to add it twice. ## And the missing ruling I went looking for what home games actually argue about rather than guessing, and the answer that kept coming back alongside misdeals — already covered — was the **string bet**. It was the one common dispute the sheet had nothing to say about. > **Betting in one motion — the string bet** > > A bet is whatever goes in on the first trip to the stack, unless the amount was said out loud first. Reaching back for more chips without having said "raise" is a string bet, and only the first motion stands. Saying the number is always enough on its own: "raise to sixty" binds whatever order the chips arrive in. > > It's the rule home games invoke most and enforce least, and both are fine — the point is that a player can't watch the table react and then decide how much to bet. Say it, or push it all at once. That second paragraph is deliberate. The sheet's whole stance is that house rules win, so a ruling that tells a home game it *must* enforce something would be the wrong voice. ## What it costs The index is 342px at the top of a 390px-wide sheet, so a dealer who wants to read straight through now scrolls past it first. That's the trade — it's a jump table you use once and then read, and the alternative was scrolling blind. ## Validation Driven through at four sizes across touch and pointer contexts: nine rulings, nine index entries, **every one 44px on touch**, tapping the last one lands it on screen and focused. Focus stays inside the sheet across fourteen tabs, Enter on a chip jumps, Escape closes, and opening it three times still builds nine entries rather than twenty-seven. Contrast clean, no console errors, 244 tests still passing. Sources: [Cardplayer Lifestyle on string betting](https://cardplayerlifestyle.com/poker-tips-strategy/3-reasons-why-string-betting-is-not-allowed-in-poker/), [PokerNews string bet definition](https://www.pokernews.com/pokerterms/string-bet.htm). The sheet still follows the TDA rules it cites.
jheaps added 1 commit 2026-09-01 17:22:06 -06:00
The rulings sheet is opened mid-argument, with players waiting. It was eight rulings
of prose in a row with no way in. Reaching the last one meant scrolling:

  1.6 screens on a desktop
  2.1 on a phone
  3.5 on a phone held sideways

A dealer looking for the odd-chip rule had to read past seven others to find it.

There is an index across the top now, one chip per ruling, and tapping one scrolls its
section into view and puts the keyboard and a screen reader on its heading. Built from
the sections rather than written out beside them, so a ruling added later turns up in
the index without anyone having to remember to add it twice.

And the missing ruling

I went looking for what home games actually argue about rather than guessing, and the
answer that kept coming back alongside misdeals -- which were already here -- was the
string bet. It was the one common dispute the sheet had nothing to say about.

  Betting in one motion - the string bet

  A bet is whatever goes in on the first trip to the stack, unless the amount was
  said out loud first. Reaching back for more chips without having said "raise" is a
  string bet, and only the first motion stands. Saying the number is always enough on
  its own: "raise to sixty" binds whatever order the chips arrive in.

  It's the rule home games invoke most and enforce least, and both are fine -- the
  point is that a player can't watch the table react and then decide how much to bet.
  Say it, or push it all at once.

That second paragraph is deliberate. The sheet's whole stance is that house rules win,
so a ruling that tells a home game it must enforce something would be the wrong voice.

What it costs: the index is 342px at the top of a 390px-wide sheet, so a dealer who
wants to read straight through now scrolls past it first. That is the trade -- it is a
jump table you use once and then read, and the alternative was scrolling blind.

Driven through at four sizes across touch and pointer contexts: nine rulings, nine
index entries, every one of them 44px on touch, tapping the last one lands it on screen
and focused. Focus stays inside the sheet across fourteen tabs, Enter on a chip jumps,
Escape closes, and opening it three times still builds nine entries rather than
twenty-seven. Contrast clean, no console errors, 244 tests still passing.

Sources: cardplayerlifestyle.com and pokernews on string bets; the sheet still follows
the TDA rules it cites.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015bnp7xKUPFFSpwkYNFaPgb
jheaps closed this pull request 2026-09-02 09:57:53 -06:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jheaps/JoshHeaps.Net#74