aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_pai_gow.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-01 15:47:17 -0400
committerhistoria <[not public]>2026-10-01 15:47:17 -0400
commitc94728c929045f7c1bdf0166df152d944e5f99bc (patch)
tree3d677caf166da36cd12ae200cc4c5d7a789d5c8f /internal/game/render_pai_gow.go
parent1082f3336085c15992ca83d5553c0ba52208d70a (diff)
downloadthehouseoficarus-c94728c929045f7c1bdf0166df152d944e5f99bc.tar.gz
feat: better casino game look output, more concise table instructions
Diffstat (limited to 'internal/game/render_pai_gow.go')
-rw-r--r--internal/game/render_pai_gow.go21
1 files changed, 10 insertions, 11 deletions
diff --git a/internal/game/render_pai_gow.go b/internal/game/render_pai_gow.go
index 2005daf..239ddb4 100644
--- a/internal/game/render_pai_gow.go
+++ b/internal/game/render_pai_gow.go
@@ -12,23 +12,23 @@ func renderPaiGowFelt(cfg casino.TableConfig, mode string, unicode bool) string
c := newCrapsCanvas(25)
c.box(0, 0, 76, 24)
c.center(1, 75, 1, strings.ToUpper(cfg.PaiGow.Label()), crapsGold)
- c.center(1, 75, 2, "FIVE HIGH / TWO LOW | COPIES LOSE | LIMITS "+betLimitsText(cfg.MinBet, cfg.MaxBet), crapsInk)
- note := "MAIN WIN 0.95:1 | 5% COMMISSION"
+ c.center(1, 75, 2, "LIMITS "+betLimitsText(cfg.MinBet, cfg.MaxBet), crapsInk)
+ note := "5% COMMISSION"
switch cfg.PaiGow.Normalize().Variant {
case casino.PaiGowEZ:
- note = "MAIN WIN 1:1 | DEALER QUEEN-HIGH PUSHES"
+ note = "NO COMMISSION | DEALER QUEEN-HIGH PUSHES"
case casino.PaiGowNoPush:
- note = "MAIN WIN 1:1 | SPLIT RESULT: EXTRA CARD HIGH WINS, TIES LOSE"
+ note = "NO COMMISSION | SPLIT: HIGHER EXTRA CARD WINS, TIES LOSE"
case casino.PaiGowFaceUp:
- note = "DEALER FACE UP | ACE-HIGH PUSHES | PUSH ACE HIGH " + strings.ReplaceAll(cfg.PaiGow.PushAceHigh, "_", "/") + ":1"
+ note = "NO COMMISSION | DEALER FACE UP | PUSH ACE HIGH " + strings.ReplaceAll(cfg.PaiGow.PushAceHigh, "_", "/") + ":1"
}
c.center(1, 75, 3, note, crapsInk)
c.box(0, 4, 76, 19)
c.text(3, 5, "FORTUNE - BEST OF ALL SEVEN CARDS", crapsGold)
- c.text(48, 5, "PROFIT ODDS", crapsGold)
+ c.text(50, 5, "ODDS", crapsGold)
envy := "ENVY OFF"
if cfg.PaiGow.Envy {
- envy = "ENVY (FIXED)"
+ envy = "ENVY"
}
c.text(62, 5, envy, crapsGold)
for i, row := range casino.FortunePayTable(cfg.PaiGow.Envy) {
@@ -41,12 +41,11 @@ func renderPaiGowFelt(cfg casino.TableConfig, mode string, unicode bool) string
c.center(1, 75, 18, "Highest prize only. Winning Fortune wagers also return their stake.", crapsMuted)
note = "Envy disabled: quads improved from 25:1 to 30:1."
if cfg.PaiGow.Envy {
- note = "Fortune 5+ earns Envy on other players, not yourself or dealer."
+ note = "Envy pays when other players hit quads or better."
}
c.center(1, 75, 20, note, crapsInk)
- c.center(1, 75, 21, "24 sets cards 2/4 LOW; 13456 sets five HIGH; house sets house way.", crapsInk)
- c.center(1, 75, 22, "High must outrank low. Joker: ace or completes straight/flush.", crapsMuted)
- c.center(1, 75, 23, "Bet main, optional bet <amount> fortune, then deal.", crapsMuted)
+ c.center(1, 75, 21, "High must outrank low. Copies lose.", crapsMuted)
+ c.center(1, 75, 22, "Joker: ace or completes straight/flush.", crapsMuted)
return c.render(mode, unicode)
}
func renderPaiGow(s *casino.PaiGowSnapshot, mode string, unicode bool, size int, style string, store *cardart.Store) string {