aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/craps_wagers.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/craps_wagers.go')
-rw-r--r--internal/casino/craps_wagers.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/casino/craps_wagers.go b/internal/casino/craps_wagers.go
index beb8722..33b465b 100644
--- a/internal/casino/craps_wagers.go
+++ b/internal/casino/craps_wagers.go
@@ -9,7 +9,7 @@ import (
// where two bets share the same payout (pass/don't pass, the place numbers,
// all free odds) so the list stays compact and the Win/action column rarely
// wraps. Payouts are profit odds; winning stakes return alongside the profit.
-func (t *crapsTable) wagerRows(name string) []WagerRow {
+func (t *crapsTable) wagerRows() []WagerRow {
c := t.Config.Craps
rows := []WagerRow{}
passWin := "Come out: 7/11 wins, 2/3/12 loses / Point on: Roll the point to win."
@@ -52,7 +52,7 @@ func (t *crapsTable) wagerRows(name string) []WagerRow {
WagerRow{"hard 6/8", "9:1", "Roll this pair before next 7"},
)
}
- rows = append(rows, crapsPropRows(c, false)...)
+ rows = append(rows, crapsPropRows(false)...)
default: // bank and diceless
rows = append(rows,
WagerRow{"pass", "1:1", passWin},
@@ -71,7 +71,7 @@ func (t *crapsTable) wagerRows(name string) []WagerRow {
WagerRow{"hard 6/8", "9:1", "Roll this pair before next 7"},
)
}
- rows = append(rows, crapsPropRows(c, !t.rolled)...)
+ rows = append(rows, crapsPropRows(!t.rolled)...)
}
return rows
}
@@ -87,7 +87,7 @@ func crapsBuyLayRows() []WagerRow {
// crapsPropRows is the one-roll section of the list: field, the proposition
// bets and (when bonuses are allowed and still open) the Fire and ATS bets.
-func crapsPropRows(c CrapsConfig, bonuses bool) []WagerRow {
+func crapsPropRows(bonuses bool) []WagerRow {
rows := []WagerRow{
{"field", "1:1", "Next roll is 2-4 or 9-12"},
{"seven", "4:1", "Next roll totals 7"},