Python Forum
Help with tic tac toe game.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with tic tac toe game.
#2
The scene should maybe have a list of players, instead of just one, along with an index for which player's turn it currently is. And once a player's turn is complete, you move onto the next with something like self.current_player = (self.current_player + 1) % len(self.players)
Reply


Messages In This Thread
Help with tic tac toe game. - by ghost0fkarma - Apr-09-2019, 02:42 PM
RE: Help with tic tac toe game. - by nilamo - Apr-09-2019, 06:09 PM
RE: Help with tic tac toe game. - by Windspar - Apr-09-2019, 09:38 PM

Forum Jump:

User Panel Messages

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