From 4f40f116ba884111c9a66849e620ff9fbc67530a Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 2 Oct 2026 14:43:26 -0400 Subject: feat: compact craps layout, ux cleanup --- internal/game/casino_rules_list_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'internal/game/casino_rules_list_test.go') diff --git a/internal/game/casino_rules_list_test.go b/internal/game/casino_rules_list_test.go index e83c277..f0c72d2 100644 --- a/internal/game/casino_rules_list_test.go +++ b/internal/game/casino_rules_list_test.go @@ -129,13 +129,17 @@ func TestListFollowsGameState(t *testing.T) { } } - // Establish a point: place/odds appear, bonus bets close. + // Establish a point: place/odds appear, bonus bets close. The roll is + // deliberately delayed, so advance the shared clock until it resolves. g.Casino.Action(1, "bank", "alice", "roll") + for i := 0; i < 5; i++ { + g.Casino.Tick() + } conn.data = nil g.executeList(sess, nil, "list") text = stripANSI(string(conn.data)) targets = listTargets(text) - if !targets["place 6"] || !targets["odds pass"] { + if !targets["place 6/8"] || !targets["odds pass / come"] { t.Fatalf("point list missing place/odds: %q", text) } if targets["fire"] { -- cgit v1.2.3