diff --git a/src/go/core.py b/src/go/core.py --- a/src/go/core.py +++ b/src/go/core.py @@ -23,7 +23,7 @@ class Go: # # @param color BLACK or WHITE # @return True on success, False on failure (illegal move) - def move(self,color,row,col): + def doMove(self,color,row,col): if color!=self.toMove: log.warning("move by %s out of order",colorNames[color]) if self.board[row][col]!=EMPTY: return False @@ -55,7 +55,7 @@ class Go: res=transitionMove(self.board,board) if not res: return res (r,c,color)=res - return self.move(color,r,c) + return self.doMove(color,r,c) ## Removes stones at coordinates marked with True in self.helper. def _remove(self):