diff options
| author | historia <[not public]> | 2026-10-04 17:44:27 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-04 17:44:27 -0400 |
| commit | 93dcb67ffee05ebf1de0c9a78a8b906eaf161007 (patch) | |
| tree | 88cdd3d732f11eee616698a9ca32f699d2b41d77 /internal/casino/registry.go | |
| parent | 3a39a020e4449bc4d6f728ef837cffb9f7bd0c56 (diff) | |
| download | thehouseoficarus-93dcb67ffee05ebf1de0c9a78a8b906eaf161007.tar.gz | |
feat: new casino game: cash hunt, fixed verb issue with pai gow
Diffstat (limited to 'internal/casino/registry.go')
| -rw-r--r-- | internal/casino/registry.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/casino/registry.go b/internal/casino/registry.go index fdaecec..b13125d 100644 --- a/internal/casino/registry.go +++ b/internal/casino/registry.go @@ -44,6 +44,15 @@ var tableGames map[GameName]tableGameDef func init() { tableGames = map[GameName]tableGameDef{ + GameCashHunt: { + validate: validateCashHunt, + normalize: func(c TableConfig) TableConfig { c.MaxPlayers = 1; return c }, + hasRuleBlock: func(TableConfig) bool { return false }, + new: newCashHuntTable, + ruleText: cashHuntRules, + helpTopic: func(TableConfig) string { return "cash hunt" }, + houseEdge: func(TableConfig, string) HouseEdge { return edge(0.02) }, + }, GamePlinko: { validate: validatePlinko, normalize: func(c TableConfig) TableConfig { c.Plinko = c.Plinko.Normalize(); c.MaxPlayers = 1; return c }, |
