Skip to content

jlin1212/longchess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

longchess

Chess, but long - aka "Chong". Inspired by the following legendary photograph:

Setup

Dependencies

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:

  1. Clone this repository. cd into the resulting directory and install the package dependencies by running npm install.
  2. 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 called WS_URL.
  3. 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 set WS_URL = chong.com.
  4. You may also need to modify WS_PROTOCOL to wss or ws depending on whether your server is HTTPS or HTTP respectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published