Poker-AI.org

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

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Jul 13, 2013 7:41 am 
Offline
New Member

Joined: Sat Jul 13, 2013 7:23 am
Posts: 2
Hi guys,

in this archive thread http://www.poker-ai.org/archive/www.pokerai.org/pf3/viewtopiccee6.html?f=3&t=353&st=0&sk=t&sd=a&start=220 user "winnie" states (last page, 2nd post), that Timmys Poker Sim can do Hand vs Hand EQ calc.

For my bot i need exact Hand vs exact Hand, like AhKh vs 7s7c preflop EQ.

However i can not figure out how its done with PSim. Tried using some pokerenum syntax with SimulateHand function, but clearly that didnt work.

Would really appreciate someone telling me the way to go. And in case it would not be possible, some JAVA lib alternative maybe.

Thx a lot.


Top
 Profile  
 
PostPosted: Thu Jul 18, 2013 5:38 pm 
Offline
New Member

Joined: Sat Jul 13, 2013 7:23 am
Posts: 2
I'm afraid noone was interested in this topic so far.

Just wanted to let you know, i am pretty sure now it is not possible.

There is a JNI wrapper function in some old Poker-Eval package called 'Enumerate_PotEquity' that does the trick. Basically just calls EnumExhaustive (Full enum) or EnumSample (Monte Carlo). But that is not included in Timmys lib in any form.

I am using both libs at the moment, but was trying to put 'Enumerate_PotEquity' function into Timmys lib, so i would have 1 lib for all the stuff i need. However i was not able to build it so far, since i am absolutely not familiar with c, cpp.

Building this is pretty crucial, because it needs to run on a Cluster with Unix OS at the end, so i can not use Timmys .dll... Alternative would be to integrate Timmys whole stuff into Poker-Eval (i can build that using attached Makefile).

Just wanted to say, if someone with cpp expertise, quickly copy/pastes 'Enumerate_PotEquity' into Timmys lib and generates a Makefile for this, it would greatly improve the lib and make me superhappy.

If it is in fact possible to calculate Hand vs Hand EQ with Timmys lib or i am wrong with something else, pls feel free to correct me.

Best regards

edit: of cource there is also the SAIE stuff in Poker-Eval, that has most of Timmys functionalities, but Timmys lib is just more slim and smooth ;)


Top
 Profile  
 
PostPosted: Wed Aug 14, 2013 9:50 pm 
Offline
Junior Member

Joined: Mon Aug 12, 2013 7:28 pm
Posts: 16
Dude, it's super simple,

Pick 5 random cards (different than AhKh7s7c),
Use a 7 card hand evaluator to see who wins (maybe you're having trouble there ?)
See who wins
Repeat 10000 times and you'll have a pretty good esitmate of the preflop equity

Maybe I'm missing something ?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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:
cron
Powered by phpBB® Forum Software © phpBB Group