Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 849 Bytes

readme.md

File metadata and controls

29 lines (18 loc) · 849 Bytes

Demo

https://soitchu.com/color-slide/

Installation (server)

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

Installation (client)

You just need to serve the files in the 'client' folder. 'webSocketUrl' is the variable where the URL of the websocket server is stored.

How to play

The rules of this game can be found here.