Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Agent does Raise Action when it is not possible #145

Closed
hlmaestretti opened this issue Nov 25, 2022 · 1 comment · Fixed by #165
Closed

Random Agent does Raise Action when it is not possible #145

hlmaestretti opened this issue Nov 25, 2022 · 1 comment · Fixed by #165
Labels
bug Something isn't working
Milestone

Comments

@hlmaestretti
Copy link

hlmaestretti commented Nov 25, 2022

When using the random agent, the raise action is still an available action, even when the player does not have enough chips to raise.

Here's what I tested:

Player_chips      bet_amount      Previous_raise       Expected_chips_to_raise                 Chips_to_raise
500                  10                 5                      15                                      15
500                  550                490                    n/a                                     990
200                  210                200                    n/a                                     410
@SirRender00 SirRender00 added the bug Something isn't working label Nov 25, 2022
@SirRender00 SirRender00 added this to the v1.0.0 milestone Nov 25, 2022
@SirRender00
Copy link
Owner

Latest supported minor version for this: v0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants