genetics code (untested)

This commit is contained in:
2019-10-22 15:41:12 +02:00
parent 65808e4c62
commit 80319712d0
6 changed files with 89 additions and 15 deletions

View File

@@ -43,6 +43,9 @@ while running_cars :
pygame.display.flip()
clock.tick(24)
for c in all_cars :
print(f"Car {id(c)} Fitness : {c.brain.fitness})")
while True :
pygame.display.flip()
clock.tick(24)