aboutsummaryrefslogtreecommitdiff
path: root/planetwars-cli/assets
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-cli/assets')
-rw-r--r--planetwars-cli/assets/pw_workspace.toml12
-rw-r--r--planetwars-cli/assets/simplebot/botconfig.toml2
-rw-r--r--planetwars-cli/assets/simplebot/simplebot.py (renamed from planetwars-cli/assets/simplebot.py)0
3 files changed, 6 insertions, 8 deletions
diff --git a/planetwars-cli/assets/pw_workspace.toml b/planetwars-cli/assets/pw_workspace.toml
index 85a4ab6..d82840f 100644
--- a/planetwars-cli/assets/pw_workspace.toml
+++ b/planetwars-cli/assets/pw_workspace.toml
@@ -1,10 +1,6 @@
-[bots]
+[paths]
+maps_dir = "maps"
+matches_dir = "matches"
-# define a bot called simplebot
[bots.simplebot]
-
-# The working directory for the bot.
-path = "./bots/simplebot"
-
-# What command to use for running the bot
-argv = ["python", "simplebot.py"] \ No newline at end of file
+path = "bots/simplebot"
diff --git a/planetwars-cli/assets/simplebot/botconfig.toml b/planetwars-cli/assets/simplebot/botconfig.toml
new file mode 100644
index 0000000..b3a4163
--- /dev/null
+++ b/planetwars-cli/assets/simplebot/botconfig.toml
@@ -0,0 +1,2 @@
+name = "simplebot"
+run_command = "python3 simplebot.py" \ No newline at end of file
diff --git a/planetwars-cli/assets/simplebot.py b/planetwars-cli/assets/simplebot/simplebot.py
index b2a6b8f..b2a6b8f 100644
--- a/planetwars-cli/assets/simplebot.py
+++ b/planetwars-cli/assets/simplebot/simplebot.py