Code
home    search    contact    Ryan    Carol   

Here is some code I've written.

Code

poker
The poker module builds a small program I wrote, called phands, that allows you to calculate the odds of receiving different poker hands while varying the number of cards to be drawn, as well as the wild cards. I wrote this as I wanted to know what the odds were of receiving different poker hands in 7 card stud with different wild cards, and was unable to find this information on the web.

This program does an exhaustive search of all possible poker hands, and counts what the best hands are. It takes ~:20 to search through all possible 5 card hands, and ~13:40 to search through all possible 7 card hands.

poker.tgz


$Id: code.html,v 1.1 2002/07/12 21:36:11 rtroll Exp $