Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Nought to real-time, multiplayer game in 16 hou...

Nought to real-time, multiplayer game in 16 hours with Pusher

Philip Roberts

July 01, 2012
Tweet

More Decks by Philip Roberts

Other Decks in Programming

Transcript

  1. //Running on the client (your phone) var pusher = new

    Pusher('aa16fedd0ca224252c4d'); var channel = pusher.subscribe('chatroom'); channel.bind('message', function(data) { document.write( data.from+' said: '+data.content+"<br>" ); }); http://bit.ly/websocks