aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_registry.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-02 02:16:44 -0400
committerhistoria <[not public]>2026-10-02 02:16:44 -0400
commit62017c86392b046d746fb4fafef6742840477c5f (patch)
treeeab569e29e858ff79b8ce06caa9bacb28bc9ee81 /internal/game/cmd_registry.go
parentd3a305d1d7962f82af2397760cf8008758bddd1d (diff)
downloadthehouseoficarus-62017c86392b046d746fb4fafef6742840477c5f.tar.gz
feat: polish 'list' output, drop sitout command
Diffstat (limited to 'internal/game/cmd_registry.go')
-rw-r--r--internal/game/cmd_registry.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_registry.go b/internal/game/cmd_registry.go
index 8aad30b..710dd92 100644
--- a/internal/game/cmd_registry.go
+++ b/internal/game/cmd_registry.go
@@ -64,7 +64,6 @@ var commandRegistry = map[string]commandDef{
"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},
"h": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "hit") }, ClassActive},
"st": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "stand") }, ClassActive},
@@ -248,7 +247,7 @@ func classifyCommand(cmd string) CommandClass {
var casinoShortVerbs = []string{
"bet", "deal", "draw", "hold", "paytable", "denom", "denomination",
"hands", "feature", "game", "roll", "autoroll", "unbet", "table",
- "status", "list", "watch", "sitout", "decline", "hit", "stand",
+ "status", "list", "watch", "decline", "hit", "stand",
"double", "split", "insurance", "surrender", "spin", "autobet",
"autospin", "rebet",
}