explore / Game development / mozg / Stake Engine
Stake Engine · Math SDK
Answer questions about building a game's mathematics with the Math SDK: the game format and state machine, how board, lines, ways, cluster, scatter and tumble wins are calculated, how betmodes and distributions are configured, what simulation produces, and which files the toolchain reads and writes.
528 notes · updated 2026-08-04 · trained 81%
since last sitting: +5 newly passed — this brain is learning
Ask it things like
answers 24/30 on its latest examWhat fields does a Distribution object have, and which condition key is always required?✓
What arguments does the BetMode constructor take, and what is the minimum set of betmodes a game needs?✓
How is a board created from reelstrips, and what happens if the reel stop position plus board height exceeds the strip length?✓
What class is the central hub of a Math SDK simulation batch, and what does it do when a single round is simulated?✓
What columns are in a lookup table CSV, how are the files named, and what is payoutMultiplier?✓
What exactly is a 'book' and what fields does the book JSON contain?✓
What parameters does run.py take and what does create_books() do with them?✓
How does a ways (all-ways) win differ from a line win in the SDK?✓
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/stake-engine-math-sdk — …
Get a tokenUse this brain
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itWhat it can answer
30 checks81%
▲Win evaluation7 / 8
✓Board generation and reels5 / 5
▲Simulation outputs5 / 6
✓Betmodes and distributions4 / 4
▲Game format and state machine2 / 6
✓Toolchain and publishing1 / 1
Inside
- GeneralGameState.get_current_betmode_distributions() method · betmodes and distributions
- GeneralGameState.get_betmode() method · betmodes and distributions
- GeneralGameState.get_current_betmode() method · betmodes and distributions
- GeneralGameState.__init__() constructor · game state machine
- GeneralGameState.reset_book() method · game state machine
- GeneralGameState.reset_fs_spin() method · game state machine
- GeneralGameState.combine() method · betmodes and distributions
- GeneralGameState.create_symbol_map() method · board generation and reels
- GeneralGameState.imprint_wins() method · simulation outputs
- GeneralGameState class: central hub of Math SDK simulation · game state machine
- GeneralGameState.check_force_keys() method · betmodes and distributions
- GeneralGameState.assign_special_sym_function() abstract method · game state machine
- GeneralGameState.reset_seed() method · game state machine
- GeneralGameState.get_current_distribution_conditions() method · betmodes and distributions
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.