Chess, but long - aka "Chong". Inspired by the following legendary photograph:
You really just need NodeJS to run this, though you will also need to set up port forwarding, find a cloud VM, or use a tunneling service like Ngrok to make your instance available to others. Once this is in place, just do the following:
- Clone this repository.
cd
into the resulting directory and install the package dependencies by runningnpm install
. - You're basically almost done - you just need to set up the WebSocket client. That's not as hard as it sounds; go to
/public/javascripts/index.js
. There should be a long list of global variables; find the one calledWS_URL
. - By default,
WS_URL = localhost:3000
; you'll want to change this to the address of whatever server you're running this on. It should be whatever address other people would use to access your instance; for example, if your instance is accessible at "http://www.chong.com', you'd setWS_URL = chong.com
. - You may also need to modify
WS_PROTOCOL
towss
orws
depending on whether your server is HTTPS or HTTP respectively.