Poker-AI.org Poker AI and Botting Discussion Forum 2016-04-27T12:18:34+00:00 http://poker-ai.org/phpbb/feed.php?f=24&t=2947 2016-04-27T12:18:34+00:00 2016-04-27T12:18:34+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6962#p6962 <![CDATA[Re: Testbed for Heads Up]]>
https://github.com/npolychr/Heads-Up-No-Limit-Testbed

For any bugs or anything please contact me via pm. :)

Statistics: Posted by npolychr — Wed Apr 27, 2016 12:18 pm


]]>
2016-04-24T08:48:17+00:00 2016-04-24T08:48:17+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6959#p6959 <![CDATA[Re: Testbed for Heads Up]]> corintio wrote:

Nice! Please consider submitting a pull request :)


Of course! I'm on it today! And thank you so much for your work on this man. It has saved me from far too many headaches. :)

Statistics: Posted by npolychr — Sun Apr 24, 2016 8:48 am


]]>
2016-04-21T14:48:03+00:00 2016-04-21T14:48:03+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6958#p6958 <![CDATA[Re: Testbed for Heads Up]]> npolychr wrote:

Hey guys! I managed to reconfigure Corintio's fork for Heads-Up games! So far it's working! So we finally have a proper Heads-Up testbed! I'm gonna test it a little more to make sure everything is running smoothly and then make it available on a new post! :)


Nice! Please consider submitting a pull request :)

Statistics: Posted by corintio — Thu Apr 21, 2016 2:48 pm


]]>
2016-04-18T17:37:55+00:00 2016-04-18T17:37:55+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6957#p6957 <![CDATA[Re: Testbed for Heads Up]]>

Statistics: Posted by npolychr — Mon Apr 18, 2016 5:37 pm


]]>
2016-03-24T18:11:25+00:00 2016-03-24T18:11:25+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6949#p6949 <![CDATA[Re: Testbed for Heads Up]]> Statistics: Posted by npolychr — Thu Mar 24, 2016 6:11 pm


]]>
2016-03-24T18:01:10+00:00 2016-03-24T18:01:10+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6948#p6948 <![CDATA[Re: Testbed for Heads Up]]> ocara wrote:

I still need to test it, but that's what've done on Game.Dealer class:

Code:
   public Dealer(Deck deck, PublicGameInfo gameInfo) {
      this.deck = deck;
      this.gameInfo = gameInfo;
      buttonSeat = gameInfo.nextActivePlayer(gameInfo.getNumSeats() - 1);
      //smallBlindSeat = gameInfo.nextActivePlayer(buttonSeat);
      smallBlindSeat = buttonSeat;  // I included this line to make SB the button.
      bigBlindSeat = gameInfo.nextActivePlayer(smallBlindSeat);
   }



It wont accept that, I tried. Instead what I did was give the SB and the BTN the same int value which is not perfect but works for now.

Code:
   
protected int buttonSeat = 0;
protected int smallBlindSeat = 0;
protected int bigBlindSeat = 1;


Now post-flop actions are ok, but the BB acts first preflop. We should solve that.

Also, did anyone realize that in the hand history the hands are always the same, even if the actions are different? That's really weird.

Statistics: Posted by npolychr — Thu Mar 24, 2016 6:01 pm


]]>
2015-10-18T15:06:51+00:00 2015-10-18T15:06:51+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6854#p6854 <![CDATA[Re: Testbed for Heads Up]]> SkyBot wrote:

No the testbed code contains everything as code. Meerkat.jar is just some interfaces, not actual code. And Java libraries could be decompiled back to code anyway...


Good, I guess I managed to do that. Appreciate.
I still need to test it, but that's what've done on Game.Dealer class:

Code:
   public Dealer(Deck deck, PublicGameInfo gameInfo) {
      this.deck = deck;
      this.gameInfo = gameInfo;
      buttonSeat = gameInfo.nextActivePlayer(gameInfo.getNumSeats() - 1);
      //smallBlindSeat = gameInfo.nextActivePlayer(buttonSeat);
      smallBlindSeat = buttonSeat;  // I included this line to make SB the button.
      bigBlindSeat = gameInfo.nextActivePlayer(smallBlindSeat);
   }

