Difference between facing 3Bet Non Allin and 3bet Allin

Coding-related discussion: OpenPPL (Poker Programming Language) and internal OpenHoldem-script
Post Reply
panXfocaccia
First blood
First blood
Posts: 17
Joined: Thu Jun 08, 2023 8:47 am

Difference between facing 3Bet Non Allin and 3bet Allin

Post by panXfocaccia »

I have the following code:

Code: Select all

WHEN HandIsHeadsup AND InSmallBlind AND Raises >= 1 AND OpponentsAtTable = 2 AND (BotsLastAction = Raise) AND (RaisesSinceLastPlay = 1) AND listOfHands1 RaiseMax Force

WHEN HandIsHeadsup AND InSmallBlind AND Raises >= 1 AND OpponentsAtTable = 2 AND StillToAct = 1 AND (BotsLastAction = Raise) AND (RaisesSinceLastPlay = 1) AND listOfHands2 Fold FORCE
I am trying to understand the difference between the two. The only thing I can find is the StillToAct = 1 . What is the definition of it?
Does it mean the opponent is Allin and cannot do further actions?

If I have the same hand in both lists, I believe the RaiseMax action is always executed as the result would be true in both cases, right?
Alex
Site Admin
Site Admin
Posts: 3112
Joined: Sun Mar 26, 2017 5:58 pm

Re: Difference between facing 3Bet Non Allin and 3bet Allin

Post by Alex »

panXfocaccia wrote: Thu Jul 20, 2023 1:55 pm I have the following code:

Code: Select all

WHEN HandIsHeadsup AND InSmallBlind AND Raises >= 1 AND OpponentsAtTable = 2 AND (BotsLastAction = Raise) AND (RaisesSinceLastPlay = 1) AND listOfHands1 RaiseMax Force

WHEN HandIsHeadsup AND InSmallBlind AND Raises >= 1 AND OpponentsAtTable = 2 AND StillToAct = 1 AND (BotsLastAction = Raise) AND (RaisesSinceLastPlay = 1) AND listOfHands2 Fold FORCE
I am trying to understand the difference between the two. The only thing I can find is the StillToAct = 1 . What is the definition of it?
Does it mean the opponent is Allin and cannot do further actions?

If I have the same hand in both lists, I believe the RaiseMax action is always executed as the result would be true in both cases, right?
yes, 2nd line is meaningless. 1st line will always be executed.
StillToAct is meaningless too, in HU situation.

If this code snippet is taken from existing profile, don't be too surprised. Sometimes profile author would just forget to delete old line, after inserting new line above
panXfocaccia
First blood
First blood
Posts: 17
Joined: Thu Jun 08, 2023 8:47 am

Re: Difference between facing 3Bet Non Allin and 3bet Allin

Post by panXfocaccia »

Thank you for the answer!

How can I detect a 3bet Non Allin from a 3bet Allin? Should I just check the Amount to call first and then all the other cases?
Alex
Site Admin
Site Admin
Posts: 3112
Joined: Sun Mar 26, 2017 5:58 pm

Re: Difference between facing 3Bet Non Allin and 3bet Allin

Post by Alex »

panXfocaccia wrote: Thu Jul 20, 2023 6:14 pm Thank you for the answer!

How can I detect a 3bet Non Allin from a 3bet Allin? Should I just check the Amount to call first and then all the other cases?
you can use OpponentIsAllin function:

Code: Select all

WHEN (your 3bet code) and OpponentIsAllin ...
panXfocaccia
First blood
First blood
Posts: 17
Joined: Thu Jun 08, 2023 8:47 am

Re: Difference between facing 3Bet Non Allin and 3bet Allin

Post by panXfocaccia »

Fantastic! Thx you Alex
Post Reply