1. Home

Discuss in my forum

Understanding the Random Number Generator (RNG)

The RNG Program


The Random Number Generator (RNG) is the brains of the slot machine. While most player know that there is a computer chip picking the numbers, they do not fully understand how it works and this can lead to some of the many myths and misconceptions about a slot machine. One of the most common myths is that a machine has a cycle that can let a player know when it is due to hit. Many “Snake Oil Salesmen” will try to sell you a system for doing just that. Save your money it can’t be done.

Inside the slot machine is a microprocessor similar to the one in your home computer. Instead of running Word or Excel, it runs a special program, the RNG, that generates numbers to correspond to the symbols on the reel of the slot machine.

You might say that the RNG is in perpetual motion. As long as there is power to the machine it is constantly selecting random numbers every millisecond. The RNG generates a value between 0 and 4 billion (approx number) which is then translated into s specific set of numbers to correspond to the symbols on the reels. The outcome of each spin is determined by the number selected by the RNG. This number is chosen when you hit the spin button or deposit a coin.

The RNG uses a formula known as an algorithm which is a series of instructions for generating the numbers. The scope of this is beyond most of our mathematical knowledge but can be checked for accuracy. This is done by the Casino Control Board and other testing laboratories to make sure that the program performs as it should so the player will not be cheated.

While all of this may sound reasonable it still does not give the layman a basic understanding about how the RNG works. I would like to try to explain it in a simplified manner that I think most of us can relate to. Although this is not precisely how the RNG operates it should give you a basic understanding of the principles of how the winning spins are determined.

Reel type slot machines have a number of spaces on each reel that contain a symbol or blank. These are refereed to as the physical stops. Most of the old mechanical machines had reels that could hold 20 symbols while the modern slots have reels with 22 physical stops. The micro processing technology allows the new machines to be able to accommodate a large number of “Virtual stops” which I will explain in a future article.

For this example, let’s simplify things and imagine that there are only 10 stops on each reel. With 10 stops there can be 1,000 different combinations. We get this number by multiplying the number of symbols on each reel. (10 x 10 x 10 = 1,000) The 1,000 combinations that can be attained are known as a cycle and this is the word that sometimes confuses a player into thinking that the machine has cycles of winning and losing.

The odds of a three number combination being picked are one in a thousand. Theoretically if you play 1,000 spins you should see each of these number combinations once. However we all know that this is not the case. If you played a million spins you would see that the numbers would even out to be closer to the actual probability. This is similar to flipping a coin 100 times. Although the odds are 50 -50 you are unlikely to see 50 heads and 50 tails after 100 spins.

Many of you have seen the Daily pick 3 lottery drawing. They have three glass bowls or drums each containing ten balls numbered 0 -9. The balls are mixed up and when the top is lifted a ball pops up the tube showing you the first number. This is repeated for the second and third number to give you a three digit winning combination.

On the next page I will relate this to the slot machine RNG.

  1. About.com
  2. Home
  3. Casino Gambling
  4. Slots & Video Poker
  5. Slots
  6. Random Number Generaton RNG>

©2014 About.com. All rights reserved.