Poker-AI.org http://poker-ai.org/phpbb/ |
|
acpc server for omaha/8 http://poker-ai.org/phpbb/viewtopic.php?f=24&t=2833 |
Page 1 of 1 |
Author: | Alan Napier [ Wed Nov 19, 2014 11:44 am ] |
Post subject: | acpc server for omaha/8 |
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. |
Author: | testacc [ Sun Dec 14, 2014 4:08 pm ] |
Post subject: | Re: acpc server for omaha/8 |
I'm currently moving forward with my poker room for poker bots proposal (see thread here: viewtopic.php?f=26&t=2823 ) Atm I'm only implementing No-Limit and Limit HE, but if there is enough interest I could include Omaha rooms. The poker room protocol will be based on ACPC, however modified to support authentication and table selection / multitabling and will use Websockets as transport. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |