https://soitchu.com/color-slide/
Run the following command:
npm install
Then configure config.json, as per your needs.
webSocketDomain
: The name of the domain
webSocketPort
: The port where the websocket will be running
protocol
: The protocal used; it can be either 'https' or http
cors
: The CORS settings for the websocket server
If the protocal used is 'https,' then you have to also configure the following fields:
key
, cert
and ca
You just need to serve the files in the 'client' folder. 'webSocketUrl' is the variable where the URL of the websocket server is stored.
The rules of this game can be found here.