Know When to Hold 'em
We show how to use Python and CherryPy to turn your Raspberry Pi and a handy display into your own online poker game.
Lead Image © Roman Volkov, 123RF.com
We show how to use Python and CherryPy to turn your Raspberry Pi and a handy display into your own online poker game.
Poker is a card game that has stood the test of time. From the saloons of the old west to the starship Enterprise, poker has been found at the center of social gatherings. As technology evolved, card games found their way into the digital realm as well.
In this article, I'll describe how to turn your Raspberry Pi and LCD TV or projector into a virtual poker table. A built-in web interface shows your hand (your cards) on your phone or tablet.
Poker ultimately comes down to creating the best possible hand of five cards [1]. The highest ranked hand wins; see the "Poker Hands" box for details. The best hand possible is a straight flush. That's five cards in order in the same suit. A straight flush from the 10 through the ace is called a royal flush. On the opposite end is the high card, where the winning hand is literally just the highest card in play. All suits are equivalent in poker; if you have a straight flush of the 2 through the 7 of hearts and I have a straight flush of 2 through 7 of clubs, then we have tied.
[...]
Pages: 8
Price $15.99
(incl. VAT)