Skip to content

soitchu/color-slide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.