Showing posts with label pokerstars win at poker. Show all posts
Showing posts with label pokerstars win at poker. Show all posts

Friday, August 14, 2009

Online Poker The Random Number Generator

As many people are aware, online poker rooms (as well as any online gambling site) uses what is called a random number generator to produce what would appear to be a random outcome in each hand.

This article will explain the Random Number Generator (also called Pseudo-Random Number Generator, PRNG or RNG). The purpose of this article is to familiarize players with the 'inner workings' of the software used in the Online Poker rooms and the way cards are produced in a deal.

The use of a RNG is nothing new, as it actually dates back hundreds of years before the computer was even conceived. Mathematicians as early as the 1700's used a random number process to try and determine outcomes of specific problems.

The advent of the computer presented a challenge for scientists and programmers wanting to produce a seemingly random action from the computer, and therefore an assembly code language function was implemented called RAND also known as randomize and RND. This function would be attached to a program and assigned a variable to select a random number.

However, the program required a 'seed' number to begin its process of selecting what would appear to be a random number, otherwise it would produce the same series of numbers each time the program ran. Therefore, early programmers used the timer function on the CPU in order to produce a different series of seemingly random numbers each time the program ran.

This was somewhat acceptable and appeared to produce a different random result each time. However, after several thousand runs of the program, it became easier to 'predict' what series of numbers would come out. This gave a challenge to programmers to find a way to actually produce what would seem to be a truly random result, one that could not be predicted or repeated in any short course of time.

Ultimately, a mathematical method was derived that gave the RNG's a better way to produce a more realistic way of generating random numbers. In addition, experiments using white noise generators to produce the seed were also successful. Both of these among other secondary methods to produce a seemingly random result are used today in all major Online Poker rooms.

Now for the DEAL!

How does that affect the deal of cards, you may ask. Well, actually, the modern RNG programs are more beneficial then the software used several years ago. The sophistication of the randomness is better for the player, because the predictability of a card is much harder, and the RNG is designed to curtail cheating. However, it is not the best method and has many failures.

The Major Fail

A standard 52 card deck has a total number of possible combinations of 80,658,175,170,943,878,571,660,636,856,404,000,000,000,000,000,000,000,000,000,000,000,000

Thats a BIG number, in fact, there is no name for a number that large except to say it is 8 times 10 to the 67th power.

What this means is that if you lay out all 52 cards in order, that is one possible combination of the deck, you shuffle the cards and lay them out again, they obviously are in a different order, and that would be a second combination, repeat this process and each time you would get a different sequence or combination of cards laid out on the table. It would require a minimum 8 times 10 to the 67th power 'deals' to repeat the exact same sequence of cards.

In essence, a deck of cards is ideally suited to an RNG because of the endless variety of combinations of a deck. However, there is no possible way any computer in existence has the ability to store every combination (it would require at the bare minimum a 256 bit processor and a whole lot of speed!) and since most servers use only a 32 or 64 bit architecture they are only able to process a small fraction of all possible combinations.

Two Pigeons; One Hole

This is known as the Pigeonhole Principle, wherein the theorem states that there does not exist an injective function on finite sets whose co-domain is smaller than its domain. In other words, you can not put two objects into a container that is physically only able to hold one object.

So what happens to the billions of possible deck combinations? Simple, they are never used, processed or even appear in the online poker RNG. They do not exist as far as the program is concerned.

In reality, out of the 8x10^67 possible combinations only about 4 billion deck combinations are used in a 32bit architecture. This greatly reduces the number of possible hands you can make, and also is a basic explanation as to why there are so many bad beats and made hands in online poker.

For this reason, you will notice more straights, more flushes and more often full houses appear at showdown. The program, by reducing all the possible combinations down to less than 1/20^58, now forces a lot of action and produces a lot of big hands, because it strips away all the outer-dimensional deck combinations. (How often do you see high card, one pair or two pair win?)

In conclusion, the RNG used in online poker is never able to truly produce a random deck or outcome, simply because the program does not use all possible combinations of decks. There are other reasons the deck may be stacked against you and we will explore those in upcoming articles.

