BurnySc2 / python-sc2

A StarCraft II bot api client library for Python 3
MIT License
509 stars 157 forks source link

Hosting a bot (vs Human) #115

Closed srfoster closed 2 years ago

srfoster commented 3 years ago

Is it possible for me to make a bot that others can play against from their own computers? I see there's an "external bot." But it's not clear if this is what I should be using (or how to set it up for what I have in mind).

BurnySc2 commented 3 years ago

The easiest way is probably to send your friends your source code, even though it might be hard for them to set it up (install python, python-sc2 and correctly setting up the connection).

I'm sure it is possible, but very hard to set it up over a network/proxy. Also keep in mind that in this case your bot may face extra challenges: it needs to support realtime mode (where information isn't received the next frame but may skip frames) and if your bot-computer is not the host, your bot will have some delay in its actions.

This probably isn't the answer you wanted to hear since it helps very little - perhaps you could join the discord (see the README.md) and ask the question again, maybe people have tried it before.