Fixed winning method

This commit is contained in:
Alexander Munch-Hansen 2018-02-06 23:54:42 +01:00
parent 2d53ce58ab
commit fb3d822a86

View File

@ -58,7 +58,7 @@ class Board:
def is_winner(self,sym):
for i in range(1,25):
if sym * self.state[i] < 0:
if sym * self.state[i] > 0:
return False
return True