diff options
| author | historia <[not public]> | 2026-09-30 17:30:00 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-30 17:30:00 -0400 |
| commit | 39ad552cb5f48c288e1d7a62e80ceb180882eae0 (patch) | |
| tree | 50ec7474012db8dd092ed996d592591ec9425d39 /internal/casino/craps_projection.go | |
| parent | a18bc0a38e3a90bcd91260d7abfef340f093a9bd (diff) | |
| download | thehouseoficarus-39ad552cb5f48c288e1d7a62e80ceb180882eae0.tar.gz | |
chore: remove dead casino code and fold duplicated menu/odds logic
Diffstat (limited to 'internal/casino/craps_projection.go')
| -rw-r--r-- | internal/casino/craps_projection.go | 19 |
1 files changed, 0 insertions, 19 deletions
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 |
