Online casino games don't run on secret algorithms that decide when you win. They run on a random number generator (RNG) that picks each result, a fixed set of rules that turns the number into an outcome, and a paytable that sets what each outcome pays. The house edge is in the paytable, not in the randomness. This guide explains how that works, what regulators and test labs check, and how you can check a game yourself.
From random number to result
- The RNG produces a number. Online games use software generators, seeded and reseeded so their output can't be predicted.
- The game maps the number to an outcome: a reel position, a card, a roulette pocket. The mapping follows the game's stated probabilities.
- The paytable decides what the outcome pays. Paying slightly less than the true odds creates the house edge, shown as RTP.
Each result is decided when you press spin or deal; the animation only shows it. Under rules like the UK's, a game may not adjust its results to make up for earlier ones.
What regulators require
Requirements differ by licence. The UK Gambling Commission's technical standards are among the most detailed:
| Rule | What it means for you |
|---|---|
| RTS 3: rules and likelihood of winning | The rules, how winners are decided, and the RTP or the probabilities must be easy to find before you play |
| RTS 7A: acceptably random | Outcomes must be random and unpredictable; games that adjust results to make up for earlier ones are banned |
| RTS 7B: fair implementation | Games must pay according to their rules and paytables |
| RTS 7C: no misleading designs | No replacing losing results with near misses; a simulated wheel or deck must behave like the real one |
| RTS 7D: no changes during play | Rules, odds and payouts can't change while the game is available |
Our licence guides cover what other regulators require.
Who tests the games
Studios send their games and RNGs to independent test labs before release. Labs test them against regulators' rules and industry standards such as GLI-19, published by Gaming Laboratories International, which covers interactive gaming systems including the RNG. Pragmatic Play, for example, names Gaming Laboratories International, Quinel and Gaming Associates as its testers. A lab's certificate covers a game version; the casino then runs that version under its own licence.
Live dealer and provably fair games
- Live casino games use real wheels, cards and dice streamed from a studio; the randomness is physical, the rules and edge are those of the table.
- Many crypto casinos offer "provably fair" games. Before a round, the casino shows a scrambled code (a hash) of its secret seed; you can add your own seed; after the round, the casino reveals its seed and you can check that it matches the code and produces the result shown. It proves the result wasn't changed after your bet. It doesn't remove the house edge, which is in the game's formula, and it isn't a licence.
How to check a game yourself
- Check the casino's licence first; our licence guides show how to verify one.
- Open the game's info or paytable screen and read the RTP. The casino may run a lower-RTP version than the one in a review.
- Check the studio: our provider pages list who makes each game and where the studio is licensed.
- Be wary of games with no RTP, no rules page, or a studio name you can't find anywhere else.
For what RTP and volatility mean in practice, see our guide to how slots pay.
Casino algorithms: FAQ
Do online casinos control when you win?
Not at licensed casinos. A random number generator decides each result; the paytable sets the house edge. UK rules ban games that adjust outcomes based on earlier results.
Who checks that online games are random?
Independent test labs, against regulators' rules and standards such as GLI-19, before games are released.
What does provably fair mean?
You can verify that a result wasn't changed after your bet, using seeds the casino reveals after the round. The house edge is still built in.
Where can I see a game's RTP?
In its info or paytable screen at the casino. UK rules require the RTP or the probabilities to be available before you play.
Sources
- Gambling Commission: RTS 7, generation of random outcomes
- Gambling Commission: RTS 3, rules, game descriptions and the likelihood of winning
- Gaming Laboratories International: GLI-19 Interactive Gaming Systems v3.0
- An open-source provably fair verifier (how seed checks work)
- Test labs named by Pragmatic Play: its own site, via our Pragmatic Play page
Checked 29 October 2026.