Newsletter Signup
Stay informed with the
NEW Casino City Times newsletter! Recent Articles
Best of John Robison
|
Gaming Guru
How does a slot machine use the numbers from the RNG?11 August 2008
Dear Natasha, Here's how the program running a slot machine takes a number from the RNG and uses it to figure out what symbol should land on the payline. As you say, the number can range from 0 to about 4 billion -- at least that's the range of IGT's RNG according to Kilby and Fox in Casino Operations Management. There's no slot reel anywhere that has 4 billion stops on it, so the number has to be transformed to the proper range. The range we want is not the number of stops (blanks and symbols) on the reel you see in the slot machine, but the number of stops on the virtual reel defined by the slot's programmers. Here's a typical reel strip from a Double Diamond machine. This is the layout of the symbols you can see on the physical reel in the machine.
Here is the layout of the virtual reel in the same machine. You can't see this layout, but it is the layout that determines the probability of a symbol landing on the payline. This table lists the 72 virtual stops and which of the 22 physical stops is mapped to it.
As you said, the easiest way to get the number from the RNG into the proper range is with modulo arithmetic. Let X be the number from the RNG, then X MOD 72 gives us a number from 0 to 71. We can add one to the result to get a number fom 1 to 72. Suppose the result at this point is 52. The program looks at entry 52 in the virtual reel table. This virtual stop maps to physical stop 16. The program can now stop the reel at physical stop 16. This process can be called indirection. The MODded number isn't the physical stop itself, but rather it is an index into a table that gives us the physical stop for that index. The same procedure is used for the other reels on the machine. Most machines have the same physical and virtual reels for all reels, but some don't. After all the stops have been selected, the program needs to check if there is a winning combination. It uses the physical stop selected on each reel to look in the Physical Reel Table to see what symbol is at that stop. (In our example, the symbol at physical stop 16 is Single Bar.) The program then looks in another table to see if the combination is a winning combination. If it is, it awards the player the proper number of coins based on the number of coins wagered. Hope this helps, Send your slot and video poker questions to John Robison, Slot Expert, at slotexpert@comcast.net. Because of the volume of mail I receive, I regret that I can't reply to every question. This article is provided by the Frank Scoblete Network. Melissa A. Kaplan is the network's managing editor. If you would like to use this article on your website, please contact Casino City Press, the exclusive web syndication outlet for the Frank Scoblete Network. To contact Frank, please e-mail him at fscobe@optonline.net. Recent Articles
Best of John Robison
John Robison |
John Robison |