diff --git a/PlayerState.py b/PlayerState.py index 35a0c7d..59623d1 100644 --- a/PlayerState.py +++ b/PlayerState.py @@ -302,7 +302,7 @@ class PlayerState: self.stopReplayBall() return - self.replayBallTimer = Timer(interval = 1, function=self.updateReplayBall) + self.replayBallTimer = Timer(interval=1, function=self.updateReplayBall) def stopReplayBall(self): if not self.isActive: return diff --git a/config.py b/config.py index 8231f97..510d473 100644 --- a/config.py +++ b/config.py @@ -13,9 +13,9 @@ SOCKET_PATH = '/tmp' #os.environ["XDG_RUNTIME_DIR"] if os.environ["XDG_RUNTIME_D INPUT_SOCKET_NAME = "/S.flippR_driver.in" OUTPUT_SOCKET_NAME = "/S.flippR_driver.out" ## Player State config -BALLS_PER_GAME = 3 +BALLS_PER_GAME = 1 BEGINNING_UPPER_PLAYFIELD_TIME = 5 -BEGINNING_BONUS_TIME = 0 +BEGINNING_BONUS_TIME = 5 ## Bonus Time Algorithm BONUS_TIME_ALGORITHM = BONUS_TIME_ALGORITHM_OPTIONS["RANDOM"] BONUS_TIME_MIN_RANDOM_TIME = 5