How random number generators work in slots, and why spins have no memory
A random number generator (RNG) is the software or hardware that picks a slot's result when you press spin. The game maps that number onto reel positions, and each spin is independent of the last. In Kenya, L.N. 112 r.45(2) requires the RNG to be certified by the Gambling Regulatory Authority or its approved agent.
Key facts
| Fact | Value | As of | Source |
|---|---|---|---|
| RNG rule in Kenya | Certified by the Authority or its approved agent (L.N. 112 r.45(2)) | As of October 2026 | Source 2 |
| RTP disclosure | Theoretical RTP of each game disclosed to the Authority (L.N. 112 r.45(4)) | As of October 2026 | Source 2 |
| Platform audit | Approved online platforms tested and audited every year (L.N. 112 r.47(2)) | As of October 2026 | Source 2 |
| Complaint referral | Referred to the Authority if unresolved after 72 hours (L.N. 112 r.9(2)(e)) | As of October 2026 | Source 2 |
| RNG types named by GLI | Software (pseudo-algorithmic), hardware and hybrid | As of October 2026 | Source 1 |
| Statistical tests listed by GLI | DIEHARD battery and outcome distribution tests | As of October 2026 | Source 1 |
What does the random number generator in a slot do?
Every online slot needs a source of chance, and that source is the random number generator, or RNG. It produces numbers that cannot be predicted, and the game turns each number into a result. The reels, the paylines and ways to win and the paytable then decide what that result pays.
GLI, a test lab that certifies RNGs, describes three kinds. There are software-based generators, which it calls pseudo-algorithmic, hardware generators, and hybrids that combine the two.
A software RNG starts from a value called a seed and runs an algorithm that turns it into a long sequence of numbers. The sequence looks random from outside and repeats only after a very long period. Testing checks those properties instead of taking them on trust.
When is the result of a spin decided?
In a typical online slot, the result is drawn when the spin starts. The reels that roll across your screen then display an outcome the game has already chosen. The animation presents the draw; it is not part of it.
This is why the timing of your tap gives you nothing to work with. The generator keeps producing values, and the one taken at your spin is no easier to aim for than any other. GLI's checks include the generator's background cycling, which is what the RNG does between plays.
How does a random number become a reel position?
The RNG works across a wide range of numbers. The game scales each value down to the number of stops on a reel, so every value lands on one stop of the strip. The symbols on the strip, and how many times each one appears, set the chance of each symbol showing.
Illustrative example: a reel strip has 20 stops, with one seven, three bars, six cherries and ten blanks. Each stop has a 1 in 20 chance on each spin. With three identical reels drawn independently, the chance of three sevens is 1/20 x 1/20 x 1/20, or 1 in 8,000.
| Symbol | Stops on the strip | Chance on one reel | Chance of three on three reels |
|---|---|---|---|
| Seven | 1 | 5% | 1 in 8,000 (0.0125%) |
| Bar | 3 | 15% | 27 in 8,000 (about 0.34%) |
| Cherry | 6 | 30% | 216 in 8,000 (2.7%) |
| Blank | 10 | 50% | 1,000 in 8,000 (12.5%) |
Real slots use their own strips, weights and win rules, and few are this simple. What you can see is the paytable in the game information. The guide on how to find a slot's RTP in the game information shows where those details sit.
Is each spin independent of the last one?
Yes, for the draw itself. A properly tested RNG gives no way to work out the next value from earlier ones. GLI says an RNG must be fully tested so that its outcomes cannot be predicted and show no bias towards certain results.
So the generator has no memory of your session. Twenty losing spins do not make a win due, and a large win does not make the next spin colder. The chance on the next spin is the same as it was on the first one.
Some games do carry things over between spins, but that is a feature, not the RNG. A collection meter, a stored multiplier or a jackpot pool can build up and persist. L.N. 112 r.45(1) of the Gambling Control (Conduct of Gambling Operations) Regulations, 2026 requires game rules to be displayed before you place a wager, so the rules are the place to look for such a feature.
The popular beliefs about streaks are taken apart in slot myths about hot machines, cold machines and timing.
What do labs check when they certify an RNG?
GLI publishes the elements its RNG evaluations typically include, depending on the type of generator. The table lists them, with a plain explanation of each term.
| Element listed by GLI | What the term refers to |
|---|---|
| Source code review | Reading the generator's code for flaws or built-in bias |
| RNG period | How many values the generator produces before its sequence repeats |
| RNG range | The span of values the generator can return |
| Seeding and re-seeding | How the starting value is chosen and refreshed |
| Background cycling or activity | What the generator does between plays |
| DIEHARD battery of tests | A set of statistical tests for randomness |
| Outcome distribution tests | Whether results occur in the proportions the game's maths predicts |
Other labs describe similar work. iTech Labs offers RNG testing and audits for online casino games, alongside testing of game maths and payout structures. What a finished certificate proves, and what it leaves out, is set out in what a test lab certificate attests.
What does Kenyan law require of a slot's RNG?
L.N. 112 r.45(2) requires the RNG used for all games of chance to be certified by the Gambling Regulatory Authority or its approved agent. The certification covers statistical tests of randomness and the theoretical return to player. Under r.45(4), the theoretical return to player percentage of each game must be disclosed to the Authority.
Part IV of L.N. 112 also sets rules for the system around the game. Regulation 41(d) requires a secure, encrypted and tamper evident audit log, and r.41(e) requires real-time monitoring by the Authority through a secure application programming interface. Under r.47(2), the Authority tests and audits approved online gambling platforms every year, or procures an independent entity to do it.
If a result looks wrong, the first step is a complaint to the operator. Under L.N. 112 r.9(2)(e), a complaint the operator has not resolved after 72 hours must be referred to the Authority.
What the RNG does not decide
The RNG supplies chance, but it does not set how much a game pays back. That comes from the game's maths: the reel design, the paytable and the features. The long-run figure is the return to player, explained in what RTP means in slots.
BMM Testlabs, another lab, asks game makers for the maths model behind a game. Its list includes the hits and probabilities of each paying combination, and the RTP of the base game, the features and the overall game. The RNG makes each spin unpredictable, while the maths fixes the average over a very large number of spins.
Illustrative example: a slot with a theoretical RTP of 96% pays back an average of KES 96 for every KES 100 staked, measured over millions of spins. In a session of 100 spins at KES 10, the actual return can sit far above or far below KES 960. The RTP calculator turns an RTP and a stake into the expected cost.
What this means for a player
On a certified game, no time of day, stake pattern or run of results changes the odds of the next spin. Each spin is a fresh draw with the same chances as the one before. A plan built around patterns changes how much you stake, not what the game pays.
Certification has limits too. It shows that a tested version met a set of requirements, and it says nothing about whether the site offering the game holds a licence in Kenya. That is a separate check, made on the regulator's own list.
Questions and answers
Can anyone predict the next result of a slot's RNG?
No, not on a properly certified game. Labs such as GLI test RNGs so that outcomes cannot be predicted and show no bias towards certain results. Their checks cover the source code, the seeding, the period and range of the generator, and statistical tests of the results. Apps or sellers that claim to read the next spin are claiming something the testing exists to rule out.
Does a slot change its odds after a long losing run?
Not on a certified game. Each spin takes a new value from the RNG, and earlier results do not shift the chance of the next one. Labs run outcome distribution tests to confirm that results match the game's maths over many plays. A game that tightened or loosened its odds on its own would not match that maths. Features such as collection meters are separate and appear in the game rules.
Who certifies slot RNGs for games offered in Kenya?
L.N. 112 r.45(2) of the Gambling Control (Conduct of Gambling Operations) Regulations, 2026 says the RNG for all games of chance must be certified by the Gambling Regulatory Authority or its approved agent. The Regulations as gazetted do not name the approved agents. Independent labs such as GLI, BMM Testlabs and iTech Labs list RNG testing among their services on their own websites.
Does a certified RNG mean I will get my stake back over time?
No. The RNG only makes each spin unpredictable; the game's maths sets the theoretical return to player, and a slot keeps part of what is staked on average. Over a short session, results swing far above and below that average. L.N. 112 r.84 requires licensed operators to offer deposit, loss and session limits that you set yourself.
Is the result decided when the reels stop?
No. In a typical online slot the result is drawn when the spin starts, and the reel animation then shows that result. Stopping or skipping the animation, where a game allows it, only shortens the display. The value taken from the RNG at the start of the spin is what sets the symbols on screen and the amount paid.
Sources
- Gaming Laboratories International (GLI): iGaming & Esports Random Number Generator (RNG) Certification, read on 29 October 2026.
- Gambling Regulatory Authority of Kenya: Gambling Control (Conduct of Gambling Operations) Regulations, 2026 (Legal Notice No. 112 of 2026, Kenya Gazette Supplement No. 163), read on 29 October 2026.
- BMM Testlabs: Gaming Mathematics, RTP Analysis & RNG Testing, read on 29 October 2026.
- iTech Labs: iGaming Testing & Certification Services, read on 29 October 2026.