Python Forum
Help with tic-tac-toe project
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with tic-tac-toe project
#2
if self.board[0][0] will always be True if it contains something. Instead use
if letter == self.board[0][0] == self.board[1][0] == self.board[2][0]:
Reply


Messages In This Thread
Help with tic-tac-toe project - by MAZambelli4353 - Aug-15-2018, 01:22 AM
RE: Help with tic-tac-toe project - by woooee - Aug-15-2018, 08:05 AM
RE: Help with tic-tac-toe project - by heras - Aug-15-2018, 03:27 PM
RE: Help with tic-tac-toe project - by scidam - Aug-16-2018, 01:01 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020