/battle_snake

BattleSnake 2017 Game Server

Primary LanguageElixir

Battle Snake

The 2017 Game Server

Build Status Coverage Status Docker Automated build

Example Game Animation

Running With Docker

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.

Building from source

Prerequisites

git clone git@github.com:StemboltHQ/battle_snake.git`
cd battle_snake
./scripts/setup
./scripts/dev-server

Testing

mix test

Building the docker image locally

  • docker build --rm -t battle_snake_server .
  • docker run -it -p 4000:4000 battle_snake_server
  • Connect to http://localhost:4000