Ice Cold Decks
5 Oct 2009
Any idiot can stack a cold deck to trick an opponent in Texas Hold'em Poker into losing all his chips. However usually the player on the right of the dealer cuts the deck, which means the cheater must swap the deck after this point, which makes it much harder to do subtly.
I do not condone cheating in poker, it is immoral, dangerous and often illegal, but out of curiosity I was wondering if it is possible to stack a deck so that no matter which way it is cut, the winning hand is always dealt to the dealer. This would be fun to use as a magic trick, to be able to consistently predict the winning hand. I was skeptical at first, but after running a hastily written script for about half an hour I found such a deck for 2 player heads up:
- A spades
- T spades
- 4 clubs
- 2 clubs
- K clubs
- 9 hearts
- 8 hearts
- 9 spades
- 8 clubs
- T clubs
- 8 diamonds
- 9 clubs
- 8 spades
- 9 diamonds
- 4 diamonds
- Q diamonds
- 5 diamonds
- T hearts
- 5 clubs
- T diamonds
- 7 hearts
- A diamonds
- 6 diamonds
- A clubs
- 4 spades
- J hearts
- K spades
- A hearts
- 3 hearts
- K diamonds
- 7 diamonds
- 6 hearts
- 5 hearts
- K hearts
- 3 diamonds
- Q hearts
- 3 clubs
- 2 hearts
- Q spades
- J clubs
- 7 spades
- J diamonds
- 3 spades
- 6 spades
- 6 clubs
- 7 clubs
- 4 hearts
- 2 spades
- 5 spades
- J spades
- Q clubs
- 2 diamonds
(hover your mouse over the cards to see the hands that would be dealt)
Give it a go: stack a deck like this (so the 10 of diamonds is on the top of the deck), cut it in any way, deal cards to two players in the usual fashion, deal the community cards (don't forget the burned cards), and you will find that the dealer always wins.
After this, I began wondering, is it possible to do this with 3 players? A few speed improvements to the script and I got just that:
- A spades
- 8 clubs
- T hearts
- A diamonds
- 4 diamonds
- K diamonds
- 2 hearts
- 4 clubs
- Q clubs
- 9 diamonds
- 7 clubs
- 5 clubs
- 2 clubs
- J hearts
- Q hearts
- 2 spades
- J clubs
- 8 spades
- 9 clubs
- K hearts
- 9 hearts
- A hearts
- T spades
- 3 hearts
- 9 spades
- 3 spades
- 7 spades
- 6 clubs
- 6 spades
- 7 hearts
- 8 diamonds
- 4 hearts
- 6 diamonds
- T diamonds
- 2 diamonds
- J spades
- 3 clubs
- 5 hearts
- 7 diamonds
- 3 diamonds
- A clubs
- T clubs
- Q diamonds
- 4 spades
- 5 diamonds
- 6 hearts
- K clubs
- 8 hearts
- Q spades
- 5 spades
- J diamonds
- K spades
And 4 players, though this one took the computer about 6 hours to find:
- A spades
- 3 spades
- 4 hearts
- 9 hearts
- 7 hearts
- 8 spades
- 6 hearts
- 5 spades
- 6 spades
- J hearts
- 5 diamonds
- T spades
- Q diamonds
- K diamonds
- K spades
- 2 diamonds
- 7 diamonds
- T diamonds
- 4 diamonds
- 8 clubs
- 6 diamonds
- 9 clubs
- 3 diamonds
- 3 clubs
- 5 clubs
- A diamonds
- 2 spades
- 2 clubs
- 4 spades
- 6 clubs
- 5 hearts
- Q clubs
- Q hearts
- K clubs
- T hearts
- 9 diamonds
- 3 hearts
- Q spades
- 8 hearts
- K hearts
- A hearts
- 9 spades
- J spades
- 4 clubs
- 7 spades
- J clubs
- A clubs
- 8 diamonds
- 2 hearts
- T clubs
- J diamonds
- 7 clubs
I've tried searching for a 5 player deck, but at the moment the heuristic has only
found one where the dealer wins 50/52 of the possible cuts...
Five player deck now solved!
- A spades
- 6 clubs
- 4 spades
- 8 hearts
- 2 spades
- T hearts
- 3 diamonds
- Q hearts
- 7 diamonds
- K hearts
- 9 diamonds
- 5 hearts
- J diamonds
- A hearts
- 6 diamonds
- 4 hearts
- 8 clubs
- 2 hearts
- T clubs
- 3 spades
- Q clubs
- 7 spades
- K clubs
- 9 spades
- 5 clubs
- J spades
- A clubs
- 6 spades
- 4 clubs
- 8 diamonds
- 2 clubs
- T diamonds
- 3 hearts
- Q diamonds
- 7 hearts
- K diamonds
- 9 hearts
- 5 diamonds
- J hearts
- A diamonds
- 6 hearts
- 4 diamonds
- 8 spades
- 2 diamonds
- T spades
- 3 clubs
- Q spades
- 7 clubs
- K spades
- 9 clubs
- 5 spades
- J clubs
Update 19/2/10 - A special case constructed by logic (not with a computer) has been devised for 6 player small blind by a man named Tom Darrow [link], can similar techniques be used to solve other decks?
- A spades
- Q diamonds
- T spades
- 8 spades
- 6 diamonds
- 4 spades
- 2 spades
- K spades
- J hearts
- 9 hearts
- 7 hearts
- 5 hearts
- 3 hearts
- A clubs
- Q clubs
- T hearts
- 8 clubs
- 6 clubs
- 4 clubs
- 2 clubs
- K diamonds
- J diamonds
- 9 diamonds
- 7 diamonds
- 5 diamonds
- 3 diamonds
- A hearts
- Q spades
- T clubs
- 8 hearts
- 6 spades
- 4 hearts
- 2 hearts
- K clubs
- J spades
- 9 spades
- 7 spades
- 5 spades
- 3 spades
- A diamonds
- Q hearts
- T diamonds
- 8 diamonds
- 6 hearts
- 4 diamonds
- 2 diamonds
- K hearts
- J clubs
- 9 clubs
- 7 clubs
- 5 clubs
- 3 clubs
It turns out some really high number of players (11, 12, 16, 18) have easily solvable solutions for particular players, the question now remains: how much of the table below can be made green?
Click the table cells see the decks.
| 2 | 52 | 52 | ||||||||||||||||||||
| 3 | 52 | 52 | 52 | |||||||||||||||||||
| 4 | 52 | 52 | 52 | 52 | ||||||||||||||||||
| 5 | 52 | 52 | 52 | 52 | ||||||||||||||||||
| 6 | 52 | 52 | ||||||||||||||||||||
| 7 | ||||||||||||||||||||||
| 8 | ||||||||||||||||||||||
| 9 | 52 | |||||||||||||||||||||
| 10 | 52 | 52 | ||||||||||||||||||||
| 11 | 52 | 52 | 52 | |||||||||||||||||||
| 12 | 52 | |||||||||||||||||||||
| 13 | ||||||||||||||||||||||
| 14 | 52 | |||||||||||||||||||||
| 15 | 52 | |||||||||||||||||||||
| 16 | 52 | |||||||||||||||||||||
| 17 | ||||||||||||||||||||||
| 18 | 52 | |||||||||||||||||||||
| 19 | ||||||||||||||||||||||
| 20 | 52 | |||||||||||||||||||||
| 21 | 52 | |||||||||||||||||||||
| 22 |
This magic trick has been featured on Scam School.