This commit is contained in:
Jonas Zeunert
2022-08-31 17:40:18 +02:00
parent 0e786ac17f
commit 88be7391b6

View File

@@ -64,8 +64,9 @@ class GameState:
UPPER_PLAYFIELD_TIME_LAMPS, TUNNEL_NUMBER_LAMPS,
TUNNEL_LAMPS, TUNNEL_SCORE_LAMPS]
while True:
random_group = random.choice(all_cabinet_lamps)
random_group.toggleRandom(0.2)
for _ in range(20):
random_group = random.choice(all_cabinet_lamps)
random_group.toggleRandom(0.1)
for lamps in all_cabinet_lamps:
for _ in lamps.lamps:
lamps.cycle()