Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.23 KB

File metadata and controls

46 lines (31 loc) · 1.23 KB

SnakeHack 2017 Game Server

An instance of the server is running here: http://snakehack.enterpriselab.ch

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:stair-ch/snakehack-server.git`
cd snakehack-server
./scripts/setup
./scripts/dev-server

Testing

mix test

Building the docker image locally

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