diff options
| author | historia <[not public]> | 2026-09-30 20:50:45 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-30 20:50:45 -0400 |
| commit | e3ff06fc79682673194c8913f0feb9e90920e7d0 (patch) | |
| tree | 86e25670b5bd02d9868130afcc7a69ec1b7b9ed1 /internal/casino/roulette.go | |
| parent | a5b9c1052c4640ba519e608e0c97e603ce6aa5ef (diff) | |
| download | thehouseoficarus-e3ff06fc79682673194c8913f0feb9e90920e7d0.tar.gz | |
feat: look, rules, and list commands updated for casino games
Diffstat (limited to 'internal/casino/roulette.go')
| -rw-r--r-- | internal/casino/roulette.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/casino/roulette.go b/internal/casino/roulette.go index 2453fed..1a9f936 100644 --- a/internal/casino/roulette.go +++ b/internal/casino/roulette.go @@ -493,7 +493,7 @@ func (t *rouletteTable) menuEvent(name string) Event { commands := []MenuCommand{} p := t.players.get(name) if t.phase != phasePlaying && p != nil && !p.HasBet { - commands = append(commands, MenuCommand{Command: "bet <amount> on <target>", Desc: "Place one wager; targets: help roulette"}) + commands = append(commands, MenuCommand{Command: "bet <amount> on <target>", Desc: "Place one wager; targets: list"}) if p.lastBet > 0 { commands = append(commands, MenuCommand{Command: "bet / rebet", Desc: "Repeat your previous wager"}) } @@ -502,6 +502,9 @@ func (t *rouletteTable) menuEvent(name string) Event { commands = append(commands, MenuCommand{Command: "sitout / stop", Desc: "Sit out / leave when your wager settles"}) } commands = append(commands, MenuCommand{Command: "table", Desc: "View the layout"}) + if p != nil { + commands = withTableHints(commands, t.wagerRows()) + } e := t.betMenuEvent(name, commands) e.Snapshot = t.view() return e |
