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

Keith Rule poker's hand representation and array
http://poker-ai.org/phpbb/viewtopic.php?f=24&t=2477
Page 1 of 1

Author:  LOLWorld [ Sun Apr 28, 2013 6:36 pm ]
Post subject:  Keith Rule poker's hand representation and array

I'm using this evaluator :

http://www.codeproject.com/Articles/122 ... d-Analysis

My problem is that hands are represented as ulong (unsigned long) so I can't use it as index for array or any other data structure.
How do you handle this issue?

Author:  longshot [ Sun Apr 28, 2013 9:14 pm ]
Post subject:  Re: Keith Rule poker's hand representation and array

Are you trying to index a 7-card hand or just holecards? I think the PocketHands class provides helper mappings for holecards.

Author:  LOLWorld [ Mon Apr 29, 2013 6:46 pm ]
Post subject:  Re: Keith Rule poker's hand representation and array

I try to modify amax's code on Rhode Island to handle LHE.
I'm not even sure if I need to index a 7-card hand or just holecards...
It hurts my head. I'll take a look at your python code, maybe I'll :idea:

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