From 0fb83bdf433b9b48240f4ac7a5d4c912f6b808cc Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 3 Oct 2026 07:11:58 -0400 Subject: feat: added big 6 wheel to the casino --- internal/casino/registry.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'internal/casino/registry.go') diff --git a/internal/casino/registry.go b/internal/casino/registry.go index a27a9dd..4366bc6 100644 --- a/internal/casino/registry.go +++ b/internal/casino/registry.go @@ -84,6 +84,20 @@ func init() { ruleText: func(c TableConfig) string { return c.CrapsRulesText() }, helpTopic: func(c TableConfig) string { return c.Craps.helpTopic() }, }, + GameBigSix: { + houseEdge: bigSixHouseEdge, + validate: func(c TableConfig) error { + if c.BettingTicks != 0 && c.BettingTicks != 25 { + return fmt.Errorf("Big 6 betting_ticks must be 25") + } + return nil + }, + normalize: func(c TableConfig) TableConfig { c.BettingTicks = 25; return c }, + hasRuleBlock: func(TableConfig) bool { return false }, + new: func(room int, c TableConfig, rng *rand.Rand) tableGame { return newBigSixTable(room, c, rng) }, + ruleText: bigSixRules, + helpTopic: func(TableConfig) string { return "big6" }, + }, GameRoulette: { houseEdge: rouletteHouseEdge, validate: func(c TableConfig) error { -- cgit v1.2.3