aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_roulette.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-01 14:38:08 -0400
committerhistoria <[not public]>2026-10-01 14:38:08 -0400
commit1082f3336085c15992ca83d5553c0ba52208d70a (patch)
tree4fcedaa90bc01c41456258a9d57f492f31754948 /internal/game/render_roulette.go
parentd4eae333a8d8a96452bbf3617aa85b50466c11a7 (diff)
downloadthehouseoficarus-1082f3336085c15992ca83d5553c0ba52208d70a.tar.gz
feat: pai gow poker added to the casino
Diffstat (limited to 'internal/game/render_roulette.go')
-rw-r--r--internal/game/render_roulette.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/render_roulette.go b/internal/game/render_roulette.go
index 0e4b1a3..9ffd355 100644
--- a/internal/game/render_roulette.go
+++ b/internal/game/render_roulette.go
@@ -601,6 +601,9 @@ func (g *Game) renderCasinoRules(sess *net.Session, cfg casino.TableConfig) stri
// The whole rule card is a rendered felt.
return g.renderCasinoSnapshot(sess, &casino.BlackjackRulesView{Config: cfg})
}
+ if cfg.Game == casino.GamePaiGow {
+ return cfg.RulesText() + "\n" + renderPaiGowFelt(cfg, g.colorMode(sess), sess.Player.OptionBool("unicode"))
+ }
if cfg.Game == casino.GameBaccarat {
return g.renderCasinoSnapshot(sess, &casino.BaccaratRulesView{Config: cfg})
}