I hope this article is helpful to you in understanding how the RNG produces a 'random' deck of cards and invite you to subscribe or bookmark this blog to learn more about online poker.

This post is intended to give a brief oversight of some of the inner workings of the online poker RNG, in the next post, I will explore how the RNG can actually be manipulated to your advantage.

Monday, January 12, 2009

The Phenomena of 'My Favorite Hand'



Yesterday, I played the Wheeling Island Casino $40 Sunday tournament. A nice tournament with a relatively small field of 51, however well worth the investment for the $550 first place.

In the home stretch we were down to 2 tables of 6 each, with the pay out to the top 10. I was sitting just under the average with about $6500 in chips. The blinds are 400/800 with a 100 ante. The player to my right has played quite aggressive most of the tournament raising at every opportunity. In this particular hand he went all in with $3200, I looked down at AJ off suit. I was the button, so I sized up the BB and SB, the SB had about $4000 while the BB had less than $2000 behind him.

I was quite sure the SB would fold, while the BB would most likely call since he had about 1/3 of his chips in already. I thought for a moment and assessed the damage if I called and lost, after all, since I was sure the BB would call I did not want to be up against 2 hands with my AJ. I decided to fold thinking it is possible he picked up a monster hand this time. The SB folds and the BB, (to my surprise) folds.

As the raiser mucked, he stated, "Had my favorite hand" I noticed as his cards went into the muck what appeared to be a black '6'. I thought to myself, "What? His favorite hand includes a 6?"

(Needless to say, my patience in waiting was well-rewarded when he later pushed all in with his K J off suit against my AA, he lost and busted out before the money.)

I can not imagine any hand that includes a '6' as a good starting hand unless it is pocket 6's. Nevertheless, I am always amazed at how people latch onto their (or other's) favorite hand. Willing to take great risks based on the belief that a favorite hand holds some magical power.

This phenomena is usually associated with the fact that the player has won a huge pot or achieved a fantastic suck out based on that hand at some time in the past. However, is playing your favorite hand a wise choice?

Everyone is familiar with the 'Doyle Brunson' favorite hand of 10 2. After all, he won two major tournaments holding these cards. Since then, the poker world has latched onto Doyle's 10 2 as though it were the 'nuts'! Keep in mind Doyle played his 10 2 while heads up. He had no reason to fold his 10 2 since his opponents took no steps to push him out of the hand.

I witnessed another instance of a favorite hand, when I was in a large tournament, 1st place was $2500.00, and buy in was $65. The field was down to 5 people, I was in the big blind with 9 4 off suit. Under the gun limped while the rest of the table folded. The flop came down 7 9 3, I had barely enough to make one more round and figured I will make a stand here since I have top pair, and my opponent likely has only over cards. My all in was about half his chips; so I felt confident he would likely fold.

I pushed all in, he called, and that impending doom feeling you always get when you are 'on the ropes' hit me. However, I was totally shocked when he showed 8 3 off suit! Although I was ahead, the turn was not kind as an 8 came down and a jack on the river. I was busted out by 8 3. I remarked to the guy what a terrible call it was, shook his hand, and graciously left the table. From that day on, every time I saw him or the 8 3 I referred to the hand as the ‘Bracken’ (his first name).

Anytime we would play tournaments or cash games and the 8 3 was on the flop, or I held it, I would make a remark about ‘The Bracken’ hand. Several months later, Bracken approached me and confessed that the ‘Bracken’ (8 3) had cost him literally hundreds of dollars. He was actually playing this hand as his favorite hand, and it was costing him tons of money!

Consider one very important concept before attaching yourself (and your money) to a ‘favorite hand’. Is this hand really making me money? After all, we play poker to win, not because of some lucky hand that is going to get us there every time. Before playing your favorite hand again, add up all the money that you made playing it. Now subtract all the money you lost with it. You may soon find out, that favorite hand is not your bankroll’s favorite.

For more great tips and strategies on No Limit Texas Hold ‘em, read 101 Winning Moves.

Incidentally, my favorite hand is ‘The Winning Hand’ Good Luck at the Tables!