diff options
author | Anthony Wang | 2021-06-04 17:30:36 +0000 |
---|---|---|
committer | Anthony Wang | 2021-06-04 17:30:36 +0000 |
commit | aca828d056fab4cc477213a771f97df5a7a2a3c8 (patch) | |
tree | c035d420377d7b977dfb0a730f1bf41e130563a7 | |
parent | b304ea63f0d4d340d5a61080d2ad0093af586c62 (diff) |
Change wall placement
-rw-r--r-- | python-algo/algo_strategy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python-algo/algo_strategy.py b/python-algo/algo_strategy.py index c8d138a..756bcd6 100644 --- a/python-algo/algo_strategy.py +++ b/python-algo/algo_strategy.py @@ -118,12 +118,12 @@ class AlgoStrategy(gamelib.AlgoCore): # More community tools available at: https://terminal.c1games.com/rules#Download # Place turrets that attack enemy units - turret_locations = [[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]] + turret_locations = [[0, 12], [2, 12], [4, 12], [6, 12], [10, 12], [12, 12], [15, 12], [17, 12], [19, 12], [21, 12], [23, 12], [25, 12], [27, 12]] # attempt_spawn will try to spawn units if we have resources, and will check if a blocking unit is already there game_state.attempt_spawn(TURRET, turret_locations) # 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]] + 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) # upgrade walls so they soak more damage game_state.attempt_upgrade(wall_locations) |