diff options
| author | historia <[not public]> | 2026-10-01 18:36:36 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 18:36:36 -0400 |
| commit | 8a94f21bd47c0a00bc415395232dba22fa958837 (patch) | |
| tree | 3dc9492913315ac98b6eddaec4605e4344cde7d6 /internal/casino | |
| parent | 4e2a95503e4ea4c830510f5aea23fac7948ddc41 (diff) | |
| download | thehouseoficarus-8a94f21bd47c0a00bc415395232dba22fa958837.tar.gz | |
remove: slop docs
Diffstat (limited to 'internal/casino')
| -rw-r--r-- | internal/casino/core.go | 4 | ||||
| -rw-r--r-- | internal/casino/video_poker_config.go | 2 | ||||
| -rw-r--r-- | internal/casino/video_poker_rules.go | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/internal/casino/core.go b/internal/casino/core.go index 8ab44f5..f51dde3 100644 --- a/internal/casino/core.go +++ b/internal/casino/core.go @@ -156,8 +156,8 @@ func resolveStakeIDs(w Wallet, ids []string) { // settleStakeOutcome applies one wager's outcome through the wallet and // reports whether the settlement could NOT be made durable. It carries the -// money-critical ordering shared by every table game (documented in -// dev_guide/concurrency.md): compute the payout, pay it via PayCredits +// money-critical ordering shared by every table game: compute the payout, +// pay it via PayCredits // BEFORE announcing the win — that one save credits the payout and resolves // the stakes it returns, so a crash can never pay the payout AND refund the // same stake — and only then stand the hand down. On a persistence failure diff --git a/internal/casino/video_poker_config.go b/internal/casino/video_poker_config.go index 0a39913..88fcbc4 100644 --- a/internal/casino/video_poker_config.go +++ b/internal/casino/video_poker_config.go @@ -56,7 +56,7 @@ var cabinetGames = map[string][]string{ // Each tuple is low, normal, full. These are named published schedules, not // interpolated payouts. Full means the highest offered on this cabinet, not -// a promise of identical RTP across games. Sources: dev_guide/video_poker.md. +// a promise of identical RTP across games. var cabinetSchedules = map[string]map[string][3]string{ CabinetClassic: { "jacks_or_better": {"7/5", "8/5", "9/6"}, diff --git a/internal/casino/video_poker_rules.go b/internal/casino/video_poker_rules.go index bfff0c4..29ab5c3 100644 --- a/internal/casino/video_poker_rules.go +++ b/internal/casino/video_poker_rules.go @@ -14,8 +14,7 @@ type pokerSchedule struct { var pokerCategories = []string{"Natural royal flush", "Royal flush", "Four deuces", "Five of a kind", "Wild royal flush", "Straight flush", "Four aces with 2-4 kicker", "Four 2s-4s with A-4 kicker", "Four aces", "Four 2s-4s", "Four 5s-Ks", "Four of a kind", "Full house", "Flush", "Straight", "Three of a kind", "Two pair", "Jacks or better", "Kings or better"} // pokerPayTable resolves the per-coin (five-coin) rates for a resolved -// game/pay-table pair. Every listed schedule is a published one; see -// dev_guide/video_poker.md for the sources. +// game/pay-table pair. Every listed schedule is a published one. func pokerPayTable(c VideoPokerConfig) (pokerSchedule, bool) { c = c.Normalize() if c.Variant == "" { |
