Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Branch: master
Pull request Compare This branch is 15 commits ahead, 9 commits behind underscorediscovery:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md
app.js
client.js
game.core.client.js
game.core.server.js
game.server.js
index.css
index.html
package.json
player.js

README.md

Forked and updated by Asad Memon. Special thanks to https://github.com/icemelt7 Original Source by FuzzYSpo0N.

CHANGES

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

Realtime Multiplayer In HTML5

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.

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.

Something went wrong with that request. Please try again.