Every online slot, digital table game and instant-win game depends on a random number generator, or RNG. It's the software that decides where the reels stop, which cards are dealt and which numbers are drawn. For a game to be fair, its RNG must be genuinely unpredictable, and the game's maths must match what the player is told. In Canada's authorized markets, that's checked by independent testing laboratories and approved by regulators or provincial lottery corporations before a game goes live.
This guide explains how RNGs work, what testing involves, how live dealer games are controlled, what "certified" really means and how you can check whether a game you're playing has been through that process.
Quick answer: An RNG produces unpredictable numbers that decide game outcomes. On authorized Canadian sites, games and RNGs are tested by accredited labs and approved before release, and operators must keep certified versions in place. Fair doesn't mean favourable: certified games still have a house edge.
What a random number generator does
Computers are deterministic machines, so producing randomness takes careful design. Casino games use one of two approaches:
| Type | How it works | Where it's used |
|---|---|---|
| Pseudo-random number generator (PRNG) | An algorithm produces a long sequence of numbers that pass statistical tests for randomness, starting from a secret seed | Most online slots and digital table games |
| Hardware or true RNG | Physical processes, such as electronic noise, generate random values | Some lottery systems and specialized applications |
A well-designed PRNG runs continuously, producing numbers even when nobody is playing. When you press "spin", the game takes the current values and maps them to outcomes, such as reel positions. Because the generator is cycling extremely quickly and the seed is secret, the result can't be predicted or influenced by the timing of your click.
Mapping numbers to outcomes
The RNG itself produces only numbers. The game's maths model decides what those numbers mean. For a slot, each reel has a set of stops, and the RNG picks one for each reel. Symbol weights determine how many stops show each symbol, which is how a slot can make some symbols rare and others common. For a card game, the RNG shuffles a virtual deck, and cards are dealt in order from that shuffle.

