Update main.py
This commit is contained in:
@@ -115,7 +115,7 @@ while True:
|
|||||||
if horse.rect.colliderect(upper_bound_rect) or horse.rect.colliderect(lower_bound_rect):
|
if horse.rect.colliderect(upper_bound_rect) or horse.rect.colliderect(lower_bound_rect):
|
||||||
horse.stop()
|
horse.stop()
|
||||||
horse.count_fitness()
|
horse.count_fitness()
|
||||||
print(str(horse.color) + ' ' + str(horse.fitness))
|
print(str(horse.color) + ': ' + str(horse.fitness))
|
||||||
|
|
||||||
|
|
||||||
for object in gameobjects:
|
for object in gameobjects:
|
||||||
|
|||||||
Reference in New Issue
Block a user