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
- Host: GitHub
- URL: https://github.com/dentosal/python-sc2-bot-template
- Owner: Dentosal
- License: mit
- Created: 2018-01-22T14:54:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T06:49:34.000Z (over 8 years ago)
- Last Synced: 2025-04-11T20:11:47.912Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 6
- Watchers: 0
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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