A game reaches its pay table two levels down through the casino #52

Open
opened 2026-08-15 18:59:59 +00:00 by rosa · 0 comments
Owner

A game reaches its own pay table through the casino, two levels down — the
casino hands out its config, and the config hands out the game's settings. Each
level adds nothing on the way past, which is the pass-through shape that usually
means an abstraction is in the wrong place.

Whether a game should reach its settings through the casino at all is a question
about what the casino exposes, not about how the config is stored. It was left
out of the config work deliberately: folding it in would have made that change
hard to review, and the answer here does not depend on it.

Worth deciding before another game is added.

Blocked by

  • None — can start immediately.
A game reaches its own pay table through the casino, two levels down — the casino hands out its config, and the config hands out the game's settings. Each level adds nothing on the way past, which is the pass-through shape that usually means an abstraction is in the wrong place. Whether a game should reach its settings through the casino at all is a question about what the casino exposes, not about how the config is stored. It was left out of the config work deliberately: folding it in would have made that change hard to review, and the answer here does not depend on it. Worth deciding before another game is added. ## Blocked by - None — can start immediately.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rosa/casino#52
No description provided.