Im planning to modify the acpc server to play omaha/8.
Since i dont want to reinvent the wheel, i just wanted to know if someone has already did it.
If not, maybe there is out someone who wants to team up.
-acpc server is only capable to play holdem. a new variable (enum PokerType) should be introduce in the Game struct, which has a default value (holdem)
-int rankHand( const Game *game, const State *state, const uint8_t player ); uses evalHandTables
http://www.pasteall.org/55248/cpp to return a value of a cardset, but no low hand evaluation.
Code:
Cardset is 64 bit
s h d c
0000000000000000 0000000000000000 0000000000000000 0000000000000000 empty Cardset
0000000000000000 0000000000000000 0000000000000000 0000000000000001 add suit:0 rank:0 -> (2c)
0000000000000000 0000000000000000 0000000000000100 0000000000000001 add suit:1 rank:2 -> (4d, 2c)
maybe it would be more simple to use some robust well known evaluator lib, then modifying the code. Im not a bitshift expert
-double valueOfState( const Game *game, const State *state, const uint8_t player );
http://pastebin.com/ArpbuUSq should be run twice for high and low hand
If u have some idea, code to share, or comment on this, let me know.