Chessboard Multiplayer
CSS JavaScript HTML
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.
bin
public
routes
sockets
views
.bowerrc
.gitignore
Gruntfile.js
LICENSE
Procfile
README.md
app.js
app.yaml
bower.json
newrelic.js
package.json
server.js

README.md

chessboard-io

Chessboard Multiplayer

Debug

npm-debug ./bin/www

Update to github

git push origin master

Deploy

cd ~/www/chessboard-io
git pull
npm install && npm update
bower install && bower update

pm2 restart www

Nginx Config

location / {
    proxy_pass http://localhost:3000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
}

TODO

  • add about page and contact pages
  • support game statuses - in check, game over, stalemate etc
  • Add timer for game
  • Add resign button
  • highlight the move when user hovers on the game log entry
  • show indication when opponent piece is killed in game log
  • show the piece icon in game log
  • add timestamp in game log
  • add restart game feature