View Single Post
  #3  
Old 11-15-2007, 05:44 PM
gumpzilla gumpzilla is offline
Senior Member
 
Join Date: Feb 2005
Posts: 7,911
Default Re: Programming a Poker Game

My first suggestion would be to see if the source code for pokenum is publicly available. I'm guessing it probably is, and it will likely have a good answer for you.

I've thought about this a little, since I thought it would be interesting to try and work out a good representation for these kinds of things myself. One idea I had (which I haven't pursued in great depth) is to try and use regular expressions for doing hand evaluation. I don't know how easy that is in C++, though.
Reply With Quote