From 39ad552cb5f48c288e1d7a62e80ceb180882eae0 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 30 Sep 2026 17:30:00 -0400 Subject: chore: remove dead casino code and fold duplicated menu/odds logic --- internal/casino/craps_projection.go | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'internal/casino/craps_projection.go') diff --git a/internal/casino/craps_projection.go b/internal/casino/craps_projection.go index 96d64b7..c36f69f 100644 --- a/internal/casino/craps_projection.go +++ b/internal/casino/craps_projection.go @@ -95,25 +95,6 @@ func crapsBonusComplete(lo, hi int, seen map[int]bool, next int) bool { } return true } -func crapsRollLabel(bet *crapsBet, a, b int) string { - s := a + b - switch bet.kind { - case "hard": - if a == b { - return fmt.Sprintf("%d+%d", a, b) - } - if s == 7 { - return "7" - } - return fmt.Sprintf("easy %d", s) - case "hop": - if bet.number == a*10+b || bet.number == b*10+a { - return fmt.Sprintf("%d+%d", a, b) - } - return "any other" - } - return fmt.Sprint(s) -} func (t *crapsTable) rollTable(p *crapsPlayer) string { agg := map[string]int{} pairsMatter := false -- cgit v1.2.3