-
Clone the repo
-
Install packages
sudo apt install nodejs npm
cd server
npm install
- Start WebSocket server in terminal
./server.js
or run it in infinite loop (useful for debugging)
./ws-server
- Open client/client.html in web browser as a local file. You can play with multiple instances of the client in browser tabs/windows.