Two Plus Two Older Archives

Two Plus Two Older Archives (http://archives2.twoplustwo.com/index.php)
-   Computer Technical Help (http://archives2.twoplustwo.com/forumdisplay.php?f=46)
-   -   Need help finding some subroutine libraries (http://archives2.twoplustwo.com/showthread.php?t=280962)

MtnDave 06-26-2005 06:45 PM

Need help finding some subroutine libraries
 
Hi - Just got my Visual Studio 2005 Beta 2 and wanted to try it out by writing a poker hand analysis program. So I am looking for some subroutine libraries for dealing cards, ranking hands, etc. I need the source code since I will be evaluating 4 card poker hands where three of a kind beats a flush, etc.

I haven't done this sort of thing for several years. A long time ago, I used the AltaVista search engine (long before the Google boys were even in college) as it was the best for finding source code on the Internet. I don't know what works these days and am hoping readers of this forum can help me. Thanks.

OrcaDK 06-26-2005 08:32 PM

Re: Need help finding some subroutine libraries
 
I have no idea what language you're writing in. I don't think there exists any such libraries for any .NET languagues yet. You might want to take a look at "PokerSource" at Sourceforge. It's written in Java, should be translatable.

MtnDave 06-26-2005 11:56 PM

Re: Need help finding some subroutine libraries
 
Thanks, I'll check out SourceForge.

I did GUI development for over 10 years using C and C++.
Our company switched GUI development to Java (to be web-based). I tried to learn Java but instead decided to retire. [img]/images/graemlins/tongue.gif[/img] (One language too many syndrome.)

Libraries in C, C++, C# or Basic would be fine.

JoePro 06-27-2005 10:39 AM

Re: Need help finding some subroutine libraries
 
Windows comes with a DLL to display a deck of cards. It's called cards32.dll. Here's a sample on how to use it. Source code is for vb5/6, but it should be fairly easy to adapt for .NET

MtnDave 06-27-2005 09:40 PM

Re: Need help finding some subroutine libraries
 
Thanks.


All times are GMT -4. The time now is 10:02 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.