You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# line 132-135
def end_game_draw(self):
if 0 not in self.field[0]:
return True
return False
# line 182-192
draw = game.end_game_draw()
if draw:
print("The game is draw!")
restart = input("type \"r\" to restart the game: ").lower()
if restart == "r":
start_game()
else:
break
0 commit comments