Skip to content

asadm/realtime-multiplayer-in-html5

 
 

Repository files navigation

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%