Created
March 1, 2014 22:31
-
-
Save dpogorzelski/9298504 to your computer and use it in GitHub Desktop.
This file contains 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
var player, //our player | |
players = {}, //this will hold the list of players | |
sock, //this will be player's ws connection | |
label, | |
style = { | |
font: "12px Arial", | |
fill: "#ffffff" | |
}, //styling players labels a bit | |
ip = "192.168.1.13"; //ip of our Go server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment