{"action":"created","issue":{"url":"https://api.github.com/repos/huytd/agar.io-clone/issues/36","labels_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/36/comments","events_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/36/events","html_url":"https://github.com/huytd/agar.io-clone/issues/36","id":81089554,"number":36,"title":"Should create Players and Player object","user":{"login":"bjarneo","id":1419214,"avatar_url":"https://avatars.githubusercontent.com/u/1419214?v=3","gravatar_id":"","url":"https://api.github.com/users/bjarneo","html_url":"https://github.com/bjarneo","followers_url":"https://api.github.com/users/bjarneo/followers","following_url":"https://api.github.com/users/bjarneo/following{/other_user}","gists_url":"https://api.github.com/users/bjarneo/gists{/gist_id}","starred_url":"https://api.github.com/users/bjarneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjarneo/subscriptions","organizations_url":"https://api.github.com/users/bjarneo/orgs","repos_url":"https://api.github.com/users/bjarneo/repos","events_url":"https://api.github.com/users/bjarneo/events{/privacy}","received_events_url":"https://api.github.com/users/bjarneo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/huytd/agar.io-clone/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-26T18:53:11Z","updated_at":"2015-05-31T15:36:59Z","closed_at":null,"body":"Should create Players and Player object.\r\n\r\nPlayers should be initialized once to hold all players object. It should also have all the methods related to findPlayer, getPlayersList etc.\r\n\r\nThe Player object should have the x, y etc. And it should probably inherit the playerConfig. This object should be initialized in socket.on(\"welcome\", function(us\r\n\r\nPerhaps it also should be packed in webpack, so the code could be shared on the client and server side?\r\n\r\nThoughts?\r\n\r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/huytd/agar.io-clone/issues/comments/107206870","html_url":"https://github.com/huytd/agar.io-clone/issues/36#issuecomment-107206870","issue_url":"https://api.github.com/repos/huytd/agar.io-clone/issues/36","id":107206870,"user":{"login":"huytd","id":613943,"avatar_url":"https://avatars.githubusercontent.com/u/613943?v=3","gravatar_id":"","url":"https://api.github.com/users/huytd","html_url":"https://github.com/huytd","followers_url":"https://api.github.com/users/huytd/followers","following_url":"https://api.github.com/users/huytd/following{/other_user}","gists_url":"https://api.github.com/users/huytd/gists{/gist_id}","starred_url":"https://api.github.com/users/huytd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huytd/subscriptions","organizations_url":"https://api.github.com/users/huytd/orgs","repos_url":"https://api.github.com/users/huytd/repos","events_url":"https://api.github.com/users/huytd/events{/privacy}","received_events_url":"https://api.github.com/users/huytd/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T15:36:59Z","updated_at":"2015-05-31T15:36:59Z","body":"I agree. We should write classes with ES6 :D "}}