From fb3d822a864cbb3fe3dccc8f2479fb6f32356b78 Mon Sep 17 00:00:00 2001 From: Alexander Munch-Hansen Date: Tue, 6 Feb 2018 23:54:42 +0100 Subject: [PATCH] Fixed winning method --- board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board.py b/board.py index a693f95..d685fa4 100644 --- a/board.py +++ b/board.py @@ -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