Code Comments
Programming Forum and web based access to our favorite programming groups.Rather than reinvent the wheel, I thought I'd try here first. Does anyone know of any public domain software, whether it be Cobol or otherwise (like a sub-program I can call out of a Cobol program) that evaluates poker hands, specifically Texas Hold 'Em poker hands? I'm thinking of something like I call the routine with 8 parameters, the first 7 being the cards in questions, and it returns in the 8'th parameter the value of the hand, i.e., straight, flush, 2 pair, etc. I know there are lots of commerical poker software programs that can all do this function, but I can't find anything that I can interface with. Anyone have any possible solutions? Thanks, Joe (joemagiera at ameritech dot net) joemagiera@ameritech.net
Post Follow-up to this messagejoemagiera@ameritech.net wrote: > Rather than reinvent the wheel, I thought I'd try here first. Does > anyone know of any public domain software, whether it be Cobol or > otherwise (like a sub-program I can call out of a Cobol program) that > evaluates poker hands, specifically Texas Hold 'Em poker hands? > > I'm thinking of something like I call the routine with 8 parameters, > the first 7 being the cards in questions, and it returns in the 8'th > parameter the value of the hand, i.e., straight, flush, 2 pair, etc. > > I know there are lots of commerical poker software programs that can > all do this function, but I can't find anything that I can interface > with. > > Anyone have any possible solutions? Thanks, > > Joe (joemagiera at ameritech dot net) > joemagiera@ameritech.net Go to www.tucows.com (or is it .net?). They have a games software section and I imagine that what you want will be available there. BTW, you should attempt to calculate the probability of your hand winning and you should be able to do so on two cards upwards.
Post Follow-up to this messageOn 7 Mar 2006 12:05:01 -0800, joemagiera@ameritech.net enlightened us: >Rather than reinvent the wheel, I thought I'd try here first. Does >anyone know of any public domain software, whether it be Cobol or >otherwise (like a sub-program I can call out of a Cobol program) that >evaluates poker hands, specifically Texas Hold 'Em poker hands? > >I'm thinking of something like I call the routine with 8 parameters, >the first 7 being the cards in questions, and it returns in the 8'th >parameter the value of the hand, i.e., straight, flush, 2 pair, etc. > >I know there are lots of commerical poker software programs that can >all do this function, but I can't find anything that I can interface >with. > >Anyone have any possible solutions? Thanks, > >Joe (joemagiera at ameritech dot net) >joemagiera@ameritech.net Look here: http://www.codeproject.com/csharp/pokerhandevaldoc.asp or http://www.softlookup.com/display.asp?id=8630 or http://www.pokerstove.com/analysis/zealots.php Google is your friend! Regards, //// (o o) -oOO--(_)--OOo- "I have a rock garden. Last wthree of them died." --Richard Diran ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Remove nospam to email me. Steve
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.