Writing
Long-form write-ups of things I built and measured: what was slow, what I tried, what the numbers said, and what I got wrong. RSS.
Ludomancy
RTP and volatility describe the money at the end of a round. The player lives in the time before the end. 12 parts on how to measure that time from books and weights, how to sort a million rounds into types with e-means clustering, and how to design toward a feel.
Start reading
Two numbers are not enough
RTP and volatility describe the money at the end of a round. The player feels the time before the end. This series shows how to measure that time from the math of the game.
What the payout and the events tell you
Eight metrics need only the payout of a round. Seven more need the events in the round. This post gives the formula, the value and the use of each metric.
Why the unknown excites
The brain reacts weakly to a win that it expected. It reacts strongly to a change in what it expects, and to a result that it does not know yet. The mathematics of a slot game sets both.
Belief: the value the player follows
RTP and volatility read only the end of a round. Belief reads each step of the round. Three laws show what a mechanic can change and what it cannot change.
No free delight: six levers on the thrill
The laws of belief set a budget. A game cannot add good news, and each unit of hope has a price. Six levers move the news inside the budget.
Eleven shapes of belief
Mechanics with different art can move the belief of the player in the same way. This post gives 11 such patterns, 13 numbers that identify them, and a map of 74 families of mechanics.
Cues: how a game shows the news
A player cannot calculate belief. The player reads cues: a symbol, a counter, a frame, a slower reel. A cue lets the player guess what comes, and the guess is what the brain reacts to.
The feed: why a sequence of cues holds the player
One cue gives the brain one signal. A sequence of cues gives a signal at each step and a wait between the steps. The order and the size of the steps decide how much the brain gets from the same money.
Sessions: feel in time and money
A player does not feel one round. A player feels a period of time with a bankroll. This post measures the session: its cost, its length and its thrill.
Clusters and control: design toward a feel
A session is a vector of 12 numbers. Clustering turns many sessions into a small number of typical sessions. Then the designer can change the mathematics and see which sessions change.
Audit the books: ten types of round
A simulation makes millions of rounds, and no person can read them. Eight numbers describe each round. Clustering sorts the rounds into types. Each type shows where the game loses the player, where the money goes, and which books fail a rule.
Field guide: use the series with an AI agent
This part has no new mathematics. It is a work method for a person who builds slot mathematics with an AI agent. It tells you what to ask for, what to check and what to change.
2026
2026: the slot stack I open-sourced
Between April and November I published the parts of a slot game that studios keep rebuilding: reels, a Spine runtime, particles, audio, a HUD, wheels and two game cores. What each one changes, and how they fit together.
A motion contract for pixi-reels
Unit tests check where symbols end up. Players notice how they got there. pixi-reels defines reel motion as fourteen laws, checks them in four orientations, and checks the checks by breaking the engine on purpose.
Pylinka: compiling particle graphs to WGSL and GLSL
Animators build effects as node graphs; the game runs them as GPU shaders. How Pylinka's compiler works, why its output is compared byte for byte, and how the editor preview was made identical to the shipped game.
Replacing the Spine Benchmark score with measurements
Spine Benchmark used to rate skeletons with a weighted score. Against timings from real phones the score explained 2% of the variation (R² = 0.02). Version 4 measures instead, and shows its error.
Why I wrote a Spine runtime for PixiJS
Slot scenes are full of small Spine skeletons, and the official runtime gives each one its own draw call and uploads it every frame. pixi-marrow batches them, lets idle skeletons skip work, and keeps poses identical to the official runtime.
Spine Benchmark, серия из 7 частей
Written in April for animators and producers. It explains the v3 scoring model, which v4 replaced with measurement. The parts on draw calls and clipping still hold. The scoring model doesn't: here's why.