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

Bug #1

Open
wasvlad opened this issue Mar 8, 2023 · 0 comments
Open

Bug #1

wasvlad opened this issue Mar 8, 2023 · 0 comments

Comments

@wasvlad
Copy link

wasvlad commented Mar 8, 2023

Hi. I found bug in checking winner. Here you can see it:
image
image
As you can see the game wasn't finished. And I found that you can easily correct it, if you change line 12 in omok/core/rules.py from "if Rules.count(board, i, j, direction) == 5:" to "if Rules.count(board, i, j, direction) >= 5:".
Good luck!

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

No branches or pull requests

1 participant