aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/blackjack_rules.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-06 12:57:23 -0400
committerhistoria <[not public]>2026-10-06 12:57:23 -0400
commit9666676766bf21364f4fc4d0d1d336e72f2a91b4 (patch)
tree0cade34091d7602790dc38cd44053f0b74bbadf2 /internal/casino/blackjack_rules.go
parent4bc1daaf259e0c19c5fe4a12ec8bc7f6e5a735c1 (diff)
downloadthehouseoficarus-9666676766bf21364f4fc4d0d1d336e72f2a91b4.tar.gz
refactor: split casino.go, dedup helpers, remove audit docs
Diffstat (limited to 'internal/casino/blackjack_rules.go')
-rw-r--r--internal/casino/blackjack_rules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/casino/blackjack_rules.go b/internal/casino/blackjack_rules.go
index 8bf63a8..50a5786 100644
--- a/internal/casino/blackjack_rules.go
+++ b/internal/casino/blackjack_rules.go
@@ -47,7 +47,7 @@ func (c TableConfig) BlackjackRulesText() string {
"Surrender: " + surrender,
"Insurance: Offered against an ace; costs half the original bet; pays " + payoutRatio(b.InsurancePayout),
"Fractional credits: Rounded down (including insurance stake and surrender return)",
- fmt.Sprintf("Shuffle threshold: %g%% of shoe remaining; may shuffle earlier for round coverage", b.ShuffleAt*100),
+ fmt.Sprintf("Shuffle threshold: %.6g%% of shoe remaining; may shuffle earlier for round coverage", b.ShuffleAt*100),
"Shoe exhaustion: Reshuffle mid-round if necessary",
"Bet limits: " + betRangeText(c.MinBet, c.MaxBet) + " credits",
fmt.Sprintf("Seats: %d; betting window: %d ticks; action window: %d ticks", c.MaxPlayers, c.BettingTicks, b.ActionTicks),