Skip to content

blackjack: label the P touch chip for its betting (pairs) use#82

Merged
BCook98 merged 1 commit into
mainfrom
blackjack-touch-labels
Jun 30, 2026
Merged

blackjack: label the P touch chip for its betting (pairs) use#82
BCook98 merged 1 commit into
mainfrom
blackjack-touch-labels

Conversation

@BCook98

@BCook98 BCook98 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What

Confirms the blackjack game has complete web/touch button defs, and fixes one labeling gap.

The touch deck always provides the canonical vocabulary (arrows + Confirm), which drives all of betting — Up/Down stake, Left/Right backed seat, Confirm place — plus results ready-up. Every extra rune the game handles is declared in GameMeta.Controls so it surfaces as a tappable chip: turns (h/s/d/p/r), insurance (y/n), and the betting side bets (p pairs, b behind). kit meta emits all 8 and kit check passes, so the game is fully playable on touch.

Fix

The p chip read just "SPLIT" (its turn meaning), but p also loops the Perfect Pairs side bet during betting — so a touch player had no clearly-labeled pairs control. A rune carries one static label, so the shared chip now reads "SPLIT/PAIRS"; b stays "BEHIND". Comments updated to document which inputs are canonical vs declared.

No behavioral change — labels are presentation metadata only. go test ./... green, kit check passes.

🤖 Generated with Claude Code

Every game input already has a touch button: canonical arrows/Confirm
drive betting (stake, backed seat, place) and the eight declared rune
chips cover the turn actions, insurance, and the P/B side-bet keys — so
the game is fully playable on the touch deck (kit check passes).

The one gap was presentation: the P chip read "SPLIT" (its turn meaning)
even though P also loops the Perfect Pairs side bet during betting, so a
touch player had no clearly labelled pairs button. A rune carries one
static label, so the shared chip now reads "SPLIT/PAIRS". Comments
updated to document which inputs are canonical vs declared.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@BCook98 BCook98 merged commit b19f2dd into main Jun 30, 2026
3 checks passed
@BCook98 BCook98 deleted the blackjack-touch-labels branch June 30, 2026 07:57
@github-actions

Copy link
Copy Markdown

Smoke screens

Deterministic scripted screens for 4bbff323c4aa6e89915c2a14275383728663914b (what is this?)

games/bcook/blackjack — 16 screens

01-bet.seat0
01-bet.seat0

01-bet.seat1
01-bet.seat1

02-backing.seat0
02-backing.seat0

02-backing.seat1
02-backing.seat1

03-sidebet.seat0
03-sidebet.seat0

03-sidebet.seat1
03-sidebet.seat1

04-dealt.seat0
04-dealt.seat0

04-dealt.seat1
04-dealt.seat1

05-split.seat0
05-split.seat0

05-split.seat1
05-split.seat1

06-payout.seat0
06-payout.seat0

06-payout.seat1
06-payout.seat1

07-ready.seat0
07-ready.seat0

07-ready.seat1
07-ready.seat1

08-next.seat0
08-next.seat0

08-next.seat1
08-next.seat1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant