Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 12:28 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Aug 03, 2015 10:03 pm 
Offline
Junior Member

Joined: Wed Dec 04, 2013 12:40 am
Posts: 49
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


Top
 Profile  
 
PostPosted: Tue Aug 04, 2015 5:48 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
Good contribution. Thanks!


Top
 Profile  
 
PostPosted: Sat Sep 26, 2015 2:14 pm 
Offline
Junior Member
User avatar

Joined: Sun Mar 16, 2014 3:36 am
Posts: 36
Location: Germany
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


Top
 Profile  
 
PostPosted: Sat Sep 26, 2015 2:44 pm 
Offline
Junior Member

Joined: Wed Dec 04, 2013 12:40 am
Posts: 49
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).


Top
 Profile  
 
PostPosted: Sun Oct 11, 2015 11:08 am 
Offline
Junior Member

Joined: Wed Dec 04, 2013 12:40 am
Posts: 49
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 :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group