To make it easier for you to learn how to write a bot, you can work through our Quests step-by-step to get familiar with the game and bot API.
To play a specific level you can select the Campaign Mode in the game.
You can find the Quests in the Contest group (wettbewerb
).
Remember to enable bot support before starting a game.
If you have installed the game, you can also start a specific level from the command line.
(You can select the level using the --level
(-l
) argument):
terratactician-expandoria --campaign --group wettbewerb --level quest2 --bot "localhost:7738"
# You can also use the short hand arguments
terratactician-expandoria -c -L wettbewerb -l quest2 -b "localhost:7738"
If you are using the web version, you can also select a level below and launch it directly in your browser:
Important: For the game to be able to connect to the bot, you have to start the bot before starting the game.