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
{{ message }}
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
Hi! Thanks a lot for a great implementation.
While playing around with it, I noticed some strange behavior when score is calculated.
In the score() method of Position class:
while True:
i = self.board.find('.', i+1)
shouldn't it be board.find instead of self.board.find? Or I misunderstood something about go rules?
The way it is now, floodfill will not only be filling '.' fields, but also the others during score calculation.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi! Thanks a lot for a great implementation.
While playing around with it, I noticed some strange behavior when score is calculated.
In the score() method of Position class:
while True:
i = self.board.find('.', i+1)
shouldn't it be board.find instead of self.board.find? Or I misunderstood something about go rules?
The way it is now, floodfill will not only be filling '.' fields, but also the others during score calculation.
The text was updated successfully, but these errors were encountered: