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/game/render_casino_help.go | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'internal/game/render_casino_help.go') diff --git a/internal/game/render_casino_help.go b/internal/game/render_casino_help.go index 5a76ef0..26927ae 100644 --- a/internal/game/render_casino_help.go +++ b/internal/game/render_casino_help.go @@ -67,14 +67,17 @@ func (g *Game) rouletteReminder(sess *net.Session, cfg casino.TableConfig) strin } blocks := []string{g.casinoBetTable(sess, "Roulette payouts", []string{"Bet", "Target / example", "Chance", "Profit"}, rows)} if cfg.Roulette.Racetrack && !cfg.Roulette.DoubleZero { - blocks = append(blocks, g.casinoBetTable(sess, "Racetrack payouts", []string{"Target", "Chance", "Profit on total stake"}, [][]string{ - {"voisins", chance(17), "1:1; 0/2/3 pay 5:3"}, - {"tiers", chance(12), "2:1"}, - {"orphelins", chance(8), "13:5; 1/17 pay 31:5"}, - {"zero / jeu zero", chance(7), "7:2; 26 pays 8:1"}, - {"neighbors ", chance(9), "3:1"}, + blocks = append(blocks, g.casinoBetTable(sess, "Racetrack payouts", []string{"Target", "Winning pockets", "Chance", "Profit"}, [][]string{ + {"voisins", "0, 2, 3", chance(3), "5:3"}, + {"voisins", "Other covered", chance(14), "1:1"}, + {"tiers", "Any covered", chance(12), "2:1"}, + {"orphelins", "1, 17", chance(2), "31:5"}, + {"orphelins", "Other covered", chance(6), "13:5"}, + {"zero / jeu zero", "26", chance(1), "8:1"}, + {"zero / jeu zero", "Other covered", chance(6), "7:2"}, + {"neighbors ", "Any covered", chance(9), "3:1"}, })) - blocks = append(blocks, "Call bets split your total stake; fractional returns round down.\nUse help racetrack for the chip placements.") + blocks = append(blocks, "Profit is on the total stake; each row lists its winning pockets.\nCall bets split your stake; fractional returns round down.\nUse help racetrack for the chip placements.") } blocks = append(blocks, "Profit excludes your returned stake: 1:1 on 10 returns 20.\n"+ -- cgit v1.2.3