aboutsummaryrefslogtreecommitdiff
path: root/internal/casino
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino')
-rw-r--r--internal/casino/core.go4
-rw-r--r--internal/casino/video_poker_config.go2
-rw-r--r--internal/casino/video_poker_rules.go3
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 == "" {