{"action":"created","comment":{"url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/comments/192236630","pull_request_review_id":124975092,"id":192236630,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjIzNjYzMA==","diff_hunk":"@@ -56,11 +56,8 @@ func (a *Arena) UpdatePositions() {\n \tfor i, hole := range a.Holes {\n \t\thole.Update()\n \t\tif hole.IsDead() {\n-\t\t\t// remove that hole from the holes\n-\t\t\ta.Holes = append(a.Holes[:i], a.Holes[i+1:]...)\n-\t\t\t// generate a new hole\n-\t\t\thole = models.CreateHole(a.generateCoordinate(models.MaxHoleRadius))\n-\t\t\ta.Holes = append(a.Holes, hole)\n+\t\t\ta.removeHole(i)\n+\t\t\ta.addHole()","path":"server/arena/arena.go","position":56,"original_position":56,"commit_id":"604136e9038fcb06ab4a35ff3d00bd0ad2098044","original_commit_id":"604136e9038fcb06ab4a35ff3d00bd0ad2098044","user":{"login":"SeeratSek","id":12231770,"node_id":"MDQ6VXNlcjEyMjMxNzcw","avatar_url":"https://avatars2.githubusercontent.com/u/12231770?v=4","gravatar_id":"","url":"https://api.github.com/users/SeeratSek","html_url":"https://github.com/SeeratSek","followers_url":"https://api.github.com/users/SeeratSek/followers","following_url":"https://api.github.com/users/SeeratSek/following{/other_user}","gists_url":"https://api.github.com/users/SeeratSek/gists{/gist_id}","starred_url":"https://api.github.com/users/SeeratSek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeeratSek/subscriptions","organizations_url":"https://api.github.com/users/SeeratSek/orgs","repos_url":"https://api.github.com/users/SeeratSek/repos","events_url":"https://api.github.com/users/SeeratSek/events{/privacy}","received_events_url":"https://api.github.com/users/SeeratSek/received_events","type":"User","site_admin":false},"body":"yay refactoring!","created_at":"2018-05-31T21:02:56Z","updated_at":"2018-05-31T21:02:56Z","html_url":"https://github.com/ubclaunchpad/bumper/pull/215#discussion_r192236630","pull_request_url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/comments/192236630"},"html":{"href":"https://github.com/ubclaunchpad/bumper/pull/215#discussion_r192236630"},"pull_request":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215","id":190510158,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwNTEwMTU4","html_url":"https://github.com/ubclaunchpad/bumper/pull/215","diff_url":"https://github.com/ubclaunchpad/bumper/pull/215.diff","patch_url":"https://github.com/ubclaunchpad/bumper/pull/215.patch","issue_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues/215","number":215,"state":"open","locked":false,"title":"Brian/arena tests","user":{"login":"brian-nguyen","id":11564004,"node_id":"MDQ6VXNlcjExNTY0MDA0","avatar_url":"https://avatars3.githubusercontent.com/u/11564004?v=4","gravatar_id":"","url":"https://api.github.com/users/brian-nguyen","html_url":"https://github.com/brian-nguyen","followers_url":"https://api.github.com/users/brian-nguyen/followers","following_url":"https://api.github.com/users/brian-nguyen/following{/other_user}","gists_url":"https://api.github.com/users/brian-nguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-nguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-nguyen/subscriptions","organizations_url":"https://api.github.com/users/brian-nguyen/orgs","repos_url":"https://api.github.com/users/brian-nguyen/repos","events_url":"https://api.github.com/users/brian-nguyen/events{/privacy}","received_events_url":"https://api.github.com/users/brian-nguyen/received_events","type":"User","site_admin":false},"body":"Unit tests for arena with some refactoring.\r\nUpdated Travis to skip default install step","created_at":"2018-05-25T08:04:47Z","updated_at":"2018-05-31T21:02:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e30efc302b4d4f9de1076502579c02c9e297e35","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Grafne23","id":4109071,"node_id":"MDQ6VXNlcjQxMDkwNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/4109071?v=4","gravatar_id":"","url":"https://api.github.com/users/Grafne23","html_url":"https://github.com/Grafne23","followers_url":"https://api.github.com/users/Grafne23/followers","following_url":"https://api.github.com/users/Grafne23/following{/other_user}","gists_url":"https://api.github.com/users/Grafne23/gists{/gist_id}","starred_url":"https://api.github.com/users/Grafne23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grafne23/subscriptions","organizations_url":"https://api.github.com/users/Grafne23/orgs","repos_url":"https://api.github.com/users/Grafne23/repos","events_url":"https://api.github.com/users/Grafne23/events{/privacy}","received_events_url":"https://api.github.com/users/Grafne23/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":935600594,"node_id":"MDU6TGFiZWw5MzU2MDA1OTQ=","url":"https://api.github.com/repos/ubclaunchpad/bumper/labels/ready%20for%20review","name":"ready for review","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215/commits","review_comments_url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215/comments","review_comment_url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues/215/comments","statuses_url":"https://api.github.com/repos/ubclaunchpad/bumper/statuses/604136e9038fcb06ab4a35ff3d00bd0ad2098044","head":{"label":"ubclaunchpad:brian/arena-tests","ref":"brian/arena-tests","sha":"604136e9038fcb06ab4a35ff3d00bd0ad2098044","user":{"login":"ubclaunchpad","id":12406312,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/12406312?v=4","gravatar_id":"","url":"https://api.github.com/users/ubclaunchpad","html_url":"https://github.com/ubclaunchpad","followers_url":"https://api.github.com/users/ubclaunchpad/followers","following_url":"https://api.github.com/users/ubclaunchpad/following{/other_user}","gists_url":"https://api.github.com/users/ubclaunchpad/gists{/gist_id}","starred_url":"https://api.github.com/users/ubclaunchpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubclaunchpad/subscriptions","organizations_url":"https://api.github.com/users/ubclaunchpad/orgs","repos_url":"https://api.github.com/users/ubclaunchpad/repos","events_url":"https://api.github.com/users/ubclaunchpad/events{/privacy}","received_events_url":"https://api.github.com/users/ubclaunchpad/received_events","type":"Organization","site_admin":false},"repo":{"id":119199556,"node_id":"MDEwOlJlcG9zaXRvcnkxMTkxOTk1NTY=","name":"bumper","full_name":"ubclaunchpad/bumper","owner":{"login":"ubclaunchpad","id":12406312,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/12406312?v=4","gravatar_id":"","url":"https://api.github.com/users/ubclaunchpad","html_url":"https://github.com/ubclaunchpad","followers_url":"https://api.github.com/users/ubclaunchpad/followers","following_url":"https://api.github.com/users/ubclaunchpad/following{/other_user}","gists_url":"https://api.github.com/users/ubclaunchpad/gists{/gist_id}","starred_url":"https://api.github.com/users/ubclaunchpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubclaunchpad/subscriptions","organizations_url":"https://api.github.com/users/ubclaunchpad/orgs","repos_url":"https://api.github.com/users/ubclaunchpad/repos","events_url":"https://api.github.com/users/ubclaunchpad/events{/privacy}","received_events_url":"https://api.github.com/users/ubclaunchpad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ubclaunchpad/bumper","description":"🥊 Fast-paced multiplayer arcade game, built with Go, Javascript, and WebSockets","fork":false,"url":"https://api.github.com/repos/ubclaunchpad/bumper","forks_url":"https://api.github.com/repos/ubclaunchpad/bumper/forks","keys_url":"https://api.github.com/repos/ubclaunchpad/bumper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ubclaunchpad/bumper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ubclaunchpad/bumper/teams","hooks_url":"https://api.github.com/repos/ubclaunchpad/bumper/hooks","issue_events_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues/events{/number}","events_url":"https://api.github.com/repos/ubclaunchpad/bumper/events","assignees_url":"https://api.github.com/repos/ubclaunchpad/bumper/assignees{/user}","branches_url":"https://api.github.com/repos/ubclaunchpad/bumper/branches{/branch}","tags_url":"https://api.github.com/repos/ubclaunchpad/bumper/tags","blobs_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/refs{/sha}","trees_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ubclaunchpad/bumper/statuses/{sha}","languages_url":"https://api.github.com/repos/ubclaunchpad/bumper/languages","stargazers_url":"https://api.github.com/repos/ubclaunchpad/bumper/stargazers","contributors_url":"https://api.github.com/repos/ubclaunchpad/bumper/contributors","subscribers_url":"https://api.github.com/repos/ubclaunchpad/bumper/subscribers","subscription_url":"https://api.github.com/repos/ubclaunchpad/bumper/subscription","commits_url":"https://api.github.com/repos/ubclaunchpad/bumper/commits{/sha}","git_commits_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/commits{/sha}","comments_url":"https://api.github.com/repos/ubclaunchpad/bumper/comments{/number}","issue_comment_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues/comments{/number}","contents_url":"https://api.github.com/repos/ubclaunchpad/bumper/contents/{+path}","compare_url":"https://api.github.com/repos/ubclaunchpad/bumper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ubclaunchpad/bumper/merges","archive_url":"https://api.github.com/repos/ubclaunchpad/bumper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ubclaunchpad/bumper/downloads","issues_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues{/number}","pulls_url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls{/number}","milestones_url":"https://api.github.com/repos/ubclaunchpad/bumper/milestones{/number}","notifications_url":"https://api.github.com/repos/ubclaunchpad/bumper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ubclaunchpad/bumper/labels{/name}","releases_url":"https://api.github.com/repos/ubclaunchpad/bumper/releases{/id}","deployments_url":"https://api.github.com/repos/ubclaunchpad/bumper/deployments","created_at":"2018-01-27T20:22:31Z","updated_at":"2018-05-25T20:04:11Z","pushed_at":"2018-05-31T20:57:58Z","git_url":"git://github.com/ubclaunchpad/bumper.git","ssh_url":"git@github.com:ubclaunchpad/bumper.git","clone_url":"https://github.com/ubclaunchpad/bumper.git","svn_url":"https://github.com/ubclaunchpad/bumper","homepage":"http://bumper.ubclaunchpad.com","size":2961,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":24,"license":null,"forks":1,"open_issues":24,"watchers":5,"default_branch":"master"}},"base":{"label":"ubclaunchpad:master","ref":"master","sha":"0e59751fd77ef83be86cd1ab811f1dba3f9c3017","user":{"login":"ubclaunchpad","id":12406312,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/12406312?v=4","gravatar_id":"","url":"https://api.github.com/users/ubclaunchpad","html_url":"https://github.com/ubclaunchpad","followers_url":"https://api.github.com/users/ubclaunchpad/followers","following_url":"https://api.github.com/users/ubclaunchpad/following{/other_user}","gists_url":"https://api.github.com/users/ubclaunchpad/gists{/gist_id}","starred_url":"https://api.github.com/users/ubclaunchpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubclaunchpad/subscriptions","organizations_url":"https://api.github.com/users/ubclaunchpad/orgs","repos_url":"https://api.github.com/users/ubclaunchpad/repos","events_url":"https://api.github.com/users/ubclaunchpad/events{/privacy}","received_events_url":"https://api.github.com/users/ubclaunchpad/received_events","type":"Organization","site_admin":false},"repo":{"id":119199556,"node_id":"MDEwOlJlcG9zaXRvcnkxMTkxOTk1NTY=","name":"bumper","full_name":"ubclaunchpad/bumper","owner":{"login":"ubclaunchpad","id":12406312,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA2MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/12406312?v=4","gravatar_id":"","url":"https://api.github.com/users/ubclaunchpad","html_url":"https://github.com/ubclaunchpad","followers_url":"https://api.github.com/users/ubclaunchpad/followers","following_url":"https://api.github.com/users/ubclaunchpad/following{/other_user}","gists_url":"https://api.github.com/users/ubclaunchpad/gists{/gist_id}","starred_url":"https://api.github.com/users/ubclaunchpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubclaunchpad/subscriptions","organizations_url":"https://api.github.com/users/ubclaunchpad/orgs","repos_url":"https://api.github.com/users/ubclaunchpad/repos","events_url":"https://api.github.com/users/ubclaunchpad/events{/privacy}","received_events_url":"https://api.github.com/users/ubclaunchpad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ubclaunchpad/bumper","description":"🥊 Fast-paced multiplayer arcade game, built with Go, Javascript, and WebSockets","fork":false,"url":"https://api.github.com/repos/ubclaunchpad/bumper","forks_url":"https://api.github.com/repos/ubclaunchpad/bumper/forks","keys_url":"https://api.github.com/repos/ubclaunchpad/bumper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ubclaunchpad/bumper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ubclaunchpad/bumper/teams","hooks_url":"https://api.github.com/repos/ubclaunchpad/bumper/hooks","issue_events_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues/events{/number}","events_url":"https://api.github.com/repos/ubclaunchpad/bumper/events","assignees_url":"https://api.github.com/repos/ubclaunchpad/bumper/assignees{/user}","branches_url":"https://api.github.com/repos/ubclaunchpad/bumper/branches{/branch}","tags_url":"https://api.github.com/repos/ubclaunchpad/bumper/tags","blobs_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/refs{/sha}","trees_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ubclaunchpad/bumper/statuses/{sha}","languages_url":"https://api.github.com/repos/ubclaunchpad/bumper/languages","stargazers_url":"https://api.github.com/repos/ubclaunchpad/bumper/stargazers","contributors_url":"https://api.github.com/repos/ubclaunchpad/bumper/contributors","subscribers_url":"https://api.github.com/repos/ubclaunchpad/bumper/subscribers","subscription_url":"https://api.github.com/repos/ubclaunchpad/bumper/subscription","commits_url":"https://api.github.com/repos/ubclaunchpad/bumper/commits{/sha}","git_commits_url":"https://api.github.com/repos/ubclaunchpad/bumper/git/commits{/sha}","comments_url":"https://api.github.com/repos/ubclaunchpad/bumper/comments{/number}","issue_comment_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues/comments{/number}","contents_url":"https://api.github.com/repos/ubclaunchpad/bumper/contents/{+path}","compare_url":"https://api.github.com/repos/ubclaunchpad/bumper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ubclaunchpad/bumper/merges","archive_url":"https://api.github.com/repos/ubclaunchpad/bumper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ubclaunchpad/bumper/downloads","issues_url":"https://api.github.com/repos/ubclaunchpad/bumper/issues{/number}","pulls_url":"https://api.github.com/repos/ubclaunchpad/bumper/pulls{/number}","milestones_url":"https://api.github.com/repos/ubclaunchpad/bumper/milestones{/number}","notifications_url":"https://api.github.com/repos/ubclaunchpad/bumper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ubclaunchpad/bumper/labels{/name}","releases_url":"https://api.github.com/repos/ubclaunchpad/bumper/releases{/id}","deployments_url":"https://api.github.com/repos/ubclaunchpad/bumper/deployments","created_at":"2018-01-27T20:22:31Z","updated_at":"2018-05-25T20:04:11Z","pushed_at":"2018-05-31T20:57:58Z","git_url":"git://github.com/ubclaunchpad/bumper.git","ssh_url":"git@github.com:ubclaunchpad/bumper.git","clone_url":"https://github.com/ubclaunchpad/bumper.git","svn_url":"https://github.com/ubclaunchpad/bumper","homepage":"http://bumper.ubclaunchpad.com","size":2961,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":24,"license":null,"forks":1,"open_issues":24,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215"},"html":{"href":"https://github.com/ubclaunchpad/bumper/pull/215"},"issue":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/issues/215"},"comments":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/ubclaunchpad/bumper/statuses/604136e9038fcb06ab4a35ff3d00bd0ad2098044"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"SeeratSek"}}