diff options
Diffstat (limited to 'game.js')
-rw-r--r-- | game.js | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +$(document).ready(function() { + var ws = new WebSocket('ws://' + document.location.host + ':1236'); + + ws.onopen = function() { + }; + + ws.onclose = function() { + }; + + ws.onmessage = function(evt) { + }; + + ws.onerror = function(evt) { + }; +}); |