Statistics: Posted by ocara — Sun Oct 18, 2015 3:06 pm


]]>
2015-10-18T03:53:27+00:00 2015-10-18T03:53:27+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6853#p6853 <![CDATA[Re: Testbed for Heads Up]]> ocara wrote:

SkyBot wrote:
Why not fix testbed then? It is rather simple code, you will understand it quickly.

Not sure I can change it. I guess this is coded on the meerkat api that I don't have the code. Maybe I'm wrong.

SkyBot wrote:

Also I thought testbed does button+1 to find first player after preflop. That should always be correct, right? Or is my memory wrong?


No the testbed code contains everything as code. Meerkat.jar is just some interfaces, not actual code. And Java libraries could be decompiled back to code anyway...

Statistics: Posted by SkyBot — Sun Oct 18, 2015 3:53 am


]]>
2015-10-16T15:57:54+00:00 2015-10-16T15:57:54+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6850#p6850 <![CDATA[Re: Testbed for Heads Up]]> eiisolver wrote:

Sorry if I was not clear, but if you look into the link I provided, there is information about a test engine that is available on github that you can use for offline testing.

The engine is not super fast, but you can easily run hundreds of thousands of games per day, not just 20:)


thx mate, I will try this out. :)

Statistics: Posted by ocara — Fri Oct 16, 2015 3:57 pm


]]>
2015-10-16T14:36:12+00:00 2015-10-16T14:36:12+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6849#p6849 <![CDATA[Re: Testbed for Heads Up]]>
The engine is not super fast, but you can easily run hundreds of thousands of games per day, not just 20:)

Statistics: Posted by eiisolver — Fri Oct 16, 2015 2:36 pm


]]>
2015-10-15T21:35:34+00:00 2015-10-15T21:35:34+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6847#p6847 <![CDATA[Re: Testbed for Heads Up]]> eiisolver wrote:

For HUNL you could also look at the Texas Holdem engine mentioned in the sticky post in http://theaigames.com/discussions/texas-hold-em. The engine also supports other game types like heads up Omaha + some other variants.

I like this site, but 20 games a day won't help me to test/improve my bot :)

Statistics: Posted by ocara — Thu Oct 15, 2015 9:35 pm


]]>
2015-10-15T21:34:08+00:00 2015-10-15T21:34:08+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6846#p6846 <![CDATA[Re: Testbed for Heads Up]]> SkyBot wrote:

Why not fix testbed then? It is rather simple code, you will understand it quickly.

Not sure I can change it. I guess this is coded on the meerkat api that I don't have the code. Maybe I'm wrong.

SkyBot wrote:

Also I thought testbed does button+1 to find first player after preflop. That should always be correct, right? Or is my memory wrong?

No, on the testbed the button will also be the BB, like a fullring game when there are only 2 players left.
So the SB will be also button+1 and will act first on both preflop and postflop. :(

Preflop:

Button: Hero
SB: Vilain (1st to act)
BB: Hero again (2nd to act)

Postflop:

Button + 1: Vilain (1st to act)
Next: Hero (2nd to act)

Anyway, I'm finishing my own testbed for HUNL... :P

Statistics: Posted by ocara — Thu Oct 15, 2015 9:34 pm


]]>
2015-10-15T20:45:42+00:00 2015-10-15T20:45:42+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6845#p6845 <![CDATA[Re: Testbed for Heads Up]]> http://theaigames.com/discussions/texas-hold-em. The engine also supports other game types like heads up Omaha + some other variants.

Statistics: Posted by eiisolver — Thu Oct 15, 2015 8:45 pm


]]>
2015-10-15T20:23:21+00:00 2015-10-15T20:23:21+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6844#p6844 <![CDATA[Re: Testbed for Heads Up]]>
Also I thought testbed does button+1 to find first player after preflop. That should always be correct, right? Or is my memory wrong?

Statistics: Posted by SkyBot — Thu Oct 15, 2015 8:23 pm


]]>
2015-10-11T19:33:41+00:00 2015-10-11T19:33:41+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2947&p=6840#p6840 <![CDATA[Testbed for Heads Up]]>
I was using Opentestbed until I realise that the SmallBlind plays first on actions post-flop! As it was a fullring game but with only 2 players left, not actualy a heads up game.

Any help???

thx

Statistics: Posted by ocara — Sun Oct 11, 2015 7:33 pm


]]>