From c94728c929045f7c1bdf0166df152d944e5f99bc Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 15:47:17 -0400 Subject: feat: better casino game look output, more concise table instructions --- internal/game/casino.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'internal/game/casino.go') diff --git a/internal/game/casino.go b/internal/game/casino.go index e6c0f27..db5bfad 100644 --- a/internal/game/casino.go +++ b/internal/game/casino.go @@ -632,8 +632,8 @@ func (g *Game) casinoMenuParts(sess *net.Session, menu *casino.MenuView, message return balance, heading, commands } -// casinoBoardReminder splits roulette and craps menus so instructions can be -// printed under the betting board, which is the table the reminder refers to. +// casinoBoardReminder splits a persistent-board menu (craps, roulette, video +// poker, Pai Gow) so its instructions print under the board they describe. // Every other game, and compact displays, keep their menu in one block. func (g *Game) casinoBoardReminder(sess *net.Session, category string, menu *casino.MenuView, snapshot casino.Snapshot, message string) (header, reminder string, ok bool) { if category != "casino_menu" || menu == nil || sess.Player == nil { @@ -641,11 +641,12 @@ func (g *Game) casinoBoardReminder(sess *net.Session, category string, menu *cas } _, isCraps := snapshot.(*casino.CrapsSnapshot) _, isPoker := snapshot.(*casino.VideoPokerSnapshot) + _, isPaiGow := snapshot.(*casino.PaiGowSnapshot) s, isRoulette := snapshot.(*casino.RouletteSnapshot) - if !isPoker && !isCraps && (!isRoulette || s.Phase == "playing" || s.Phase == "result") { + if !isPoker && !isCraps && !isPaiGow && (!isRoulette || s.Phase == "playing" || s.Phase == "result") { return "", "", false } - if !isPoker && !isCraps && sess.Player.OptionString("casino_display") == "compact" && (menu.Repeat || !menu.ShowBalance) { + if !isPoker && !isCraps && !isPaiGow && sess.Player.OptionString("casino_display") == "compact" && (menu.Repeat || !menu.ShowBalance) { // The compact reminder is already a short block; leave it intact. return "", "", false } -- cgit v1.2.3