Opponents' stacks and actions

Coding-related discussion: OpenPPL (Poker Programming Language) and internal OpenHoldem-script
Post Reply
AndrP
First blood
First blood
Posts: 17
Joined: Thu Jan 07, 2021 3:39 pm

Opponents' stacks and actions

Post by AndrP »

3max table
I'm in the big blind, BU-10bb, SB - 20bb
I can save their stacks to a variable so that when my turn is to act on their stacks?

I'm in the BU(20bb) and raise SB (20bb) call, BB(10bb) push
I'm in the BU(20bb) and raise SB (10bb) call, BB(20bb) push
how can I find out which stack was called and which was pushed?

:text-thankyouyellow:
Alex
Site Admin
Site Admin
Posts: 2953
Joined: Sun Mar 26, 2017 5:58 pm

Re: Opponents' stacks and actions

Post by Alex »

AndrP wrote: Thu Jan 07, 2021 3:51 pm 3max table
I'm in the big blind, BU-10bb, SB - 20bb
I can save their stacks to a variable so that when my turn is to act on their stacks?

I'm in the BU(20bb) and raise SB (20bb) call, BB(10bb) push
I'm in the BU(20bb) and raise SB (10bb) call, BB(20bb) push
how can I find out which stack was called and which was pushed?

:text-thankyouyellow:
Hi, try to explore StartingStackSizeX functions and also currentbetX, balanceX functions.
For example, StartingStackSize1 will give you starting stack of player1 at the beginning of hand,

If balance1=0 and currentbet1>0, it will mean that player1 is alling. Using those functions you can get everything you are asking for, i believe.
Post Reply