The maths and fairness of games of chance, explained with worked numbers
This site is an educational reference. It explains how common online games of chance are built, what the odds are, what the house edge costs, and how hash-based fairness checks work. It runs no games, takes no bets and links to no operator.
What you will find here
Each guide takes one game format and works through the arithmetic: the rules, the probability of each result, the payout, the expected value, the spread of results over many rounds, and how a published hash lets anyone recompute a result after the fact. Every number on every page is computed by a small script, not typed by hand, so the tables agree with the formulas next to them.
The guides are grouped by game type. Most pages carry an older label in the address, such as amber or arctic. Those words are only names from an earlier version of this site; they do not describe a special variant. Every page says so and then teaches the game type itself.
- Crash
A rising multiplier stops at a pre-set point. Chance to reach a target, and why every target has the same edge. 10 guide pages.
- Dice
Roll 0.00 to 99.99 over or under a target. Win chance, payout formula and the cost of the edge. 17 guide pages.
- Coin flip
Two outcomes, one call. Why a fair coin pays less than 2x, and how long streaks really get. 10 guide pages.
- Hi-lo
Call the next card higher or lower. Odds for each face card, ties, chains and deck models. 45 guide pages.
- Keno
Pick numbers, then a set is drawn. The hypergeometric odds behind every hit count and pay table. 30 guide pages.
- Mines
Reveal tiles on a grid that hides mines. Survival odds per reveal and fair against offered multipliers. 10 guide pages.
- Plinko
A ball bounces through rows of pegs. Binomial slot odds, Pascal's triangle and pay-table returns. 17 guide pages.
- Scratch cards
Instant-win cards with prize tiers. Overall odds, break-even prizes and the value of one ticket. 10 guide pages.
- Wheel
Equal segments, each with a multiplier. Mean return, variance and how a segment set is built. 8 guide pages.
Three ideas that run through every guide
1. The house edge is built into the payout
A game pays a little less than the fair price of the risk. If an event has a 50% chance, the fair payout is 2x the stake; a game with a 1% edge pays 1.98x instead. The difference looks tiny, but it is charged on every round. Over 1,000 one-unit bets at that edge the expected loss is 10 units. The house edge guide shows the same calculation for every format on this site.
2. Variance decides what a session feels like
Two games with the same edge can feel completely different. A bet that wins 49.50% of the time gives a steady, slow drift. A bet that wins 1.98% of the time (a 50x target in a 1% crash model) gives long losing runs broken by rare large wins. The average is the same; the path is not. The guides measure this with standard deviations, exact streak probabilities and clearly labelled seeded simulations.
3. A hash can prove a result was fixed in advance
Many online game services publish the SHA-256 hash of a secret seed before a round and reveal the seed afterwards. Because SHA-256 is a one-way function, the service could not have changed the seed without the hash changing too. The hash fairness guide walks through a complete example, byte by byte, and explains what such a check proves and what it does not prove. In short: it can show that a result was not changed after the bet, but it says nothing about whether the payout is generous.
How the numbers on this site are made
All tables come from one Python module. It uses exact formulas where they exist: binomial and hypergeometric probabilities, geometric waiting times, and an exact dynamic-programming count for streaks. Where a page shows a simulation, it uses Python's seeded pseudo-random generator and prints the seed, so the run can be repeated. A simulation is always labelled as one and is never presented as real play. Pay tables and segment sets that differ between operators are marked as illustrative.
Where to start
- New to the subject: read the house edge guide first, then the overview for the game type you care about.
- Curious about fairness claims: read the hash fairness guide, then any hi-lo, dice or keno page with a worked hash table.
- Looking for a specific page: the full guide index lists every page, grouped by game type.
- Worried about your own play or someone else's: go to the responsible gambling page.
The about page explains who the site is for, what it will never do, and how the pages are checked.