Attempt to upgrade turrents too

This commit is contained in:
Anthony Wang 2021-06-05 15:34:57 +00:00
parent a1ac06dfd1
commit 5ea36e60c8

View file

@ -149,6 +149,9 @@ class AlgoStrategy(gamelib.AlgoCore):
# Place walls in front of turrets to soak up damage for them
wall_locations = [[1, 13], [3, 13], [5, 13], [7, 13], [9, 13], [11, 13], [13, 13], [14, 13], [16, 13], [18, 13], [20, 13], [22, 13], [24, 13], [26, 13], [0, 13], [2, 13], [4, 13], [6, 13], [10, 13], [12, 13], [15, 13], [17, 13], [19, 13], [21, 13], [23, 13], [25, 13], [27, 13]]
game_state.attempt_spawn(WALL, wall_locations)
game_state.attempt_upgrade(turrent_locations)
# upgrade walls so they soak more damage
game_state.attempt_upgrade(wall_locations)