How Random Slot Machines Works

How are slot machines programmed? EVERY online slot game uses a random number generator computer which creates random sequences every millisecond to ensure that every slot is fair and not fixed. This random number system is built into all slots and all licensed casinos, ensuring a. A slot machine is an electro-mechanical gambling machine utilizing randomized numbers to provide probable results. How a slot machine work is both more complicated. Random Number Generator – RNG. The random number generator, or RNG, is the core of how modern slot machines work. The RNG is a computer program that does just what it says: generate random numbers. Here’s an example: Let’s start with a simple example to show how a random number generator works.

There are two ways that computers can generate random numbers:

You can create some sort of device that monitors a completely random natural event and sends its results to the computer. For example, you could place a piece of radioactive material in front of a Geiger counter and connect the Geiger counter to a computer. Since radioactive decay is random, the Geiger counter would create truly random numbers. This approach is pretty rare, because not many people have Geiger counters connected to their machines. You can create a formula that generates a pseudo-random number. When designing the formula, the idea is for it to produce a string of numbers that would look random to anyone who did not know what the formula is. Characteristics of a good formula include:

Advertisement

How Random Slot Machines Works

Advertisement

  • No repetition: The sequence does not cycle around and repeat itself. Good numeric distribution: If the formula is producing random numbers between 0 and 9, the number of zeros, ones, twos, etc. that it produces should be roughly equal over a long period of time. Lack of predictability: You have no way to predict what the next number will be unless you know the formula and the seed (the initial value).
Slot

Here's an example of a simple random-number formula from the book 'The C Programming Language,' by Kernighan and Ritchie:

This formula assumes the existence of a variable called random_seed, which is initially set to some number. The random_seed variable is multiplied by 1,103,515,245 and then 12,345 gets added to the product; random_seed is then replaced by this new value. This is actually a pretty good pseudo-random number generator. It has a good distribution and it is non-repeating. If you use it to produce random numbers between 0 and 9, here are the first 20 values that it produces if the seed is 10:

If you have it produce 10,000 values between 0 and 9, here's the distribution:

Any pseudo-random number formula depends on the seed value to start the sequence. If you start with the same seed, you will get the same sequence of values from the formula. So if you give the rand() function shown above the seed of 10 on one computer and look at the stream of numbers it produces, it will be identical to the stream of numbers produced on any computer that runs it with a seed of 10. In the case of the Global Positioning System, this reproducibility is used as a way to give each satellite a predictable but different pattern of values that the GPS receiver can track.

To create a random and unpredictable sequence, the seed must be a truly random number. To get this truly random number for the seed, most programs use the current date and time, converted to an integer value (for example, converted to the number of seconds that have elapsed since January 1, 1970). Since this is a different number every time you start the program, it makes a good seed.

For more information on computers and programming, see the next page.

Advertisement

Related HowStuffWorks Articles

More Great Links

A slot machine is an electro-mechanical gambling machine utilizing randomized numbers to provide probable results. How a slot machine work is both more complicated and interesting than you would think. The machine features a payout table, reels, winning paylines, a credit meter, and arm or spin button.

The payout table shows the player what each of the combinations is worth when three, four or five identical symbols appear on a single payline. Classic slots feature a single payline while video slot offers multiple payline or calling winning lines across the reels, so with most slots options are given on how many payline you want to wager on. Each of the paylines is equal to one bet, so by selection a one-coin bet across five paylines it will equate to betting of 0.05, should the coin denomination value equal 0.01.

The credit meter keeps track of the number of credits the player has, also referred to as the player’s bankroll and subtract bets, while it also adds winnings. The main reason why the credit meter in most cases shows credits instead of money or cash amounts is that for the player, losing credits are not as traumatic as losing money.

Random Winner Generator Slot Machine

The spin button should only be used once you have selected the number of paylines as well as the coin denomination and number of coins per payline, once the spin button is selected, the button locks the setting, and select a series of random numbers, while the reels spin.

The RNG is responsible for ensuring that the result of every spin is fair and random number generated. The RNG generates thousands of numbers per second and RNGs are also assisted via the use a method that gathers thermal noise and transforms that into electrical signals to assist in generating the numbers as computers on their own are only able to generate pseudo-random numbers.

Reels are basically for the show since by the time they start spinning the slot machine already has the outcome of the spin. The reason for reels being added for visual purposes only is that the spinning and reels coming to a halt in sequence builds suspense and excitement for the player, while it also keeps gamblers interested. Each of the reels usually offers 20 to 30 stops, which are the symbol spaces on the reel.

Each slot machine also has an EPROM, this is the erasable programmable with a read-only memory, which regulates the weighting of the machine, it ensures the desired payout percentage is reached.

Random Name Picker Slot Machine

Are Slot machines designed in such a way that they are tamper-proof to both the casino and the players?

How Random Slot Machines Worksheet

Slot machines are created and designed in such a way that they are tamper-proof to player and casinos. In land-based casinos, the slot screen and cabinets act as the Faraday cage that disperses ground electrical signals and disperses electricity, which prevents electrical signals from outside the cabinet to interfere with the mechanical processes of the slot machine. The screen is coated in an electrically conductive chemical, it is connected to the metal cabinet to enable conductivity between the screen and the machine.

The EPROM of slot machines are tested and programmed in the factory before it is placed inside the machine, each is fitted with an evident sticker securing it. The chip is reprogrammable by using an ultraviolet light and therefore it would need removal from the machine to be reprogrammed and this process is only allowable when a gaming authority is present. The slot reels are fitted with sensors sensitive enough to detect any extra movements so anyone attempting to change the reels manually will cause an error to the display and any winning on the LCD screen will be annulled as the display instantly turns to display errors.