Score weights Rebalancing
This commit is contained in:
@@ -47,10 +47,10 @@ class AiHttpGameHandler(GameHandler):
|
|||||||
VALIDATION_DIFFICULTY = 90
|
VALIDATION_DIFFICULTY = 90
|
||||||
REPLAY_FRAME_DELAY = 0.1
|
REPLAY_FRAME_DELAY = 0.1
|
||||||
# Scoring weights TOTAL MUST BE 100
|
# Scoring weights TOTAL MUST BE 100
|
||||||
COINS_WEIGHT = 35
|
COINS_WEIGHT = 50
|
||||||
STEPS_WEIGHT = 10
|
STEPS_WEIGHT = 20
|
||||||
DISTANCE_WEIGHT = 10
|
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
|
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.
|
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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user