Books (By Me!)
Events (I Speak At!)
-
Recent Posts
Archives
Categories
Category Archives: Poker
A Lightweight Five-Card Poker Library Using JavaScript
One evening, I just couldn’t fall asleep. So I decided to implement a lightweight five-card poker library using JavaScript. My library has a Card class, a Hand class, and a SingleDeck class. The three main functions are: 1.) classify a … Continue reading
Posted in Poker
Leave a comment
Computing the Hand Probabilities for an Old 1970s Five-Reel Poker Machine
One morning before work, I decided to put together a simulation to compute the poker hand probabilities for an old 1970s vintage five-reel poker machine I bought from eBay. (It was my first ever eBay purchase). The machine reel configuration … Continue reading
Posted in Poker
Leave a comment
A Lightweight Five-Card Poker Library Using Python
One morning before work, I decided to implement a lightweight five-card poker library using Python. My library has a Card class, a Hand class, and a SingleDeck class. The three main functions are: 1.) classify a hand (like “FullHouse”), 2.) … Continue reading
Posted in Poker
Leave a comment
Computing Probabilities for Antique Five-Card Poker Machines
One evening, after work, I decided to write a computer simulation to compute the probabilities of each hand type for an antique slot machine style poker game, like the one pictured below. These were called trade stimulators. Bar owners would … Continue reading
Posted in Poker
Leave a comment
Computing Five-Card Poker Hand Probabilities Using Simulation With C#
There are ten main five-card poker hands. From highest to lowest: 1.) royal flush, 2.) straight flush, 3.) four of a kind, 4.) full house, 5.) flush, 6.) straight, 7.) three of a kind, 8.) two pair, 9.) one pair, … Continue reading
Posted in Poker
Leave a comment
Getting the Best Five-Card Poker Hand from Seven Cards using C#
I recently implemented a playing Card class and a five-card poker Hand class and a SingleDeck class using C#. I remember working on an old project where the goal was to determine the best five-card poker hand from seven cards. … Continue reading
Posted in Poker
Leave a comment
Adding a Deck Object to My C# Five-Card Poker Hand Program
Every few years, I take another look at creating a library of functions for a five-card poker hand. I recently created C# code for a Card class and a Hand class, and functions to classify a Hand (“ThreeKind”, “TwoPair”, etc.) … Continue reading
Five-Card Poker Hand Comparison Using C#
A few days ago I put together a C# program that creates and classifies five-card poker hands. For example, the hand “Ac As Kh Kd 7c” is “TwoPair”. See the blog post at https://jamesmccaffreyblog.com/2024/02/02/five-card-poker-hand-classification-using-csharp/. My classification demo has ten possible … Continue reading
Five-Card Poker Hand Classification Using C#
One holiday weekend morning, I decided to entertain myself by putting together a program that creates and classifies five-card poker hands. For example, the hand represented by “Ac 3d Ah Qs 3c” is “TwoPair”. The possible hand types are: “RoyalFlush”, … Continue reading
Posted in Poker
2 Comments
.NET Test Automation Recipes
Software Testing
SciPy Programming Succinctly
Keras Succinctly
R Programming
2026 Visual Studio Live
2025 Summer MLADS Conference
2025 DevIntersection Conference
2025 Machine Learning Week
2025 Ai4 Conference
2025 G2E Conference
2025 iSC West Conference
You must be logged in to post a comment.