An open API service indexing awesome lists of open source software.

https://github.com/dentosal/python-sc2-bot-template

A template for developing competitive bots using python-sc2 library
https://github.com/dentosal/python-sc2-bot-template

Last synced: about 1 year ago
JSON representation

A template for developing competitive bots using python-sc2 library

Awesome Lists containing this project

README

          

# A bot template for [`python-sc2`](https://github.com/Dentosal/python-sc2)

Used by [Dentosal/sc2-bot-match-runner](https://github.com/Dentosal/sc2-bot-match-runner)

## Setup

You'll need Python 3.6 or newer.

1. Change the name and race of your bot from `botinfo.json`
2. Install the SC2 Python API: `pip3 install --user --upgrade sc2`.
3. Try it: `python3 run_locally.py`
4. Start coding!

Starting points:

- [Python SC2 API docs](https://github.com/Dentosal/python-sc2), check out the Wiki!
- Your bot code goes to `bot/main.py`
- You can modify the `run_locally.py` starter script to your liking
- Do not modify `start_bot.py` which is used by the competition runner scripts