diff options
Diffstat (limited to 'internal/game/casino_ux.go')
| -rw-r--r-- | internal/game/casino_ux.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/game/casino_ux.go b/internal/game/casino_ux.go index e44da54..bc1906f 100644 --- a/internal/game/casino_ux.go +++ b/internal/game/casino_ux.go @@ -66,6 +66,8 @@ func resolveCasinoChoice(choices []casinoChoice, input string) (casinoChoice, bo func casinoTableAliases(cfg casino.TableConfig) []string { names := []string{string(cfg.Game)} switch cfg.Game { + case casino.GameBigSix: + names = append(names, "big-six", "big_six", "big six", "big 6") case casino.GameBlackjack: names = append(names, "bj") case casino.GameBaccarat: @@ -235,6 +237,12 @@ func (g *Game) seesCasinoDetails(sess *net.Session, event casino.Event) bool { return true } } + case *casino.BigSixSnapshot: + for _, name := range s.Players { + if name == sess.Player.Name { + return true + } + } case *casino.RouletteSnapshot: for _, name := range s.Players { if name == sess.Player.Name { |
