diff options
Diffstat (limited to 'gogame.py')
-rw-r--r-- | gogame.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -192,7 +192,9 @@ class GoGame: pos, color, captures = self.undostack.pop() del self.status[pos] if captures: - for p in captures: self.status[p] = self.invert(color) + for p in captures: + self.status[p] = self.invert(color) + self.score[color] -= 1 return True else: return False |