{"action":"created","comment":{"url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/comments/87734567","pull_request_review_id":8334045,"id":87734567,"diff_hunk":"@@ -0,0 +1,81 @@\n+\n+public class Manager {\n+\t\n+\tpublic static void main(String args[])\n+\t{\n+\t\tint turns = 1;\n+\t\t\n+\t\tboolean isCaught = false;\n+\t\tHare hare = new Hare(0,0);\n+\t\tHound hound = new Hound(0,0);\n+\t\thound.setDirection(hare.getDirection());\n+\t\twhile(!isCaught && turns <= 100)\n+\t\t{\n+\t\t\tSystem.out.println(\"Turn:\" +turns);\n+\t\t\tif(turns <=3)\n+\t\t\t{\n+\t\t\t\thare.move(3, hare.getDirection());\n+\t\t\t}\n+\t\t\telse \n+\t\t\t{\n+\t\t\t\tif(Math.sqrt(Math.pow(getXDisplacement(hare,hound), 2) + Math.pow(getYDisplacement(hare,hound), 2)) <=2)\n+\t\t\t\t{\n+\t\t\t\t\tisCaught = true;\n+\t\t\t\t\tbreak;\n+\t\t\t\t}\n+\t\t\t\t\t\n+\t\t\t\tif(turns % 3 == 0)","path":"src/Manager.java","position":27,"original_position":27,"commit_id":"ebb424d5e067a8b4bff85918960ada6e40a140f0","original_commit_id":"ebb424d5e067a8b4bff85918960ada6e40a140f0","user":{"login":"CourtneyThurston","id":4942826,"avatar_url":"https://avatars.githubusercontent.com/u/4942826?v=3","gravatar_id":"","url":"https://api.github.com/users/CourtneyThurston","html_url":"https://github.com/CourtneyThurston","followers_url":"https://api.github.com/users/CourtneyThurston/followers","following_url":"https://api.github.com/users/CourtneyThurston/following{/other_user}","gists_url":"https://api.github.com/users/CourtneyThurston/gists{/gist_id}","starred_url":"https://api.github.com/users/CourtneyThurston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CourtneyThurston/subscriptions","organizations_url":"https://api.github.com/users/CourtneyThurston/orgs","repos_url":"https://api.github.com/users/CourtneyThurston/repos","events_url":"https://api.github.com/users/CourtneyThurston/events{/privacy}","received_events_url":"https://api.github.com/users/CourtneyThurston/received_events","type":"User","site_admin":false},"body":"See fb messenger","created_at":"2016-11-14T03:30:53Z","updated_at":"2016-11-14T03:30:53Z","html_url":"https://github.com/dcoetzee/temp_courtney_HareHound/pull/1#discussion_r87734567","pull_request_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/comments/87734567"},"html":{"href":"https://github.com/dcoetzee/temp_courtney_HareHound/pull/1#discussion_r87734567"},"pull_request":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1","id":93462899,"html_url":"https://github.com/dcoetzee/temp_courtney_HareHound/pull/1","diff_url":"https://github.com/dcoetzee/temp_courtney_HareHound/pull/1.diff","patch_url":"https://github.com/dcoetzee/temp_courtney_HareHound/pull/1.patch","issue_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/1","number":1,"state":"open","locked":false,"title":"Version given","user":{"login":"dcoetzee","id":132907,"avatar_url":"https://avatars.githubusercontent.com/u/132907?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoetzee","html_url":"https://github.com/dcoetzee","followers_url":"https://api.github.com/users/dcoetzee/followers","following_url":"https://api.github.com/users/dcoetzee/following{/other_user}","gists_url":"https://api.github.com/users/dcoetzee/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoetzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoetzee/subscriptions","organizations_url":"https://api.github.com/users/dcoetzee/orgs","repos_url":"https://api.github.com/users/dcoetzee/repos","events_url":"https://api.github.com/users/dcoetzee/events{/privacy}","received_events_url":"https://api.github.com/users/dcoetzee/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-13T05:21:55Z","updated_at":"2016-11-14T03:30:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b0df53fb14ce6980678b48cb99435298dc909d3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/1/comments","statuses_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/statuses/ebb424d5e067a8b4bff85918960ada6e40a140f0","head":{"label":"dcoetzee:HareHound_v1","ref":"HareHound_v1","sha":"ebb424d5e067a8b4bff85918960ada6e40a140f0","user":{"login":"dcoetzee","id":132907,"avatar_url":"https://avatars.githubusercontent.com/u/132907?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoetzee","html_url":"https://github.com/dcoetzee","followers_url":"https://api.github.com/users/dcoetzee/followers","following_url":"https://api.github.com/users/dcoetzee/following{/other_user}","gists_url":"https://api.github.com/users/dcoetzee/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoetzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoetzee/subscriptions","organizations_url":"https://api.github.com/users/dcoetzee/orgs","repos_url":"https://api.github.com/users/dcoetzee/repos","events_url":"https://api.github.com/users/dcoetzee/events{/privacy}","received_events_url":"https://api.github.com/users/dcoetzee/received_events","type":"User","site_admin":false},"repo":{"id":73597155,"name":"temp_courtney_HareHound","full_name":"dcoetzee/temp_courtney_HareHound","owner":{"login":"dcoetzee","id":132907,"avatar_url":"https://avatars.githubusercontent.com/u/132907?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoetzee","html_url":"https://github.com/dcoetzee","followers_url":"https://api.github.com/users/dcoetzee/followers","following_url":"https://api.github.com/users/dcoetzee/following{/other_user}","gists_url":"https://api.github.com/users/dcoetzee/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoetzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoetzee/subscriptions","organizations_url":"https://api.github.com/users/dcoetzee/orgs","repos_url":"https://api.github.com/users/dcoetzee/repos","events_url":"https://api.github.com/users/dcoetzee/events{/privacy}","received_events_url":"https://api.github.com/users/dcoetzee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dcoetzee/temp_courtney_HareHound","description":null,"fork":false,"url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound","forks_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/forks","keys_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/teams","hooks_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/hooks","issue_events_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/events{/number}","events_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/events","assignees_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/assignees{/user}","branches_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/branches{/branch}","tags_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/tags","blobs_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/statuses/{sha}","languages_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/languages","stargazers_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/stargazers","contributors_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/contributors","subscribers_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/subscribers","subscription_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/subscription","commits_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/contents/{+path}","compare_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/merges","archive_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/downloads","issues_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues{/number}","pulls_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls{/number}","milestones_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/milestones{/number}","notifications_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/labels{/name}","releases_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/releases{/id}","deployments_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/deployments","created_at":"2016-11-13T05:19:35Z","updated_at":"2016-11-13T05:19:35Z","pushed_at":"2016-11-13T05:21:55Z","git_url":"git://github.com/dcoetzee/temp_courtney_HareHound.git","ssh_url":"git@github.com:dcoetzee/temp_courtney_HareHound.git","clone_url":"https://github.com/dcoetzee/temp_courtney_HareHound.git","svn_url":"https://github.com/dcoetzee/temp_courtney_HareHound","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dcoetzee:master","ref":"master","sha":"7c1a5bab58c43daf911148340d119c6011466a45","user":{"login":"dcoetzee","id":132907,"avatar_url":"https://avatars.githubusercontent.com/u/132907?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoetzee","html_url":"https://github.com/dcoetzee","followers_url":"https://api.github.com/users/dcoetzee/followers","following_url":"https://api.github.com/users/dcoetzee/following{/other_user}","gists_url":"https://api.github.com/users/dcoetzee/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoetzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoetzee/subscriptions","organizations_url":"https://api.github.com/users/dcoetzee/orgs","repos_url":"https://api.github.com/users/dcoetzee/repos","events_url":"https://api.github.com/users/dcoetzee/events{/privacy}","received_events_url":"https://api.github.com/users/dcoetzee/received_events","type":"User","site_admin":false},"repo":{"id":73597155,"name":"temp_courtney_HareHound","full_name":"dcoetzee/temp_courtney_HareHound","owner":{"login":"dcoetzee","id":132907,"avatar_url":"https://avatars.githubusercontent.com/u/132907?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoetzee","html_url":"https://github.com/dcoetzee","followers_url":"https://api.github.com/users/dcoetzee/followers","following_url":"https://api.github.com/users/dcoetzee/following{/other_user}","gists_url":"https://api.github.com/users/dcoetzee/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoetzee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoetzee/subscriptions","organizations_url":"https://api.github.com/users/dcoetzee/orgs","repos_url":"https://api.github.com/users/dcoetzee/repos","events_url":"https://api.github.com/users/dcoetzee/events{/privacy}","received_events_url":"https://api.github.com/users/dcoetzee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dcoetzee/temp_courtney_HareHound","description":null,"fork":false,"url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound","forks_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/forks","keys_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/teams","hooks_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/hooks","issue_events_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/events{/number}","events_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/events","assignees_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/assignees{/user}","branches_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/branches{/branch}","tags_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/tags","blobs_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/statuses/{sha}","languages_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/languages","stargazers_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/stargazers","contributors_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/contributors","subscribers_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/subscribers","subscription_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/subscription","commits_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/contents/{+path}","compare_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/merges","archive_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/downloads","issues_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues{/number}","pulls_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls{/number}","milestones_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/milestones{/number}","notifications_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/labels{/name}","releases_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/releases{/id}","deployments_url":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/deployments","created_at":"2016-11-13T05:19:35Z","updated_at":"2016-11-13T05:19:35Z","pushed_at":"2016-11-13T05:21:55Z","git_url":"git://github.com/dcoetzee/temp_courtney_HareHound.git","ssh_url":"git@github.com:dcoetzee/temp_courtney_HareHound.git","clone_url":"https://github.com/dcoetzee/temp_courtney_HareHound.git","svn_url":"https://github.com/dcoetzee/temp_courtney_HareHound","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1"},"html":{"href":"https://github.com/dcoetzee/temp_courtney_HareHound/pull/1"},"issue":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/1"},"comments":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dcoetzee/temp_courtney_HareHound/statuses/ebb424d5e067a8b4bff85918960ada6e40a140f0"}}}}
{"actor":{"display_login":"CourtneyThurston"}}