Okay, before we start digging into my algorithm, please read
this first. I usually get one or two emails every month from
somebody interested in my algorithm or poker code. And they
typically ask me if I happen to have a seven-card poker evaluator.
The answer is yes. I did indeed write a seven-card hand
evaluator a few years after writing the five-card one. It
used a completely new algorithm, completely unrelated to my
five-card version. I just never posted it on my web site because
(a) it was pretty lengthy, and (b) I was too lazy to write up
all that HTML.
However, one day, I got an email from an actual poker software
company from Canada called
Poker Academy. They also wanted to know if I had written
a seven-card evaluator, and if so, could they test it to see if it
was faster than their current code? We converted my code from 'C'
to Java, and they gave it a whirl. Turns out it was about three times
faster than what they were currently using, so they asked if I'd
be willing to sell/license it to their company for use in the next
version of their software. We worked out a contract and the deal
was inked. If you visit their site, download version 2.5, and select
Version History, you can see my name in the notes for the February 15,
2006 2.5.0 Release (b164). The downside of all this, is that I cannot
pass on my seven-card evaluator algorithm to any curious poker math-geeks
who stumble upon my site. So don't email me asking for the code or
algorithm, because I can't give it to you. Sorry, mate.