THE INNER WORKINGS OF VIEDO POKER
In order to get the most out of your video poker playing experience, it is important to understand exactly how a video poker machine operates. Don’t get me wrong, you can still be a skilled video poker player without knowing how things work inside the game. Just like you do not need to know how electricity works to turn on a light switch or plug in an appliance, it helps to make sense out of things should something out of the ordinary happen.
RANDOM NUMBER GENERATOR – THE HEART OF VIDEO POKER
According to Wikipedia, a random number generator is computational or physical device designed to generate a sequence of numbers or symbols that cannot be reasonably predicted better than by random chance. Today’s slot machines and video poker games use a random number generator that uses computational algorithms that produce long strings of apparently random results. These seemingly (but not) random numbers are also called pseudo random numbers. The algorithms used in today’s casino games are sophisticated enough to pass several tests of random properties required by gaming control officials to ensure unbiased games.
EARLY VIDEO POKER MACHINE INNER WORKINGS
Early versions of video poker machines chose a fairly basic and straightforward method of using the random number generator to shuffe and deal all the cards required to complete a hand of video poker. The random number generator continued to cycle through thousands of numbers per second until the player hit the Deal button. At that instant, the next 10 numbers from the random number generator were used to determine 10 cards to deal; five cards to make the initial hand and an additional five cards to replace any cards that were discarded. Each of the first five cards had a card “behind” it. If a card was discarded, the card that was behind it became the card played. The random number generator continued cycling, but was not used for the duration of that hand.
This method worked well for years. That is, until a couple of sharp and enterprising video poker players started to notice patterns in the cards dealt.
Even though the random number generator passed all the gaming commission tests for randomness; there was, indeed, a pattern to the numbers. The two played a lot of video poker. As they played, they began to notice that when a certain five cards were displayed in order, the cards replacing the discarded ones were also the same ones as previous hands containing the original five cards.
Through painstaking observation and documentation, they were eventually able to document enough patterns to be able to gain an advantage over the house.
Feeling invincible with their newfound knowledge, the pair began to hit casinos throughout Las Vegas. They played quarter machines, and then they played dollar machines. They played longer and longer sessions. The money was rolling in.
Then, as is so often the case when people get greedy, the casino started to notice that at certain times, some of their video poker machines paid out much more than was reasonably possible. The casinos started a surveillance program.
Not long after, the pair was caught. The casinos tried all the heavy handed tactics they could to prove the pair was cheating but eventually dropped charges in exchange for information about how they did it.
Armed with this information, the casinos contacted the video poker game manufacturer with what they found.
VIDEO POKER MACHINE INNER WORKINGS ARE ENHANCED
Almost immediately, the games were modified to prevent a recurrence of the same expensive situation. Here is what they did.
- The random number generator still cycle continuously until the Deal button is pressed.
- The next five numbers from the random number generator are used to generate the five card poker hand.
- The random number generator continues to cycle continuously until the player selects the cards he wants to save and presses the Draw button.
- It is at this instant that the machine uses the next numbers from the random number generator to determine the cards that replace the discarded ones.
By changing the process, it is virtually impossible to discern any patterns. There are too few cards selected at each point and there can be a significant delay between each call for cards.
VIDEO POKER MACHINE INNER WORKINGS ARE HIGHLY COMPLEX
The very early mechanical poker machines were reasonably complex. While it took some knowledge to make the very first 50 card mechanical poker machines, virtually all of the technology used was already available in the slot machines of the era. It took a lot more mechanical knowhow to create the option of replacing some of all of the cards shown after the first spin.
But as complex as those machines were, they pale in comparison to the complexity of today’s video poker machines. While it is true that the video poker games of today are physically fairly simple, that is, they are basically the same setup as a slot machine; the software programming that controls them is incredibly complex. It contains thousands of lines of code. While the original basic Jacks or Better game might be reasonably simple to program, the vast majority of today’s video poker games have the option to select one of dozens of games to play. Each of those games may have features not available in other games on the same machine. Each of those games, when selected, has to show the state of that particular game as of the last time it was played. Some games may be progressive. Other games may have a double up feature where the player has the choice to go double or nothing with a winning hand. Add the ability to choose the denomination of the game you want to play, whether nickel, quarter, half dollar, a dollar or even more, and the complexity level multiplies.
VIDEO POKER MACHINE INNER WORKINGS HAVE BEEN EXPLOITED
So complex is the programming of today’s video poker machines that despite strict programming controls, rigorous debugging and testing protocols, and follow up verification from local and state gaming commissions, unintended bugs and loopholes have slipped through to games on the casino floor.
One highly publicized example of this type of error happened to be noticed quite by accident. In late April 2009, John Kane was playing a low-limit row of Game King machines in the Fremont Casino. He had been switching among several games and had a modest win so he decided to cash out. To his surprise the machine locked up and the jackpot light on top of the machine lit up. He had won more than $1,200. He had not even played another hand so he knew it was an error. He told the slot attendant about the error, but the attendant thought he was joking and paid him anyway.
Kane called a friend, Andre Nestor, and told him of the strange occurrence. Nestor flew to Las Vegas and the pair went to the Fremont to try to determine the exact string of events that caused the welcomed error.
The main draw of the Game King is its flexibility. That was also the cause of its downfall. The programming that allowed for switching between dierent denominations had a flaw which allowed the player in certain situations to switch denominations retroactively and be awarded the winning credits in the new and higher denomination.
Kane and Nestor found out exactly how to recreate the error and proceeded to rake in the profits. Kane eventually got a bit greedy and was apprehended at the Silverton Casino in Las Vegas. Though the authorities tried, they were unable to convict the pair of anything and ultimately dropped charges, but the error was exposed and corrected.
KEY TAKEAWAYS
A random number generator (or RNG for short) is the heart of a video poker machine. While it does not generate true random numbers, the pseudo random numbers generated are close enough to random to pass gaming regulators requirements.
Because early video poker software would generate 10 cards at once (the original five card hand and five to replace any cards the player discarded) it was possible to detect a pattern in the cards. Some sharp players did detect patterns and won large amounts before casino management caught on and forced a change in the process of how cards were generated.
It is now virtually impossible to detect patterns in the cards generated, so today’s video poker machines can truly be thought of as random.
The programming of video poker machines is highly complex. In fact, so much so that on rare occasions, glitches make their way into the code. Some have been noticed by sharp individuals and exploited. However, as soon as glitches are detected, they are eliminated.