Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.75 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.75 KB

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 [email protected]: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