Example #1
0
 def twoplayer_setup(self):
     game1 = TicTacToe.Game()
     player1 = TicTacToe.Player('X', game1)
     player2 = TicTacToe.Player('O', game1)
     return (game1, player1, player2)
Example #2
0
 def onecompplayer_setup(self):
     game1 = TicTacToe.Game()
     computer1 = TicTacToe.Computer('X', game1)
     player2 = TicTacToe.Player('O', game1)
     return (game1, computer1, player2)