RizeLabs / aze-cli

MIT License
0 stars 1 forks source link

Fix: Not able to fold by player 3 #51

Closed nlok5923 closed 3 months ago

nlok5923 commented 3 months ago

p1 -> small p2 -> big p3 -> call p4 -> fold p1 -> raise (10) p2 -> call p3 -> fold

image
nlok5923 commented 3 months ago

Should highest bet be 15 ? i think it should be 10

image

following the same procedure defined above seems like the logic for setting highest amount in raise procedure is incorrect.

cc @Created-for-a-purpose

nlok5923 commented 3 months ago

Reproduced it

Seems like some issue at the procedure end

This note is for making fold action for player 3

image
Created-for-a-purpose commented 3 months ago

I am also facing these, taking a look.

Created-for-a-purpose commented 3 months ago

Should highest bet be 15 ? i think it should be 10

image

following the same procedure defined above seems like the logic for setting highest amount in raise procedure is incorrect.

cc @Created-for-a-purpose

Also I think it should be 20. Picture this:

Player Action Highest bet 1 Small 5 2 Big 10 3 Raise(10) 20

nlok5923 commented 3 months ago

The actual raise amount would be 5 in big blind case right ? (Like the one which is calculated in procedure)

Created-for-a-purpose commented 3 months ago

Raise amount would be 5 no doubt, but highest bet would be 10

nlok5923 commented 3 months ago

Got it but anyways the player p2 if he makes a call move he needs to bet 10 token

Created-for-a-purpose commented 3 months ago

On call, the bet amount = highest bet - player's last bet