Forked and updated by Asad Memon. Special thanks to https://github.com/icemelt7 Original Source by FuzzYSpo0N.
- Client and Server files have been seperated for the sake of simplicity and security.
- More than two players support has been added. (work in progress)
Read the article here : http://buildnewgames.com/real-time-multiplayer/
View my demo here : http://multijs1.cloudapp.net:8080/?debug
View two player original demo here : http://underscorediscovery.aws.af.cm/?debug
An example using node.js, socket.io and HTML5 Canvas to explain and demonstrate realtime multiplayer games in the browser.
- Get node.js
- run
npm install
inside the cloned folder - run
node app.js
inside the cloned folder - Visit http://127.0.0.1:4004/?debug
- 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 inside the cloned folder
- Visit http://127.0.0.1:4004/?debug
MIT Licensed.