Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

code for poker hand evaluation?
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


Report this thread to moderator Post Follow-up to this message
Old Post
joemagiera@ameritech.net
03-07-06 11:56 PM


Re: code for poker hand evaluation?
joemagiera@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.


Report this thread to moderator Post Follow-up to this message
Old Post
Alistair
03-08-06 12:55 PM


Re: code for poker hand evaluation?
On 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 w three of them died."
--Richard Diran
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove nospam to email me.

Steve

Report this thread to moderator Post Follow-up to this message
Old Post
SkippyPB
03-08-06 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:15 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.