diff options
Diffstat (limited to 'internal/game/cmd_registry.go')
| -rw-r--r-- | internal/game/cmd_registry.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/game/cmd_registry.go b/internal/game/cmd_registry.go index 5b60118..d8cc18f 100644 --- a/internal/game/cmd_registry.go +++ b/internal/game/cmd_registry.go @@ -38,6 +38,12 @@ var commandRegistry = map[string]commandDef{ } g.executeTableAction(s, "deal") }, ClassActive}, + "difficulty": {func(g *Game, s *net.Session, args []string, _ string) { + g.executeTableAction(s, "difficulty "+strings.Join(args, " ")) + }, ClassInstant}, + "balls": {func(g *Game, s *net.Session, args []string, _ string) { + g.executeTableAction(s, "balls "+strings.Join(args, " ")) + }, ClassInstant}, "paytable": {func(g *Game, s *net.Session, _ []string, _ string) { g.executeTableAction(s, "paytable") }, ClassInstant}, "denom": {func(g *Game, s *net.Session, args []string, _ string) { g.executeTableAction(s, "denom "+strings.Join(args, " ")) @@ -249,6 +255,7 @@ var casinoCommonVerbs = []string{"watch", "game", "table", "list", "stop", "rule // command: "sp" is split at a blackjack table, but spin at a Big 6 wheel, // because "split" is not a Big 6 verb and "spin" is not a blackjack verb. var casinoVerbsByGame = map[casino.GameName][]string{ + casino.GamePlinko: {"bet", "rebet", "difficulty", "balls", "paytable"}, casino.GameBlackjack: {"bet", "rebet", "unbet", "hit", "stand", "double", "split", "insurance", "surrender", "decline"}, casino.GameBaccarat: {"bet", "rebet", "unbet"}, casino.GameRoulette: {"bet", "rebet", "unbet"}, |
