new selections need to set a time limit

This commit is contained in:
2019-10-24 10:03:18 +02:00
parent b1f0bab9a7
commit 132cec2445
4 changed files with 54 additions and 25 deletions

View File

@@ -62,8 +62,8 @@ def run_round(all_cars):
all_cars.empty()
for b in new_brains :
all_cars.add(Car(brain=b))
print("Waiting 5 secs before new run")
for x in range(10) :
print("Waiting before new run")
for x in range(1) :
time.sleep(0.5)
pygame.display.flip()