mit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user