From 616c7fdc4bee92b2493933574e8c08db7d26913b Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 14 Aug 2016 15:37:45 -0500 Subject: [PATCH] Corrected which index was checked --- cogs/tictactoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/tictactoe.py b/cogs/tictactoe.py index aecca2a..3c710d3 100644 --- a/cogs/tictactoe.py +++ b/cogs/tictactoe.py @@ -55,7 +55,7 @@ class Board: return self.challengers['x'] else: return self.challengers['o'] - if self.board[0][2] == self.board[1][1] and self.board[0][2] == self.board[3][0] and self.board[0][2] != ' ': + if self.board[0][2] == self.board[1][1] and self.board[0][2] == self.board[2][0] and self.board[0][2] != ' ': if self.board[0][2] == 'x': return self.challengers['x'] else: