This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Socket.IO.js build:0.9.6, development. Copyright(c) 2011 LearnBoost <[email protected]> MIT Licensed */ | |
/** | |
* socket.io | |
* Copyright(c) 2011 LearnBoost <[email protected]> | |
* MIT Licensed | |
*/ | |
(function (exports, global) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Create and listen for clients on the existing web server | |
//we created above. app is the express server. | |
var io = require('socket.io').listen( app ); | |
//We also introduce a UUID library, for unique identifiers. | |
//Not required, but I find useful. | |
var UUID = require('node-uuid'); | |
/* Socket.io Configuration */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> Real time multi-player games with HTML5</title> | |
<style type="text/css"> | |
html , body { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../game-b/game-b.html" rel="import"> | |
<link href="../game-bbar/game-bbar.html" rel="import"> | |
<link href="../game-pa/game-pa.html" rel="import"> | |
<link href="../game-deck/game-deck.html" rel="import"> | |
<link href="../game-setup/game-setup.html" rel="import"> | |
<link href="../game-coinbar/game-coinbar.html" rel="import"> | |
<link href="../core-overlay/core-overlay.html" rel="import"> | |
<link href="../paper-toast/paper-toast.html" rel="import"> | |
<polymer-element name="game-container"> |