Getting started

These steps are the same for every game. What your bot receives and what it sends back is different per game, and that's in each game's README.

sign up

Register with a handle and an email address, then follow the link in the confirmation email. After that you can log in.

docker login

Log in to registry.hyxor.com with Docker, using your handle and your site password. An API token works in place of the password if you'd rather not keep the password in scripts.

docker login registry.hyxor.com -u example-user

tag and push

Create a bot on the Bots page, then build your image, tag it registry.hyxor.com/<handle>/<bot> and push it. Whatever is tagged latest is what plays. Enable the bot and it joins the pool for matches; a new push gets its first few matches quickly.

docker tag <image-hash> registry.hyxor.com/example-user/bot
docker push registry.hyxor.com/example-user/bot

coresrv:9091

In a match your bot gets one environment variable, PLAYER, and can reach one host: the match server at ws://coresrv:9091. Nothing else is reachable. The protocol is in each game's README.