diff options
| author | historia <[not public]> | 2026-10-02 02:16:44 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-02 02:16:44 -0400 |
| commit | 62017c86392b046d746fb4fafef6742840477c5f (patch) | |
| tree | eab569e29e858ff79b8ce06caa9bacb28bc9ee81 /internal/casino/roulette.go | |
| parent | d3a305d1d7962f82af2397760cf8008758bddd1d (diff) | |
| download | thehouseoficarus-62017c86392b046d746fb4fafef6742840477c5f.tar.gz | |
feat: polish 'list' output, drop sitout command
Diffstat (limited to 'internal/casino/roulette.go')
| -rw-r--r-- | internal/casino/roulette.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/casino/roulette.go b/internal/casino/roulette.go index 8949ff8..de6536f 100644 --- a/internal/casino/roulette.go +++ b/internal/casino/roulette.go @@ -502,6 +502,13 @@ func (t *rouletteTable) view() *RouletteSnapshot { } return s } + +// board is the table-only view for the table command. +func (t *rouletteTable) board(_ string) Snapshot { + t.mu.Lock() + defer t.mu.Unlock() + return t.view() +} func (t *rouletteTable) menuEvent(name string) Event { commands := []MenuCommand{} p := t.players.get(name) @@ -512,7 +519,7 @@ func (t *rouletteTable) menuEvent(name string) Event { } } if p != nil { - commands = append(commands, MenuCommand{Command: "sitout / stop", Desc: "Sit out / leave when your wager settles"}) + commands = append(commands, MenuCommand{Command: "stop", Desc: "Leave when your wager settles"}) } commands = append(commands, MenuCommand{Command: "table", Desc: "View the layout"}) if p != nil { |
