You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I found bug in checking winner. Here you can see it:
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!
The text was updated successfully, but these errors were encountered:
Hi. I found bug in checking winner. Here you can see it:
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!
The text was updated successfully, but these errors were encountered: