Infinite String of Raises
big-c-note opened this issue · 0 comments
big-c-note commented
Describe the bug
In the legal_actions property of the ShortDeckPokerState class there was logic that allowed for an infinite string of raises:
if self._n_raises < 3 or self._poker_engine.n_active_players == 2:
When n_active_players == 2, raises can always be added to the legal moves, and since a string of raises never completes action, it becomes infinite.
Fixed in #76