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

Timmys Poker Sim Hand vs Hand
http://poker-ai.org/phpbb/viewtopic.php?f=24&t=2526
Page 1 of 1

Author:  Falk [ Sat Jul 13, 2013 7:41 am ]
Post subject:  Timmys Poker Sim Hand vs Hand

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.

Author:  Falk [ Thu Jul 18, 2013 5:38 pm ]
Post subject:  Re: Timmys Poker Sim Hand vs Hand

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 ;)

Author:  vlad2048 [ Wed Aug 14, 2013 9:50 pm ]
Post subject:  Re: Timmys Poker Sim Hand vs Hand

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 ?

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