huangeddie / GymGo

An environment of the board game Go using OpenAI's Gym API
164 stars 31 forks source link

Fix bug: When game is over, all moves should be invalid #20

Open RohanM opened 2 years ago

RohanM commented 2 years ago

Currently the gogame.invalid_moves() function will return all zeros when the game is over, which indicates that any move is valid. We'd like to indicate the opposite, so return all ones instead.