From 1a48c696ea0f67a7e6e39d3c7cb3d11471f00da8 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 30 Sep 2017 13:34:46 -0700 Subject: [PATCH] Remove empty check --- tictactoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tictactoe.py b/tictactoe.py index 0541fe0..8f9a170 100644 --- a/tictactoe.py +++ b/tictactoe.py @@ -36,7 +36,7 @@ class Board: @property def is_o_turn(self): x_ahead_one = (self.num_x == self.num_o + 1) - return (self.empty or x_ahead_one) and not self.full + return x_ahead_one and not self.full @property def next_player(self):