From a4c09c2d38d1f3bc1d3ad4bdb0234bdea7c37e73 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 30 Sep 2026 16:16:17 -0400 Subject: feat: additional craps variants added, standardizard casino command hints --- internal/casino/table_ux.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'internal/casino/table_ux.go') 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" { -- cgit v1.2.3