aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-06-04 16:56:08 +0000
committerAnthony Wang2021-06-04 16:56:08 +0000
commitb304ea63f0d4d340d5a61080d2ad0093af586c62 (patch)
tree5580a4fe9c9feb31c5f313da0e46e21c4d8c0d88
parent0e46ee10beeeb89472618ed15adeb661102896ae (diff)
Update spawn position
-rw-r--r--python-algo/algo_strategy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python-algo/algo_strategy.py b/python-algo/algo_strategy.py
index 0ef3d3f..c8d138a 100644
--- a/python-algo/algo_strategy.py
+++ b/python-algo/algo_strategy.py
@@ -80,9 +80,9 @@ class AlgoStrategy(gamelib.AlgoCore):
self.build_reactive_defense(game_state)
if game_state.turn_number % 4 == 0:
- game_state.attempt_spawn(SCOUT, [16, 2], game_state.number_affordable(SCOUT))
+ game_state.attempt_spawn(SCOUT, [14, 0], game_state.number_affordable(SCOUT))
elif game_state.turn_number % 4 == 2:
- game_state.attempt_spawn(INTERCEPTOR, [16, 2], game_state.number_affordable(INTERCEPTOR))
+ game_state.attempt_spawn(INTERCEPTOR, [14, 0], game_state.number_affordable(INTERCEPTOR))
'''
# If the turn is less than 5, stall with interceptors and wait to see enemy's base