Start the client on your machine with:
docker run --name match -p 10001:10001 stephanzlatarev/sc-vs-bot-client
StarCraft II on GUEST side should turn green.
If it doesn't, check for errors in the console of the client.
If it turns green and shortly after turns back to red, check if you're behind a firewall.
You're now ready to run your bot. Run:
<your-bot> --LadderServer 127.0.0.1 --GamePort 10001 --StartPort 10001
--OpponentId eaf8a4ce-8bde-42d6-82b3-2861c8a47930
LadderServer and GamePort must match the address of the docker container.
StartPort should be 10001 if you use the standard port allocations for JoinGameRequest.
The request must have the ports in bold exactly as shown below:
serverPorts:
gamePort: 10003
basePort: 10004
clientPorts:
- gamePort: 10005
basePort: 10006
The other ports in JoinGameRequest will be ignored anyway.
It may take 10-20 seconds for your bot to join the game.
After the match completes, stop the client (it's proof-of-concept quality, sorry) with:
docker rm -f match
Good luck and have fun!