Files
TicTacToe/playerhandler.py

16 lines
403 B
Python
Raw Normal View History

2025-09-22 19:43:52 +02:00
class Playerhandler:
player1 = None # bool that states which player is currently playing
player1_char = None
player2_char = None
ai = None
def __init__(self):
self.player1 = True # bool that states which player is currently playing
self.player1_char = "X"
self.player2_char = "O"
self.ai = False
'''
def getPlayer(self):
return'''