Skip to content

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

Description

@hlmaestretti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions