When you upload a slot to Stake Engine, you aren't uploading a game that decides wins as it runs. You upload every round in advance, and a front end that plays them back. Understanding that split makes the whole platform easier to work with.
Stake updates its formats from time to time. Check the current docs at stake-engine.com/docs before you build.
1. The math folder
The math is a set of pre-played rounds, called books, plus a table that says how often each one is drawn. For every bet mode, the folder holds:
- index.json: the list of modes, each with its name, its cost and its files.
- lookUpTable_<mode>_0.csv: one row per round, with its id, its weight and its payout. No header row.
- books_<mode>.jsonl.zst: the rounds themselves, compressed, one per line, each with every event the player will see.
Nothing else goes in the folder. The payout in the lookup table must equal each book's payout exactly, because the site checks both.
Size limits
| Limit | Value |
|---|---|
| Events file | 4.2 GB or less |
| Rounds per mode | 10 million or fewer |
Stake provides an open-source math SDK in Python that builds these files for you. You write the game's rules, run the simulation, and it writes the books and the lookup tables.
2. The front end
The front end is a web app that asks Stake's servers for a round, then plays back that round's events: symbols landing, wins counting up, bonuses starting. Stake's open-source web SDK is built on Svelte 5 and PixiJS 8, and it handles the connection to Stake, so your work is the game itself: the board, the animation, the sound and the rules screen.
Because every round is decided by the math, the front end never chooses a result. Its job is to make each one look and feel good.
3. The dashboard art and details
Before you can submit, the dashboard needs:
- A 3:4 game tile, 408×546, with the game's title, set as the cover.
- A 16:9 cover, 640×360, with no text.
- A short blurb describing the theme and the mechanics.
- At least one published math version and one front-end version, with every mode passing the RTP, hit-rate and max-win checks.
Building it, or buying it
All of this can be built with an AI assistant: we make our games with Claude, and the guide has every step and every prompt. If you'd rather start with a finished game, each slot we sell comes with all three parts, ready to upload, and full rights to change them.
