Skip to content

gkapkowski/snakey.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snakey.io

Snakey.io implementation files

Game Server

Running locally

  1. Download & install Node.js

  2. Download snakey.io code or clone repository.

    git clone [email protected]:gkapkowski/snakey.io.git
    cd snakey.io/
  3. Install dependencies

    npm install package.json
  4. Build Package

    gulp
  5. Start server (default port: 5000)

    npm start

    or

    node dist/server/server.js [PORT]

Players

Running Locally

  1. Download snakey.io code (Download) or clone repository.

    git clone [email protected]:gkapkowski/snakey.io.git

Django

It's recommended to run snake server in virtual enviroment. Read more at http://www.virtualenv.org/en/latest/

  1. go to example django snake dir

    cd snakey.io/examples/django
    
  2. Install requirements:

    pip install requirements.txt
  3. Run server (default port 8000)

    gunicorn example.wsgi:application

Node.js

  1. Download & install Node.js from http://nodejs.org/download/

  2. Go to example snake dir

    cd snakey.io/examples/node/
  3. Install dependencies

    npm install
  4. Run server (default port 8001)

    npm start

    or

    node snake.js

About

Snakey.io implementation files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published