refactored repo

This commit is contained in:
2025-09-22 19:43:52 +02:00
parent 140ba5a3fd
commit 5fcc57942e
6 changed files with 342 additions and 179 deletions

16
playerhandler.py Normal file
View File

@@ -0,0 +1,16 @@
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'''