From 82e571d227feeafd0af4011e701ce26b99c5e3d9 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 3 Oct 2026 00:51:41 -0400 Subject: fix: craps felt and wager description cleanup --- internal/casino/table.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'internal/casino/table.go') diff --git a/internal/casino/table.go b/internal/casino/table.go index 08c18bf..d93d91e 100644 --- a/internal/casino/table.go +++ b/internal/casino/table.go @@ -142,6 +142,16 @@ func (t *Table) Board(name string) Snapshot { } func (t *Table) Overview() string { return t.game.overview() } +// Busy reports whether a table action for the named player is still in +// flight (for craps, the dice are in the air). The command loop skips the +// prompt while busy so a pending result is not split by a stray prompt. +func (t *Table) Busy(name string) bool { + if b, ok := t.game.(interface{ busy(name string) bool }); ok { + return b.busy(name) + } + return false +} + // Seats lists the seated players in seat order for the look command. func (t *Table) Seats() []string { return t.game.seats() } -- cgit v1.2.3