Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A C library for indexing poker hands that respects suit isomorphisms
branch: master

Merge pull request #1 from dmorrill10/master

Added math library flag for linking on Linux
latest commit dabcee4a84
Kevin authored
Failed to load latest commit information.
src added duplicate rank check within one street
.gitignore adding gitignore
LICENSE.txt initial commit
Makefile Added math library flag for linking on Linux

Poker Hand Isomorphisms

author: Kevin Waugh ( date: April 7, 2013

This repository contains a C library for efficiently mapping poker hands to and from a tight set of indices. Poker hands are isomorphic with respect to permutations of the suits and ordering within a betting round. That is, AsKs, KdAd and KhAh all map to the same index preflop.

Please see:

K. Waugh, 2013. A Fast and Optimal Hand Isomorphism Algorithm. In the Second Computer Poker and Imperfect Information Symposium at AAAI

for more details, and src/hand_index.h for the API's description.

Something went wrong with that request. Please try again.