aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-06-01 11:11:27 -0500
committerAnthony Wang2021-06-01 11:11:27 -0500
commitb8a801e4b2b2087c4dd1e1bd43ecef306e429d72 (patch)
tree98c2d5e9a260e97140b636f9e6c26b97588dad0c
parente3c0bf7833ea2ad4d3340ef8d7d400123c51f133 (diff)
Testing python-algo
-rw-r--r--python-algo/algo_strategy.py1
-rw-r--r--python-algo/gamelib/__pycache__/__init__.cpython-39.pycbin0 -> 1788 bytes
-rw-r--r--python-algo/gamelib/__pycache__/algocore.cpython-39.pycbin0 -> 3086 bytes
-rw-r--r--python-algo/gamelib/__pycache__/game_map.cpython-39.pycbin0 -> 8651 bytes
-rw-r--r--python-algo/gamelib/__pycache__/game_state.cpython-39.pycbin0 -> 20007 bytes
-rw-r--r--python-algo/gamelib/__pycache__/navigation.cpython-39.pycbin0 -> 8880 bytes
-rw-r--r--python-algo/gamelib/__pycache__/unit.cpython-39.pycbin0 -> 4146 bytes
-rw-r--r--python-algo/gamelib/__pycache__/util.cpython-39.pycbin0 -> 1145 bytes
8 files changed, 1 insertions, 0 deletions
diff --git a/python-algo/algo_strategy.py b/python-algo/algo_strategy.py
index 31df70c..1767a3f 100644
--- a/python-algo/algo_strategy.py
+++ b/python-algo/algo_strategy.py
@@ -53,6 +53,7 @@ class AlgoStrategy(gamelib.AlgoCore):
game engine.
"""
game_state = gamelib.GameState(self.config, turn_state)
+ game_state.attempt_spawn(DEMOLISHER, [24, 10], 3)
gamelib.debug_write('Performing turn {} of your custom algo strategy'.format(game_state.turn_number))
game_state.suppress_warnings(True) #Comment or remove this line to enable warnings.
diff --git a/python-algo/gamelib/__pycache__/__init__.cpython-39.pyc b/python-algo/gamelib/__pycache__/__init__.cpython-39.pyc
new file mode 100644
index 0000000..b14b830
--- /dev/null
+++ b/python-algo/gamelib/__pycache__/__init__.cpython-39.pyc
Binary files differ
diff --git a/python-algo/gamelib/__pycache__/algocore.cpython-39.pyc b/python-algo/gamelib/__pycache__/algocore.cpython-39.pyc
new file mode 100644
index 0000000..f40594c
--- /dev/null
+++ b/python-algo/gamelib/__pycache__/algocore.cpython-39.pyc
Binary files differ
diff --git a/python-algo/gamelib/__pycache__/game_map.cpython-39.pyc b/python-algo/gamelib/__pycache__/game_map.cpython-39.pyc
new file mode 100644
index 0000000..f0099ea
--- /dev/null
+++ b/python-algo/gamelib/__pycache__/game_map.cpython-39.pyc
Binary files differ
diff --git a/python-algo/gamelib/__pycache__/game_state.cpython-39.pyc b/python-algo/gamelib/__pycache__/game_state.cpython-39.pyc
new file mode 100644
index 0000000..29f26d7
--- /dev/null
+++ b/python-algo/gamelib/__pycache__/game_state.cpython-39.pyc
Binary files differ
diff --git a/python-algo/gamelib/__pycache__/navigation.cpython-39.pyc b/python-algo/gamelib/__pycache__/navigation.cpython-39.pyc
new file mode 100644
index 0000000..2cddfbb
--- /dev/null
+++ b/python-algo/gamelib/__pycache__/navigation.cpython-39.pyc
Binary files differ
diff --git a/python-algo/gamelib/__pycache__/unit.cpython-39.pyc b/python-algo/gamelib/__pycache__/unit.cpython-39.pyc
new file mode 100644
index 0000000..04d5fa8
--- /dev/null
+++ b/python-algo/gamelib/__pycache__/unit.cpython-39.pyc
Binary files differ
diff --git a/python-algo/gamelib/__pycache__/util.cpython-39.pyc b/python-algo/gamelib/__pycache__/util.cpython-39.pyc
new file mode 100644
index 0000000..1a42e46
--- /dev/null
+++ b/python-algo/gamelib/__pycache__/util.cpython-39.pyc
Binary files differ