wenkesj / holdem

:black_joker: OpenAI Gym No Limit Texas Hold 'em Environment for Reinforcement Learning
162 stars 62 forks source link

terminal if self._round == 4 or len(players) <= 1 env.py line 230 #5

Closed BigBadBurrow closed 5 years ago

BigBadBurrow commented 5 years ago

Currently check if all round are completed:

    if self._round == 4:
      terminal = True

But should also check if players have folded and therefore is also terminal:

    if self._round == 4 or len(players) <= 1:
      terminal = True