A web multiplayer Tron game like with curves
npm install
bower install
gulp
node bin/curvytron.js
Go to http://localhost:8080/
, join a room, choose a player name and get ready!
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;
}
}