This commit is contained in:
Jonas Zeunert
2022-08-31 14:58:33 +02:00
parent db54f0f95c
commit ca75dba340
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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