genetic_algorithm #7

Merged
s481894 merged 8 commits from genetic_algorithm into master 2024-06-10 11:47:16 +02:00
15 changed files with 2 additions and 2 deletions
Showing only changes of commit 182274c160 - Show all commits

View File

@ -192,7 +192,7 @@ def do_actions(tractor, WIN, move_list):
tractor.draw_tractor(WIN)
pygame.display.update()
time.sleep(0.5)
time.sleep(0.35)
#displays results of the "work_on_field" function next to the field:

View File

@ -80,7 +80,7 @@ def tile_cost(tile):
if tile.image == "resources/images/sampling.png":
return 100
if tile.image == "resources/images/rock_dirt.png":
return 500
return 1000
else:
return 1