What "random" means for you
| Statement | True or false? |
|---|---|
| Each spin is independent of the last | True |
| A machine can be "due" for a win | False |
| Stopping the reels early changes the result | False; the outcome is already determined |
| Playing at certain times improves the odds | False |
| A big win makes the next spin less likely to win | False |
| Random means outcomes are evenly spread in the short run | False; streaks are normal |
Streaks feel meaningful, but they're a normal feature of randomness. In a fair coin toss, a run of six heads happens fairly often over a few hundred tosses. In a slot, long losing streaks happen too, especially on high-volatility games. See our RTP and volatility guide.
What independent testing labs check
Before a game can be offered on an authorized site, an accredited testing lab examines it. Well-known labs include Gaming Laboratories International (GLI) and BMM Testlabs, among others. Their work typically covers:
- RNG quality: statistical tests on large samples of output to confirm the numbers are unpredictable and evenly distributed, plus review of the seeding and reseeding methods.
- Game maths: confirming the theoretical RTP by analyzing the paytable and reel strips, and simulating very large numbers of plays.
- Game rules and display: checking that the rules, paytable and help screens match how the game actually behaves.
- Malfunction and recovery: confirming that interrupted games are handled correctly, for example after a lost connection.
- Software integrity: recording digital signatures or hashes of the certified files, so regulators and operators can confirm later that the game hasn't been altered.
The lab issues a certificate or report for the specific version tested. If the game's maths or code changes, it must be retested.
How Canadian regulators fit in
Canada's markets handle game approval in different ways, but the principle is the same: only tested, approved games are offered to players.
| Market | How games are controlled |
|---|---|
| Ontario | The Alcohol and Gaming Commission of Ontario sets technical standards for internet gaming; operators and suppliers must be registered, and games must be tested by an approved lab |
| Alberta | The AGLC sets standards and requirements for internet gaming in the regulated market launched in July 2026 |
| Provincial lottery platforms (BC, Manitoba, Saskatchewan, Québec, Atlantic) | Provincial lottery corporations acquire, test and approve games under their own processes and provincial oversight |
| Land-based casinos | Slot machines and electronic table games are tested and approved before installation, with ongoing inspections |
Suppliers that provide games to regulated Canadian markets are themselves subject to registration or approval, which adds another layer of accountability. See our province guides for each regulator.
Live dealer games
Live dealer games don't use an RNG for their main outcome. Real cards are dealt, a real ball spins in a real wheel, and the game is streamed from a studio. Fairness is protected in other ways:
- Physical equipment checks, such as wheel balance testing and card inspection
- Shuffling procedures, including automatic shufflers and regular deck changes
- Optical character recognition that reads cards and results from the video feed and settles bets automatically
- Multiple cameras and recordings that let disputes be reviewed
- Studio supervision and procedures audited by regulators or labs
Some live game shows combine a physical wheel with RNG-generated multipliers. In those games, both elements need to be tested. See our live dealer guide.
What certification doesn't mean
Certification confirms that a game behaves as described. It doesn't mean:
- the game is a good deal; a certified game can have a high house edge;
- you'll get the stated RTP in your session;
- the operator is authorized in your province; that's a separate check;
- the site's bonuses, withdrawals or customer service are fair.
Key point: "Fair" means unpredictable and accurately described. It never means the odds favour the player. The house edge is part of every certified casino game.
How to check whether a game is certified
On authorized sites, you usually can't see the lab certificate directly, but you can check the signals:
- Confirm the operator is authorized in your province using our verification guide. Authorized operators can only offer approved games.
- Open the game's help screen and look for the RTP, rules and paytable.
- Check the site's footer or responsible gambling page for mention of testing or certification.
- Look up the game provider. Recognized studios supply many regulated markets.
- Be cautious with "provably fair" claims on unauthorized crypto sites. Provably fair systems can show that a result wasn't changed after your bet, but they don't replace regulatory oversight, and they don't show whether the game's maths is reasonable.
Malfunctions and disputes
Almost every game's rules say "malfunction voids all pays and plays". If a game shows a win that's later reversed, the operator should be able to explain what happened using game logs. On authorized sites, you can complain to the operator and then to the regulator. Our complaints guide explains the steps.
Unauthorized sites and unverified games
Offshore sites that aren't authorized in your province may use games from reputable studios, but they may also use unlicensed copies or games with altered settings. Without a Canadian regulator overseeing them, you have no independent way to confirm what you're playing. This is one of the strongest reasons to stay with authorized operators.
Glossary
RNG: random number generator, the software or hardware that produces random values for game outcomes.
Seed: the starting value for a pseudo-random number generator.
Certification: a testing lab's confirmation that a specific game version meets technical standards.
Hash or signature: a digital fingerprint used to confirm that certified software hasn't been altered.
Optical character recognition (OCR): technology used in live games to read cards and results automatically.
Malfunction clause: the rule that voids results when a game fails.
Key takeaways
- RNGs make each outcome unpredictable and independent.
- Accredited labs test RNGs, game maths and rules before release.
- Canadian regulators and lottery corporations only allow approved games.
- Live dealer games are controlled through physical and procedural checks.
- Certified doesn't mean favourable; the house edge always applies.
- Verify the operator first: authorization is what makes game testing meaningful.
A short history of fair-play testing
Before online gambling, casinos relied on physical equipment and human supervision: balanced roulette wheels, sealed decks and surveillance cameras. As electronic slot machines spread from the 1980s onward, regulators began requiring independent laboratories to test the software inside them. When online casinos appeared in the late 1990s, the same approach was extended to RNG software and game maths, and modern standards now cover servers, data security and remote game updates as well.
Ongoing monitoring after launch
Certification isn't a one-time event. In regulated markets, ongoing controls typically include:
| Control | Purpose |
|---|---|
| Software verification | Regular checks that live games match the certified version |
| Change control | Retesting and approval before game or platform updates |
| Statistical monitoring | Comparing actual payouts with expected RTP over time |
| Incident reporting | Notifying regulators of malfunctions or security events |
| Audits | Periodic reviews of systems and procedures |
Statistical monitoring is especially useful: if a game's actual return drifts far from its theoretical RTP over a very large number of plays, it can signal a fault that needs investigation.
Lottery draws
Provincial and national lottery draws use either mechanical ball machines or certified electronic random number generators, under supervised procedures. Draws are typically overseen by independent auditors and recorded. The same principles apply: unpredictability, documented procedures and independent oversight. See our lottery hub.
Why randomness feels "wrong"
People are poor at recognizing randomness. Truly random sequences contain more streaks and clusters than most of us expect, so they often look patterned. When a slot pays several times in a short period, or a roulette wheel lands on red eight times running, it's tempting to see a pattern. These streaks are a normal part of randomness, and they don't predict what happens next. Understanding this helps protect against the gambler's fallacy described in our betting systems guide.
Related guides on this topic
RNG testing confirms that games behave as described; our RTP and volatility guide explains what that description means, and our house edge guide shows the cost of each game. For how live tables work, see our live dealer guide.
Frequently asked questions
Are online slots rigged?
On authorized Canadian sites, games are independently tested and approved, and the RNG is checked for unpredictability. They're not rigged, but they're designed with a house edge.
Can a casino control when I win?
Not on authorized sites using certified games. Outcomes come from the RNG and the certified maths model, not from manual control.
Does stopping the reels early change the outcome?
No. The result is decided when you press spin; the animation just reveals it.
How are live roulette wheels checked?
Through equipment inspections, statistical monitoring of results, studio procedures and recorded video, as required by regulators.
What does "provably fair" mean?
It's a cryptographic method used by some crypto sites to show a result wasn't altered after a bet. It isn't a substitute for regulatory testing and authorization.
Who tests games for Canadian markets?
Accredited independent labs, under standards set by provincial regulators and lottery corporations.
Do online casinos use the same RNG for every game?
It depends on the platform and the studio. Each game's RNG implementation is tested as part of certification.
Can I see a game's test certificate?
Usually not directly. On authorized sites, approval by the regulator or lottery corporation is the safeguard.
Can players influence an RNG game with timing?
No. The RNG cycles far faster than any human reaction, and outcomes are mapped by certified maths.
What happens if my connection drops during a spin?
On authorized sites, the outcome is recorded on the server and usually shown when you reconnect.
Photo credits
- A video poker machine displaying its pay table and five-card hand. Peter Mai · CC BY-SA 2.0. Background removed and cropped. Adapted image retains the applicable source license.
- Un ordinateur portable ouvert à l’écran vide · Licence Pexels. Arrière-plan retiré et photo recadrée.
