Poker Hand Calculator

A fixture on any televised poker game is the calculated odds of each player’s hand winning after all the cards are delt. The same probabilities are provided by online calculators that do so almost instantaneously. Replicating this calculation was a fun mini-project as the complexity in the hierarchy of poker hands breaks down into many simple problems such as finding pairs and sequences in small sets of numbers. I employed 2 different approachs, one that solves the problem from scratch, and one that precalculates as much of the solution as possible to acheive a nearly instantaneous speed.

Raymond Chiasson
Raymond Chiasson
PhD student in Economics

PhD student in economics at the University of Toronto.