A simple code exploration, inspired by (and stollen from) Björn Staal. More info here.
How to run this experiment locally:
npm i
- Then, open one more terminal.
- In the first terminal:
node server/server.js
- In the second terminal:
cd client && http-server
- Open
localhost:8080?b=1
in one tab, and - Open
localhost:8080?b=2
in another tab
Future ideas
- I plan to add a flag to run this in localStorage mode only
- I plan to add an option for an infinity number of windows and remove the need for the query in the URL
- Move to WebRTC