aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_registry.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/game/cmd_registry.go
parenta5b9c1052c4640ba519e608e0c97e603ce6aa5ef (diff)
downloadthehouseoficarus-e3ff06fc79682673194c8913f0feb9e90920e7d0.tar.gz
feat: look, rules, and list commands updated for casino games
Diffstat (limited to 'internal/game/cmd_registry.go')
-rw-r--r--internal/game/cmd_registry.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/game/cmd_registry.go b/internal/game/cmd_registry.go
index 853fb6a..fa3518a 100644
--- a/internal/game/cmd_registry.go
+++ b/internal/game/cmd_registry.go
@@ -33,6 +33,8 @@ var commandRegistry = map[string]commandDef{
}, ClassActive},
"table": {(*Game).executeTableStatus, ClassInstant},
"status": {(*Game).executeTableStatus, ClassInstant},
+ "rules": {(*Game).executeRules, ClassInstant},
+ "list": {(*Game).executeList, ClassInstant},
"watch": {(*Game).executeWatch, ClassInstant},
"sitout": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "sitout") }, ClassInstant},
"decline": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "decline") }, ClassActive},
@@ -148,7 +150,6 @@ var commandRegistry = map[string]commandDef{
"inspect": {(*Game).executeInspect, ClassInstant},
"walk": {(*Game).executeWalk, ClassActive},
"bank": {(*Game).executeBank, ClassActive},
- "list": {(*Game).executeShopList, ClassInstant},
"browse": {(*Game).executeShopList, ClassInstant},
"buy": {(*Game).executeShopBuy, ClassInstant},
"sell": {(*Game).executeShopSell, ClassInstant},