Read the full article: 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.
JavaScript
Pull request Compare This branch is 10 commits behind underscorediscovery:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.md
app.js
client.js
game.core.js
game.server.js
index.css
index.html
package.json

README.md

Realtime Multiplayer In HTML5

Read the article here : http://buildnewgames.com/real-time-multiplayer/

View the 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.

Getting started (Using npm package.json)

Getting started (Manual install)

  • 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.