aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/craps_ux.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-30 20:50:45 -0400
committerhistoria <[not public]>2026-09-30 20:50:45 -0400
commite3ff06fc79682673194c8913f0feb9e90920e7d0 (patch)
tree86e25670b5bd02d9868130afcc7a69ec1b7b9ed1 /internal/casino/craps_ux.go
parenta5b9c1052c4640ba519e608e0c97e603ce6aa5ef (diff)
downloadthehouseoficarus-e3ff06fc79682673194c8913f0feb9e90920e7d0.tar.gz
feat: look, rules, and list commands updated for casino games
Diffstat (limited to 'internal/casino/craps_ux.go')
-rw-r--r--internal/casino/craps_ux.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/casino/craps_ux.go b/internal/casino/craps_ux.go
index 10f7fcb..b14354e 100644
--- a/internal/casino/craps_ux.go
+++ b/internal/casino/craps_ux.go
@@ -54,6 +54,10 @@ func (t *crapsTable) commands(name string) []MenuCommand {
stop = "Cancel autoroll; keep your bets"
}
commands = append(commands, MenuCommand{Command: "stop", Desc: stop})
+ // "rules" stays available to a seated player at every phase of every
+ // variant; "list" rides along whenever the wager table names more
+ // than one bet.
+ commands = withTableHints(commands, t.wagerRows(name))
}
return append(commands, MenuCommand{Command: "table", Desc: "View the felt"})
}