fixed issue crashing connections and added system logger

This commit is contained in:
2024-01-14 17:55:35 +01:00
parent 677552a617
commit 15cce52aea
16 changed files with 93 additions and 81 deletions

View File

@ -9,13 +9,17 @@ class GameManager:
__state:str
__round:str
def __init__(self):
def __init__(self, logger):
self.__players = {}
self.__playingPlayer = None
self.__state = "waiting"
self.__round = "none"
self.logger = logger
pass
def getLogger(self):
return self.logger
# game round management
# this section manages the flow of rounds this should inherit itself
# =============================================================================