- Run the websocket server:
node ws-server.js
. - Visit
index.html
on 2 tabs on the same computer.
- Run the websocket server:
node ws-server.js
. - Run a HTTP static file server:
python python-server.py
. - Visit
localhost:8080
on 2 tabs on the same computer.
- Start as game.
- Start as controller.
- Press any button to start game.