From 8b78aa4cd930fde145959704ba7bdc0e57465b9b Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 4 Oct 2026 22:54:38 -0400 Subject: feat: better ux in cash hunt --- internal/casino/cash_hunt.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/casino') diff --git a/internal/casino/cash_hunt.go b/internal/casino/cash_hunt.go index 7c9752f..7c20a5a 100644 --- a/internal/casino/cash_hunt.go +++ b/internal/casino/cash_hunt.go @@ -56,6 +56,7 @@ type CashHuntSnapshot struct { Squares [CashHuntSquares]int // never populated while hidden Selected int // one-based; zero means not chosen Odds []CashHuntPrizeOdds + Edge HouseEdge // configured return; shown when a house-edge item is carried } func (*CashHuntSnapshot) snapshot() {} @@ -123,7 +124,7 @@ func (t *cashHuntTable) hints(n string) []MenuCommand { return t.hintsLocked() } func (t *cashHuntTable) snapLocked(phase string) *CashHuntSnapshot { - s := &CashHuntSnapshot{Phase: phase, Risk: cashHuntRisks[t.risk], Selected: t.selected} + s := &CashHuntSnapshot{Phase: phase, Risk: cashHuntRisks[t.risk], Selected: t.selected, Edge: t.Config.HouseEdge("")} if phase == "preview" || phase == "result" { s.Squares = t.squares } -- cgit v1.2.3