Using the mass reaper example in python-sc2 as a starting point, we use the pathing module in map_analyzer to improve the reaper micro. This is achieved by adding enemy influence to pathing grids to allow reapers micro a bit more precisely.
This example should work with the Ai-Arena ladder ladder using the following steps:
- Choose a new name and give your bot some character!
- Rename
MassReaper
references in this example toYourBotName
- Copy
SC2MapAnalysis/map_analyzer
folder inside this folder since aiarena environment does not have MA installed - Copy the
sc2
folder from the python-sc2 repo and put it inside this folder. This step may be optional but ensures our bot ships with the latest version ofpython-sc2
- Zip the entire folder, make sure all files are in the root folder
- Create an account on https://aiarena.net/ and create a new bot
- Upload the zip to aiarena and join competitions or request matches
See the ai-arena wiki for more information https://aiarena.net/wiki/bot-development/getting-started/#wiki-toc-python