diff options
| author | historia <[not public]> | 2026-09-30 16:16:17 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-30 16:16:17 -0400 |
| commit | a4c09c2d38d1f3bc1d3ad4bdb0234bdea7c37e73 (patch) | |
| tree | 00c9567e620f331a59dd44f1f1fa779ecd94a845 /internal/casino/table_ux.go | |
| parent | 724079f8de1ae69965c6267dca3d7fc3cc86afa2 (diff) | |
| download | thehouseoficarus-a4c09c2d38d1f3bc1d3ad4bdb0234bdea7c37e73.tar.gz | |
feat: additional craps variants added, standardizard casino command hints
Diffstat (limited to 'internal/casino/table_ux.go')
| -rw-r--r-- | internal/casino/table_ux.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/casino/table_ux.go b/internal/casino/table_ux.go index 9590baf..f4255be 100644 --- a/internal/casino/table_ux.go +++ b/internal/casino/table_ux.go @@ -79,6 +79,18 @@ func (c *tableCore[P]) warning(name, text string) Event { return e } +// committedMenu never advertises another bet over an already committed wager. +func (c *tableCore[P]) committedMenu(name string) Event { + e := c.private(name, "Your wager is committed; waiting for the round.") + e.Color = "casino_menu" + e.Menu = &MenuView{Heading: e.Message, Commands: []MenuCommand{ + {Command: "table", Desc: "View the table"}, + {Command: "sitout", Desc: "Sit out after this round"}, + {Command: "stop", Desc: "Leave after this round"}, + }} + return e +} + // controlLocked queues departures without changing committed hands or stakes. func (c *tableCore[P]) controlLocked(name, action string) ([]Event, bool) { if action != "leave_after" && action != "sitout" { |
