Remove empty check
This commit is contained in:
parent
c725d3764d
commit
1a48c696ea
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Board:
|
||||||
@property
|
@property
|
||||||
def is_o_turn(self):
|
def is_o_turn(self):
|
||||||
x_ahead_one = (self.num_x == self.num_o + 1)
|
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
|
@property
|
||||||
def next_player(self):
|
def next_player(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue