aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/craps_variants_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-30 17:30:00 -0400
committerhistoria <[not public]>2026-09-30 17:30:00 -0400
commit39ad552cb5f48c288e1d7a62e80ceb180882eae0 (patch)
tree50ec7474012db8dd092ed996d592591ec9425d39 /internal/casino/craps_variants_test.go
parenta18bc0a38e3a90bcd91260d7abfef340f093a9bd (diff)
downloadthehouseoficarus-39ad552cb5f48c288e1d7a62e80ceb180882eae0.tar.gz
chore: remove dead casino code and fold duplicated menu/odds logic
Diffstat (limited to 'internal/casino/craps_variants_test.go')
-rw-r--r--internal/casino/craps_variants_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/casino/craps_variants_test.go b/internal/casino/craps_variants_test.go
index 687a496..284a3df 100644
--- a/internal/casino/craps_variants_test.go
+++ b/internal/casino/craps_variants_test.go
@@ -51,10 +51,7 @@ func TestVariantAllOutcomes(t *testing.T) {
switch v {
case "simplified":
done = true
- profit = -1
- if s <= 4 || s >= 10 {
- profit = 1
- }
+ profit = [13]int{0, 0, 3, 1, 1, -1, -1, -1, -1, -1, 2, 2, 5}[s]
case "high_point":
if n == 0 {
done = s >= 11