Skip to content

stair-ch/snakehack-server

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Elixir 62.2%
  • JavaScript 15.3%
  • CSS 12.8%
  • HTML 8.7%
  • Shell 0.4%
  • Ruby 0.4%
  • DIGITAL Command Language 0.2%