Read the article here : http://buildnewgames.com/real-time-multiplayer/
An example using node.js, socket.io and HTML5 Canvas to explain and demonstrate realtime multiplayer games in the browser.
- Get node.js
- Install socket.io
npm install socket.io
- Install node-udid
npm install node-uuid
- Install express
npm install express
- Run node app.js
- Visit http://127.0.0.1:4004/?debug
MIT Licensed.