Update board.py

This commit is contained in:
Christoffer Müller Madsen 2018-02-07 14:32:56 +00:00
parent c2118d0549
commit bf443e083e

View File

@ -21,7 +21,7 @@ class Board:
return self.state
def switch(self,cur):
return -1 if cur == 1 else 1
return -1 * cur
# Remember to handle edge case when we're on the last moves and you may go