Skip to content

xfifix/curvytron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curvytron

A web multiplayer Tron game like with curves

Installation

npm install
bower install
gulp

Launch server:

node bin/curvytron.js

Play:

Go to http://localhost:8080/, join a room, choose a player name and get ready!

Setting it up with Nginx:

Create a virtual host:

server {
    listen 80;

    server_name curvytron.acme.com;

    root /path/to/curvytron/web;
    index index.html;

    access_log  /var/log/nginx/curvytron/access.log combined;
    error_log   /var/log/nginx/curvytron/error.log;

    location / {

        proxy_pass http://127.0.0.1:8080;
        proxy_http_version 1.1;

        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;

        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

About

A web multiplayer Tron game like with curves

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.7%
  • CSS 41.3%