Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Other Topics > Programming

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 07-21-2012, 02:48 AM   #1
journeyman
 
Akhanar's Avatar
 
Join Date: Apr 2011
Posts: 366
Any Java Hand Evaluation Library?

Hello folks,

I am in need of a hand evaluator to use in a Java application. It doesn't need to be particularly fast as it will be used in a poker game, not an equity calculator or anything, but should obviously perform reasonably well. Commercial solutions are fine as long they are reasonably priced.

What I need to be able to do is the following:

1. Send in hands consisting of 1-10 personal cards and 0-5 community cards along with minimum personal cards that play and maximum personal cards that play and have it find the best 5 card poker hand. (if the number of cards sent in are less than 5 cards, it finds the best partial hand)

2. Evaluate based on any of High, A-5 Low, or 2-7 Low.

3. Preferably also give a human readable description of the hand

Anyone know of anything I should check out?
Akhanar is offline   Reply With Quote
Old 07-21-2012, 04:24 PM   #2
adept
 
Join Date: Nov 2006
Location: Tunica
Posts: 982
Re: Any Java Hand Evaluation Library?

I doubt there is anything out there for that. You will probably have to write one yourself.
Tim Brice is online now   Reply With Quote
Old 07-21-2012, 05:55 PM   #3
adept
 
Join Date: Apr 2010
Location: Deep end of the player pool
Posts: 733
Re: Any Java Hand Evaluation Library?

Check out poker-eval. I think it has Java-bindings. The main code is written in some very gnarly C code though.
myNameIsInga is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



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


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive