Add game loop. Add fitness counter

This commit is contained in:
Emil Shanaty
2025-04-07 19:43:54 +03:00
parent 0ea4f47eaa
commit 7f95624dc9
2 changed files with 43 additions and 21 deletions
+1
View File
@@ -117,6 +117,7 @@ class Barrier(GameObject):
self.scale_by(5)
class UI:
iteration_num = 0
horses = [] # List of child objects
horizontal_offset = 25 # Horizontal spacing between marks
vertical_offset = -25 # Vertical spacing between marks