Hybrid Snake + Minesweeper game
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
.dockerignore
.gitignore
Dockerfile
Gruntfile.js
README.md
package-lock.json
package.json

README.md

Office Snake

Office Snake is a competitive Snake game written in JavaScript.

Challenge mode combines Snake with the classic Minesweeper game.

Supported Browsers: IE 7+, FireFox 13, Safari 5.1.7, Opera 11.64, Chrome 19

Usage

First, build the Docker image:

docker build -t office_snake .

Concatenate source files with:

docker run -v $(pwd)/public:/opt/office_snake/public office_snake grunt default

To start the service:

docker run -p 8000:8000 -v $(pwd)/public:/opt/office_snake/public office_snake

Navigate to http://<docker-ip>:8000 in your browser.

Development

To rebuild assets when files change:

fswatch -o public/js | xargs -n1 -I{} docker run -v $(pwd)/public:/opt/office_snake/public office_snake grunt default