{"action":"created","comment":{"url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/comments/85987621","pull_request_review_id":6669589,"id":85987621,"diff_hunk":"@@ -8,7 +8,11 @@ let currentState;\n async function updateLoop() {\r\n   currentState = await fetchState(0);\r\n   drawGame(currentState, gameCanvas);\r\n+}\r\n+\r\n+async function updateLeaderBoard() {\r\n   drawLeaderboard(currentState);\r\n }\r\n \r\n setInterval(updateLoop, 1000/24);\r\n+setInterval(updateLeaderBoard, 1000);\r","path":"web/src/javascript/app.js","position":11,"original_position":11,"commit_id":"7458339fb95a9542c8b35819490a05726efa2f57","original_commit_id":"7458339fb95a9542c8b35819490a05726efa2f57","user":{"login":"MicLamb","id":6540007,"avatar_url":"https://avatars.githubusercontent.com/u/6540007?v=3","gravatar_id":"","url":"https://api.github.com/users/MicLamb","html_url":"https://github.com/MicLamb","followers_url":"https://api.github.com/users/MicLamb/followers","following_url":"https://api.github.com/users/MicLamb/following{/other_user}","gists_url":"https://api.github.com/users/MicLamb/gists{/gist_id}","starred_url":"https://api.github.com/users/MicLamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicLamb/subscriptions","organizations_url":"https://api.github.com/users/MicLamb/orgs","repos_url":"https://api.github.com/users/MicLamb/repos","events_url":"https://api.github.com/users/MicLamb/events{/privacy}","received_events_url":"https://api.github.com/users/MicLamb/received_events","type":"User","site_admin":false},"body":"Good idea!","created_at":"2016-11-01T18:03:45Z","updated_at":"2016-11-01T18:07:46Z","html_url":"https://github.com/DrPandemic/aigar.io/pull/229#discussion_r85987621","pull_request_url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229","_links":{"self":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/comments/85987621"},"html":{"href":"https://github.com/DrPandemic/aigar.io/pull/229#discussion_r85987621"},"pull_request":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229"}}},"pull_request":{"url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229","id":91816755,"html_url":"https://github.com/DrPandemic/aigar.io/pull/229","diff_url":"https://github.com/DrPandemic/aigar.io/pull/229.diff","patch_url":"https://github.com/DrPandemic/aigar.io/pull/229.patch","issue_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues/229","number":229,"state":"open","locked":false,"title":"focus on cell of player","user":{"login":"Erikad94","id":8824239,"avatar_url":"https://avatars.githubusercontent.com/u/8824239?v=3","gravatar_id":"","url":"https://api.github.com/users/Erikad94","html_url":"https://github.com/Erikad94","followers_url":"https://api.github.com/users/Erikad94/followers","following_url":"https://api.github.com/users/Erikad94/following{/other_user}","gists_url":"https://api.github.com/users/Erikad94/gists{/gist_id}","starred_url":"https://api.github.com/users/Erikad94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erikad94/subscriptions","organizations_url":"https://api.github.com/users/Erikad94/orgs","repos_url":"https://api.github.com/users/Erikad94/repos","events_url":"https://api.github.com/users/Erikad94/events{/privacy}","received_events_url":"https://api.github.com/users/Erikad94/received_events","type":"User","site_admin":false},"body":"closes #173 ","created_at":"2016-11-01T16:33:16Z","updated_at":"2016-11-01T18:07:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca012ba1485b10f0286534430d7bd8c4bdc490ca","assignee":{"login":"Erikad94","id":8824239,"avatar_url":"https://avatars.githubusercontent.com/u/8824239?v=3","gravatar_id":"","url":"https://api.github.com/users/Erikad94","html_url":"https://github.com/Erikad94","followers_url":"https://api.github.com/users/Erikad94/followers","following_url":"https://api.github.com/users/Erikad94/following{/other_user}","gists_url":"https://api.github.com/users/Erikad94/gists{/gist_id}","starred_url":"https://api.github.com/users/Erikad94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erikad94/subscriptions","organizations_url":"https://api.github.com/users/Erikad94/orgs","repos_url":"https://api.github.com/users/Erikad94/repos","events_url":"https://api.github.com/users/Erikad94/events{/privacy}","received_events_url":"https://api.github.com/users/Erikad94/received_events","type":"User","site_admin":false},"assignees":[{"login":"Erikad94","id":8824239,"avatar_url":"https://avatars.githubusercontent.com/u/8824239?v=3","gravatar_id":"","url":"https://api.github.com/users/Erikad94","html_url":"https://github.com/Erikad94","followers_url":"https://api.github.com/users/Erikad94/followers","following_url":"https://api.github.com/users/Erikad94/following{/other_user}","gists_url":"https://api.github.com/users/Erikad94/gists{/gist_id}","starred_url":"https://api.github.com/users/Erikad94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erikad94/subscriptions","organizations_url":"https://api.github.com/users/Erikad94/orgs","repos_url":"https://api.github.com/users/Erikad94/repos","events_url":"https://api.github.com/users/Erikad94/events{/privacy}","received_events_url":"https://api.github.com/users/Erikad94/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229/commits","review_comments_url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229/comments","review_comment_url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues/229/comments","statuses_url":"https://api.github.com/repos/DrPandemic/aigar.io/statuses/7458339fb95a9542c8b35819490a05726efa2f57","head":{"label":"DrPandemic:focus-on-cell","ref":"focus-on-cell","sha":"7458339fb95a9542c8b35819490a05726efa2f57","user":{"login":"DrPandemic","id":3250155,"avatar_url":"https://avatars.githubusercontent.com/u/3250155?v=3","gravatar_id":"","url":"https://api.github.com/users/DrPandemic","html_url":"https://github.com/DrPandemic","followers_url":"https://api.github.com/users/DrPandemic/followers","following_url":"https://api.github.com/users/DrPandemic/following{/other_user}","gists_url":"https://api.github.com/users/DrPandemic/gists{/gist_id}","starred_url":"https://api.github.com/users/DrPandemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrPandemic/subscriptions","organizations_url":"https://api.github.com/users/DrPandemic/orgs","repos_url":"https://api.github.com/users/DrPandemic/repos","events_url":"https://api.github.com/users/DrPandemic/events{/privacy}","received_events_url":"https://api.github.com/users/DrPandemic/received_events","type":"User","site_admin":false},"repo":{"id":68840511,"name":"aigar.io","full_name":"DrPandemic/aigar.io","owner":{"login":"DrPandemic","id":3250155,"avatar_url":"https://avatars.githubusercontent.com/u/3250155?v=3","gravatar_id":"","url":"https://api.github.com/users/DrPandemic","html_url":"https://github.com/DrPandemic","followers_url":"https://api.github.com/users/DrPandemic/followers","following_url":"https://api.github.com/users/DrPandemic/following{/other_user}","gists_url":"https://api.github.com/users/DrPandemic/gists{/gist_id}","starred_url":"https://api.github.com/users/DrPandemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrPandemic/subscriptions","organizations_url":"https://api.github.com/users/DrPandemic/orgs","repos_url":"https://api.github.com/users/DrPandemic/repos","events_url":"https://api.github.com/users/DrPandemic/events{/privacy}","received_events_url":"https://api.github.com/users/DrPandemic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DrPandemic/aigar.io","description":null,"fork":false,"url":"https://api.github.com/repos/DrPandemic/aigar.io","forks_url":"https://api.github.com/repos/DrPandemic/aigar.io/forks","keys_url":"https://api.github.com/repos/DrPandemic/aigar.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DrPandemic/aigar.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DrPandemic/aigar.io/teams","hooks_url":"https://api.github.com/repos/DrPandemic/aigar.io/hooks","issue_events_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues/events{/number}","events_url":"https://api.github.com/repos/DrPandemic/aigar.io/events","assignees_url":"https://api.github.com/repos/DrPandemic/aigar.io/assignees{/user}","branches_url":"https://api.github.com/repos/DrPandemic/aigar.io/branches{/branch}","tags_url":"https://api.github.com/repos/DrPandemic/aigar.io/tags","blobs_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DrPandemic/aigar.io/statuses/{sha}","languages_url":"https://api.github.com/repos/DrPandemic/aigar.io/languages","stargazers_url":"https://api.github.com/repos/DrPandemic/aigar.io/stargazers","contributors_url":"https://api.github.com/repos/DrPandemic/aigar.io/contributors","subscribers_url":"https://api.github.com/repos/DrPandemic/aigar.io/subscribers","subscription_url":"https://api.github.com/repos/DrPandemic/aigar.io/subscription","commits_url":"https://api.github.com/repos/DrPandemic/aigar.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/DrPandemic/aigar.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/DrPandemic/aigar.io/contents/{+path}","compare_url":"https://api.github.com/repos/DrPandemic/aigar.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DrPandemic/aigar.io/merges","archive_url":"https://api.github.com/repos/DrPandemic/aigar.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DrPandemic/aigar.io/downloads","issues_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues{/number}","pulls_url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls{/number}","milestones_url":"https://api.github.com/repos/DrPandemic/aigar.io/milestones{/number}","notifications_url":"https://api.github.com/repos/DrPandemic/aigar.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DrPandemic/aigar.io/labels{/name}","releases_url":"https://api.github.com/repos/DrPandemic/aigar.io/releases{/id}","deployments_url":"https://api.github.com/repos/DrPandemic/aigar.io/deployments","created_at":"2016-09-21T17:18:41Z","updated_at":"2016-10-28T19:16:51Z","pushed_at":"2016-11-01T18:01:21Z","git_url":"git://github.com/DrPandemic/aigar.io.git","ssh_url":"git@github.com:DrPandemic/aigar.io.git","clone_url":"https://github.com/DrPandemic/aigar.io.git","svn_url":"https://github.com/DrPandemic/aigar.io","homepage":null,"size":3033,"stargazers_count":3,"watchers_count":3,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":3,"default_branch":"master"}},"base":{"label":"DrPandemic:master","ref":"master","sha":"07e4bf9834e06d21ecad565477443c392fda37e5","user":{"login":"DrPandemic","id":3250155,"avatar_url":"https://avatars.githubusercontent.com/u/3250155?v=3","gravatar_id":"","url":"https://api.github.com/users/DrPandemic","html_url":"https://github.com/DrPandemic","followers_url":"https://api.github.com/users/DrPandemic/followers","following_url":"https://api.github.com/users/DrPandemic/following{/other_user}","gists_url":"https://api.github.com/users/DrPandemic/gists{/gist_id}","starred_url":"https://api.github.com/users/DrPandemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrPandemic/subscriptions","organizations_url":"https://api.github.com/users/DrPandemic/orgs","repos_url":"https://api.github.com/users/DrPandemic/repos","events_url":"https://api.github.com/users/DrPandemic/events{/privacy}","received_events_url":"https://api.github.com/users/DrPandemic/received_events","type":"User","site_admin":false},"repo":{"id":68840511,"name":"aigar.io","full_name":"DrPandemic/aigar.io","owner":{"login":"DrPandemic","id":3250155,"avatar_url":"https://avatars.githubusercontent.com/u/3250155?v=3","gravatar_id":"","url":"https://api.github.com/users/DrPandemic","html_url":"https://github.com/DrPandemic","followers_url":"https://api.github.com/users/DrPandemic/followers","following_url":"https://api.github.com/users/DrPandemic/following{/other_user}","gists_url":"https://api.github.com/users/DrPandemic/gists{/gist_id}","starred_url":"https://api.github.com/users/DrPandemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrPandemic/subscriptions","organizations_url":"https://api.github.com/users/DrPandemic/orgs","repos_url":"https://api.github.com/users/DrPandemic/repos","events_url":"https://api.github.com/users/DrPandemic/events{/privacy}","received_events_url":"https://api.github.com/users/DrPandemic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DrPandemic/aigar.io","description":null,"fork":false,"url":"https://api.github.com/repos/DrPandemic/aigar.io","forks_url":"https://api.github.com/repos/DrPandemic/aigar.io/forks","keys_url":"https://api.github.com/repos/DrPandemic/aigar.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DrPandemic/aigar.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DrPandemic/aigar.io/teams","hooks_url":"https://api.github.com/repos/DrPandemic/aigar.io/hooks","issue_events_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues/events{/number}","events_url":"https://api.github.com/repos/DrPandemic/aigar.io/events","assignees_url":"https://api.github.com/repos/DrPandemic/aigar.io/assignees{/user}","branches_url":"https://api.github.com/repos/DrPandemic/aigar.io/branches{/branch}","tags_url":"https://api.github.com/repos/DrPandemic/aigar.io/tags","blobs_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DrPandemic/aigar.io/statuses/{sha}","languages_url":"https://api.github.com/repos/DrPandemic/aigar.io/languages","stargazers_url":"https://api.github.com/repos/DrPandemic/aigar.io/stargazers","contributors_url":"https://api.github.com/repos/DrPandemic/aigar.io/contributors","subscribers_url":"https://api.github.com/repos/DrPandemic/aigar.io/subscribers","subscription_url":"https://api.github.com/repos/DrPandemic/aigar.io/subscription","commits_url":"https://api.github.com/repos/DrPandemic/aigar.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/DrPandemic/aigar.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/DrPandemic/aigar.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/DrPandemic/aigar.io/contents/{+path}","compare_url":"https://api.github.com/repos/DrPandemic/aigar.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DrPandemic/aigar.io/merges","archive_url":"https://api.github.com/repos/DrPandemic/aigar.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DrPandemic/aigar.io/downloads","issues_url":"https://api.github.com/repos/DrPandemic/aigar.io/issues{/number}","pulls_url":"https://api.github.com/repos/DrPandemic/aigar.io/pulls{/number}","milestones_url":"https://api.github.com/repos/DrPandemic/aigar.io/milestones{/number}","notifications_url":"https://api.github.com/repos/DrPandemic/aigar.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DrPandemic/aigar.io/labels{/name}","releases_url":"https://api.github.com/repos/DrPandemic/aigar.io/releases{/id}","deployments_url":"https://api.github.com/repos/DrPandemic/aigar.io/deployments","created_at":"2016-09-21T17:18:41Z","updated_at":"2016-10-28T19:16:51Z","pushed_at":"2016-11-01T18:01:21Z","git_url":"git://github.com/DrPandemic/aigar.io.git","ssh_url":"git@github.com:DrPandemic/aigar.io.git","clone_url":"https://github.com/DrPandemic/aigar.io.git","svn_url":"https://github.com/DrPandemic/aigar.io","homepage":null,"size":3033,"stargazers_count":3,"watchers_count":3,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229"},"html":{"href":"https://github.com/DrPandemic/aigar.io/pull/229"},"issue":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/issues/229"},"comments":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/DrPandemic/aigar.io/statuses/7458339fb95a9542c8b35819490a05726efa2f57"}}}}
{"actor":{"display_login":"MicLamb"}}