Fairness and Regulation

Evaluating Casino Game RNGs: Separating Fact from Fiction

How random number generators work in casino games, why myths about rigged or due outcomes persist, and how independent testing relates to them.

On this page
  1. Before the technical part
  2. What an RNG is
  3. How a number becomes a result
  4. Myths and what is actually true
  5. How testing relates to RNGs
  6. What follows for a player

Before the technical part

Casino games are games of chance with a built-in house edge. A random number generator makes results unpredictable, but it does not change the odds in the player’s favor, and no strategy, pattern or timing can. Most players lose money over time, and nobody should gamble money they cannot afford to lose.

What an RNG is

Digital casino games, such as online slots, virtual table games and many electronic machines, need a source of unpredictable results. A random number generator (RNG) supplies it. It produces a rapid stream of numbers, and the game converts those numbers into outcomes: a number might map to a card, a roulette pocket, or a set of reel positions.

Most casino RNGs are pseudo-random generators. They are software algorithms that start from an initial value, called a seed, and apply a mathematical process to produce a long sequence of numbers that behaves statistically like random data. Good designs produce sequences so long and so well mixed that, in practice, they cannot be predicted without knowing internal state. Some systems add unpredictable input from hardware sources to the seed, which makes the starting point harder to guess.

How a number becomes a result

The mapping step matters as much as the generator. Take a single-zero roulette wheel, which has 37 pockets. The game needs a number from 0 to 36 with every value equally likely. It draws from the generator and converts the draw into that range in a way that gives each pocket the same chance. The payouts are then set below the true odds, which is where the house edge comes from, as explained in the article on roulette payout ratios.

For slots, the generator picks positions on the virtual reels. Those virtual reels can have symbols weighted unevenly, so that rare symbols appear less often than a physical view of the screen suggests. That is the subject of reel weighting. The generator is fair in the sense that each draw is unpredictable; the weighting is part of the designed math and is disclosed through the return to player figure, not hidden by the generator.

A common point of confusion: the generator does not “run” only when you press spin. Many implementations keep cycling continuously, and pressing the button takes the value at that instant. This is why timing a spin carries no advantage, since you cannot know or influence which value is current.

Myths and what is actually true

Myth: A machine is due for a payout after a long losing run. Each result is independent. The generator has no memory of previous outcomes, and the game does not track whether you have been losing. The idea that a result must “even out” is the gamblers fallacy. The topic of hot machines covers the slot version of this belief in more detail.

Myth: Games adjust to make you lose when you are winning, or to let you win after you lose. In a properly designed and tested game, the outcome distribution is fixed by the math model and does not respond to your balance or history. Claims of hidden adaptive behavior are common online but are not how certified games are supposed to operate. Whether any specific game meets that expectation depends on the testing and oversight it receives, which is why those matter.

Myth: Patterns in past results reveal what comes next. A fair generator produces sequences that contain apparent clusters and streaks. Humans are good at spotting patterns and poor at judging how much clustering true randomness produces. Random streaks are expected in fair results, and a streak of the same outcome says nothing about the next one. The idea behind payout patterns in slots is the same mistake.

Myth: Visible near misses mean you were close to winning. The screen shows a result that has already been decided. The “almost” is a presentation of the outcome, not evidence of how close the generator came. See the article on near misses for how that works.

Myth: Online games are always rigged, or never can be. Neither is accurate. Software can in principle be built dishonestly, which is exactly why independent testing, licensing and oversight exist. At the same time, a game that has been verified and operates within a regulated framework is much less likely to behave dishonestly. The honest position is that risk exists, that it varies by place and operator, and that you reduce it by choosing licensed operators and avoiding rogue sites rather than by trying to detect cheating from results.

Myth: You can detect rigging from a short run of results. You cannot. Even a perfectly fair game regularly produces long unlucky stretches. Short-term results are far too noisy to distinguish a fair game from a slightly unfair one. Statistical variance explains why session outcomes swing so widely.

How testing relates to RNGs

Independent testers typically examine a generator in several ways, without naming any organization here:

  • Statistical tests on large samples of output, checking that numbers are spread as expected and that there are no detectable correlations between consecutive values.
  • Review of the design and code, including how the seed is created and protected.
  • Checks of the mapping, confirming that the numbers become outcomes in the intended proportions.
  • Version control, verifying that the software in use matches the software tested.

What testing cannot do is prove the absence of every possible flaw, or monitor behavior forever. A pass means the tested version met the standard at the time. The article on game certification discusses these limits, and the idea of provably fair systems offers a different, verifiable approach for certain crypto-based games.

What follows for a player

The practical conclusions are plain. The generator makes each result independent. Streaks and clusters are normal. Nothing about your previous spins or timing improves the next one. And a tested generator confirms fairness of the draw, not a small house edge.

If you play, set a budget you can afford to lose, treat it as the cost of entertainment, and stop when it is spent. If gambling is becoming hard to control, contact a local support service.

The complete guide to fairness and regulation

A Review of Casino Game Certification Programs: What Do They Mean?
Read the guide

Keep exploring

Guides from other topics

All topics →