diff options
| author | historia <[not public]> | 2026-10-03 02:16:00 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-03 02:16:00 -0400 |
| commit | 6232d41e5639f9c38e47b2bb65266e343ca26e8f (patch) | |
| tree | ad0c1676838a6c7e162d3a5c055f914016dac803 /internal/casino/table.go | |
| parent | efccf58741ae43d9e891c6b743b146982b344ccf (diff) | |
| download | thehouseoficarus-6232d41e5639f9c38e47b2bb65266e343ca26e8f.tar.gz | |
feat: add casino_hints option and standardize casino command syntax
Diffstat (limited to 'internal/casino/table.go')
| -rw-r--r-- | internal/casino/table.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/casino/table.go b/internal/casino/table.go index d93d91e..d9d3525 100644 --- a/internal/casino/table.go +++ b/internal/casino/table.go @@ -127,8 +127,9 @@ func (t *Table) refundAll() []Event { return t.game.refundAll() } // idle on the Table wrapper delegates to the game. func (t *Table) idle() bool { return t.game.idle() } -// Status is a read-only view: it never restarts a deadline or changes a wager. -func (t *Table) Status(name string) []Event { return t.game.status(name) } +// Status is a read-only view: it never restarts a deadline or changes a +// wager. It is an explicit look/watch, so its menu always carries hints. +func (t *Table) Status(name string) []Event { return markHints(t.game.status(name)) } // Board returns the game's table-only board for the table command: the live // wheel, dice layout or paytable, with no balance, command menu, or state @@ -165,7 +166,7 @@ func (t *Table) RulesText() string { return rulesTextOnTable(t.Config) } func (t *Table) HelpTopic() string { return t.Config.HelpTopic() } // Wagers is the game's live list of bets the player could make right now. -// Empty when nothing is worth naming (a lone "bet <amount>" wager, a +// Empty when nothing is worth naming (a lone "bet N" wager, a // committed round) — the same signal that suppresses the "list" hint. func (t *Table) Wagers(name string) []WagerRow { return t.game.wagers(name) } |
