aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/pai_gow_rules.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/pai_gow_rules.go')
-rw-r--r--internal/casino/pai_gow_rules.go14
1 files changed, 0 insertions, 14 deletions
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++ {