Poker-AI.org
http://poker-ai.org/phpbb/

My Java library : CSCFRM and poker coding tools
http://poker-ai.org/phpbb/viewtopic.php?f=24&t=2932
Page 1 of 1

Author:  Pitt [ Mon Aug 03, 2015 10:03 pm ]
Post subject:  My Java library : CSCFRM and poker coding tools

Hi !

I always crawled this forum, contributed on some topics, but never give you code that could be useful, so here I do !

https://github.com/PierreMardon/gametheory

It's a Java (using Maven) library that contains a generic implementation of CSCFRM as well as tools to build games, particularly poker games.

I won't copy/paste the readme file that contains a full description of it and of it state, please take 2 minutes to read it, I think there are definitely good things in it ;)

I'm thinking to a much better abstraction of games to make other CFRM algorithm run on generic games that could benefit of a huge performance boost but it's not for tomorrow.
If you want to discuss anything of future improvements, contributions or wishes, don't hesitate to contact me !

My latest implementation is the Java version of Kevin Waugh's perfect indexer : viewtopic.php?f=25&t=2660

PS : I wanted to finish a generic NLHE game (with generic LUT, bucketing...) before posting it here, but as I want to change my model, it will take a while so it's useless to do it now :P

Author:  spears [ Tue Aug 04, 2015 5:48 am ]
Post subject:  Re: My Java library : CSCFRM and poker coding tools

Good contribution. Thanks!

Author:  Tom [ Sat Sep 26, 2015 2:14 pm ]
Post subject:  Re: My Java library : CSCFRM and poker coding tools

Hello,

I tryed to download your Zip File from Git

https://github.com/PierreMardon/gametheory/archive/master.zip

But I could not open the ZIP File because the Archive is corrupt.

Tom

Author:  Pitt [ Sat Sep 26, 2015 2:44 pm ]
Post subject:  Re: My Java library : CSCFRM and poker coding tools

Hi !
That may be a download error as Github generates the zip, not me.
I tried and didn't have this problem.
The standard way to get my repository is to use git and clone, it could work for you as a workaround.

BTW I found a bug in my Waugh's perfect indexer, it handles properly only two groups indexing (indexing 2-3-1 groups for turn won't work for example).

Author:  Pitt [ Sun Oct 11, 2015 11:08 am ]
Post subject:  Re: My Java library : CSCFRM and poker coding tools

Small update :
* Previous bug in Waugh's indexer is fixed
* I replaced my evaluators (HS, EHS, EHS2) with one big table :
In the artifact net.funkyjava.gametheory.gameutil.poker.he.evaluators , the class AllHoldemHSTables can compute, write and load (zipped) :
- Preflop EHS
- Preflop EHS2
- Flop HS, EHS, EHS2
- Turn HS, EHS, EHS2
- River HS
Those numbers are stored as doubles (so it's 1,35GB uncompressed). They are accessed using Waugh's indexer as provided by the class methods.
To avoid the one hour computation, I uploaded the resulting zip file containing all that : http://uptobox.com/69dp3m8xe1p1

Hope someone will find this useful :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/