aboutsummaryrefslogtreecommitdiff
path: root/internal/game/casino_ux.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-03 02:16:00 -0400
committerhistoria <[not public]>2026-10-03 02:16:00 -0400
commit6232d41e5639f9c38e47b2bb65266e343ca26e8f (patch)
treead0c1676838a6c7e162d3a5c055f914016dac803 /internal/game/casino_ux.go
parentefccf58741ae43d9e891c6b743b146982b344ccf (diff)
downloadthehouseoficarus-6232d41e5639f9c38e47b2bb65266e343ca26e8f.tar.gz
feat: add casino_hints option and standardize casino command syntax
Diffstat (limited to 'internal/game/casino_ux.go')
-rw-r--r--internal/game/casino_ux.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/game/casino_ux.go b/internal/game/casino_ux.go
index 4c9accb..e44da54 100644
--- a/internal/game/casino_ux.go
+++ b/internal/game/casino_ux.go
@@ -355,7 +355,7 @@ func (g *Game) executeList(sess *net.Session, args []string, rawInput string) {
return
}
if machine, ok := g.Casino.MachineFor(p.Name); ok {
- row := casinoListRow{bet: "bet <amount> / max", odds: "paytable", win: "spin / autospin"}
+ row := casinoListRow{bet: "bet N / MAX", odds: "paytable", win: "spin / autospin"}
if _, enabled := g.casinoEdgePrecision(sess); enabled {
row.edge = machine.Config.HouseEdge()
}
@@ -380,7 +380,7 @@ func (g *Game) showCasinoWagerList(sess *net.Session, t *casino.Table) {
}
}
rows := g.casinoListRows(sess, t, []casino.WagerRow{{Bet: "main", Payout: "paytable", Win: "deal"}})
- rows[0].bet = "bet [1-4|max]"
+ rows[0].bet = "bet [1-4|MAX]"
g.showCasinoListTable(sess, "Bet", rows)
return
}
@@ -406,11 +406,11 @@ func (g *Game) showCasinoWagerList(sess *net.Session, t *casino.Table) {
wager.Payout = fmt.Sprintf("1:1; BJ %g:1", t.Config.Blackjack.Normalize().BlackjackPayout)
}
list := g.casinoListRows(sess, t, []casino.WagerRow{wager})
- list[0].bet = "bet <amount>"
+ list[0].bet = "bet N"
g.showCasinoListTable(sess, "Bet", list)
return
}
- g.showCasinoListTable(sess, "bet <n> on", g.casinoListRows(sess, t, rows))
+ g.showCasinoListTable(sess, "bet N on", g.casinoListRows(sess, t, rows))
}
// showCasinoGameLook appends the live game state and hint menu for the