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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RohanM
Copy link

@RohanM RohanM commented May 3, 2022

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.

@RohanM RohanM marked this pull request as ready for review May 3, 2022 07:06
@RohanM RohanM mentioned this pull request May 3, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant