The 2017 Game Server
- Install Docker
docker run -it -p 4000:4000 stembolt/battle_snake
- Connect to http://localhost:4000
Note: Docker runs on a virtual lan so when you add a snake to the game you cannot use localhost
, use your internal IP instead.
git clone git@github.com:StemboltHQ/battle_snake.git`
cd battle_snake
./scripts/setup
./scripts/dev-server
mix test
docker build --rm -t battle_snake_server .
docker run -it -p 4000:4000 battle_snake_server
- Connect to http://localhost:4000