From ca75dba34049f03e25e70d2d7abaa6ba7ef2685c Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Wed, 31 Aug 2022 14:58:33 +0200 Subject: [PATCH] mit --- PlayerState.py | 2 +- config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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