From 9666676766bf21364f4fc4d0d1d336e72f2a91b4 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 6 Oct 2026 12:57:23 -0400 Subject: refactor: split casino.go, dedup helpers, remove audit docs --- internal/casino/pai_gow_rules.go | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'internal/casino/pai_gow_rules.go') diff --git a/internal/casino/pai_gow_rules.go b/internal/casino/pai_gow_rules.go index edfa38c..231b3fb 100644 --- a/internal/casino/pai_gow_rules.go +++ b/internal/casino/pai_gow_rules.go @@ -153,13 +153,6 @@ func pgCompare(a, b pgRank) int { return 0 } -// pgNatural keeps the default-rules entry point used by tests and callers that -// do not thread a table configuration. Production evaluation goes through -// pgNaturalRules. -// -//nolint:unused // default-rules entry point -func pgNatural(cards []card) pgRank { return pgNaturalRules(cards, true) } - func pgNaturalRules(cards []card, a2345High bool) pgRank { counts := [15]int{} flush := len(cards) == 5 @@ -511,13 +504,6 @@ func pgFortuneRules(cards []card, envy, a2345High bool) (FortuneRow, bool) { return rows[bestIndex], true } -// pgBest keeps the default-rules entry point used by tests and callers that do -// not thread a table configuration. Production evaluation goes through -// pgBestRules. -// -//nolint:unused // default-rules entry point -func pgBest(cards []card) pgRank { return pgBestRules(cards, true) } - func pgBestRules(cards []card, a2345High bool) pgRank { var best pgRank for i := 0; i < 7; i++ { -- cgit v1.2.3