Score weights Rebalancing

This commit is contained in:
2026-10-31 17:00:21 +01:00
parent 104297e88b
commit 0fd490b97c
+3 -3
View File
@@ -47,10 +47,10 @@ class AiHttpGameHandler(GameHandler):
VALIDATION_DIFFICULTY = 90
REPLAY_FRAME_DELAY = 0.1
# Scoring weights TOTAL MUST BE 100
COINS_WEIGHT = 35
STEPS_WEIGHT = 10
COINS_WEIGHT = 50
STEPS_WEIGHT = 20
DISTANCE_WEIGHT = 10
WIN_WEIGHT = 45
WIN_WEIGHT = 20
PLAY_ALL_MAPS_PER_GENERATION = False # Are all maps played during a generation or only MAPS_PER_GENERATION maps per generation are played
MAPS_PER_GENERATION = 3 # Evaluate across x maps per generation. Only used if PLAY_ALL_MAPS_PER_GENERATION is False. If True, all maps are played in a generation.
MAP_PASS_MIN_SCORE = 20 # Minimum score to consider a map passed. Only used if PLAY_ALL_MAPS_PER_GENERATION is False. If True, all maps are played in a generation.