genetic_algorithm #7
@ -80,7 +80,7 @@ def tile_cost(tile):
|
|||||||
if tile.image == "resources/images/sampling.png":
|
if tile.image == "resources/images/sampling.png":
|
||||||
return 100
|
return 100
|
||||||
if tile.image == "resources/images/rock_dirt.png":
|
if tile.image == "resources/images/rock_dirt.png":
|
||||||
return 1000
|
return 500
|
||||||
else:
|
else:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user