diff options
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 |
