{"action":"created","comment":{"url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/comments/42504453","id":42504453,"diff_hunk":"@@ -1,21 +1,29 @@\n public class GuessTheNumber {\n+    private int tries;\n     private final int number;\n     private boolean isOver = false;\n+    private IOInterface io;\n+    int input;","path":"src/GuessTheNumber.java","position":6,"original_position":6,"commit_id":"e0fb0be5bc0dd925be29ad9ce9c78a441e18ab56","original_commit_id":"e0fb0be5bc0dd925be29ad9ce9c78a441e18ab56","user":{"login":"gemcfadyen","id":1843633,"avatar_url":"https://avatars.githubusercontent.com/u/1843633?v=3","gravatar_id":"","url":"https://api.github.com/users/gemcfadyen","html_url":"https://github.com/gemcfadyen","followers_url":"https://api.github.com/users/gemcfadyen/followers","following_url":"https://api.github.com/users/gemcfadyen/following{/other_user}","gists_url":"https://api.github.com/users/gemcfadyen/gists{/gist_id}","starred_url":"https://api.github.com/users/gemcfadyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemcfadyen/subscriptions","organizations_url":"https://api.github.com/users/gemcfadyen/orgs","repos_url":"https://api.github.com/users/gemcfadyen/repos","events_url":"https://api.github.com/users/gemcfadyen/events{/privacy}","received_events_url":"https://api.github.com/users/gemcfadyen/received_events","type":"User","site_admin":false},"body":"All the fields are private, but input is not. Was this on purpose? Might be good to be consistent with the visibility of the variables.","created_at":"2015-10-20T14:43:31Z","updated_at":"2015-10-20T14:43:31Z","html_url":"https://github.com/priya121/GuessTheNumber/pull/2#discussion_r42504453","pull_request_url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/comments/42504453"},"html":{"href":"https://github.com/priya121/GuessTheNumber/pull/2#discussion_r42504453"},"pull_request":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2","id":48208827,"html_url":"https://github.com/priya121/GuessTheNumber/pull/2","diff_url":"https://github.com/priya121/GuessTheNumber/pull/2.diff","patch_url":"https://github.com/priya121/GuessTheNumber/pull/2.patch","issue_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues/2","number":2,"state":"open","locked":false,"title":"Actually using interface","user":{"login":"priya121","id":4439029,"avatar_url":"https://avatars.githubusercontent.com/u/4439029?v=3","gravatar_id":"","url":"https://api.github.com/users/priya121","html_url":"https://github.com/priya121","followers_url":"https://api.github.com/users/priya121/followers","following_url":"https://api.github.com/users/priya121/following{/other_user}","gists_url":"https://api.github.com/users/priya121/gists{/gist_id}","starred_url":"https://api.github.com/users/priya121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priya121/subscriptions","organizations_url":"https://api.github.com/users/priya121/orgs","repos_url":"https://api.github.com/users/priya121/repos","events_url":"https://api.github.com/users/priya121/events{/privacy}","received_events_url":"https://api.github.com/users/priya121/received_events","type":"User","site_admin":false},"body":"Added a game loop, removed unnecessary tests and actually started using the Fake IO in the main game. (also re-created a master which has nothing in it!)","created_at":"2015-10-20T14:33:24Z","updated_at":"2015-10-20T14:43:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf8a50a593f2e0b94fb5de891bc40013a68dd4d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2/commits","review_comments_url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2/comments","review_comment_url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/comments{/number}","comments_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues/2/comments","statuses_url":"https://api.github.com/repos/priya121/GuessTheNumber/statuses/e0fb0be5bc0dd925be29ad9ce9c78a441e18ab56","head":{"label":"priya121:actually_using_interface","ref":"actually_using_interface","sha":"e0fb0be5bc0dd925be29ad9ce9c78a441e18ab56","user":{"login":"priya121","id":4439029,"avatar_url":"https://avatars.githubusercontent.com/u/4439029?v=3","gravatar_id":"","url":"https://api.github.com/users/priya121","html_url":"https://github.com/priya121","followers_url":"https://api.github.com/users/priya121/followers","following_url":"https://api.github.com/users/priya121/following{/other_user}","gists_url":"https://api.github.com/users/priya121/gists{/gist_id}","starred_url":"https://api.github.com/users/priya121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priya121/subscriptions","organizations_url":"https://api.github.com/users/priya121/orgs","repos_url":"https://api.github.com/users/priya121/repos","events_url":"https://api.github.com/users/priya121/events{/privacy}","received_events_url":"https://api.github.com/users/priya121/received_events","type":"User","site_admin":false},"repo":{"id":44596919,"name":"GuessTheNumber","full_name":"priya121/GuessTheNumber","owner":{"login":"priya121","id":4439029,"avatar_url":"https://avatars.githubusercontent.com/u/4439029?v=3","gravatar_id":"","url":"https://api.github.com/users/priya121","html_url":"https://github.com/priya121","followers_url":"https://api.github.com/users/priya121/followers","following_url":"https://api.github.com/users/priya121/following{/other_user}","gists_url":"https://api.github.com/users/priya121/gists{/gist_id}","starred_url":"https://api.github.com/users/priya121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priya121/subscriptions","organizations_url":"https://api.github.com/users/priya121/orgs","repos_url":"https://api.github.com/users/priya121/repos","events_url":"https://api.github.com/users/priya121/events{/privacy}","received_events_url":"https://api.github.com/users/priya121/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/priya121/GuessTheNumber","description":"","fork":false,"url":"https://api.github.com/repos/priya121/GuessTheNumber","forks_url":"https://api.github.com/repos/priya121/GuessTheNumber/forks","keys_url":"https://api.github.com/repos/priya121/GuessTheNumber/keys{/key_id}","collaborators_url":"https://api.github.com/repos/priya121/GuessTheNumber/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/priya121/GuessTheNumber/teams","hooks_url":"https://api.github.com/repos/priya121/GuessTheNumber/hooks","issue_events_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues/events{/number}","events_url":"https://api.github.com/repos/priya121/GuessTheNumber/events","assignees_url":"https://api.github.com/repos/priya121/GuessTheNumber/assignees{/user}","branches_url":"https://api.github.com/repos/priya121/GuessTheNumber/branches{/branch}","tags_url":"https://api.github.com/repos/priya121/GuessTheNumber/tags","blobs_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/refs{/sha}","trees_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/trees{/sha}","statuses_url":"https://api.github.com/repos/priya121/GuessTheNumber/statuses/{sha}","languages_url":"https://api.github.com/repos/priya121/GuessTheNumber/languages","stargazers_url":"https://api.github.com/repos/priya121/GuessTheNumber/stargazers","contributors_url":"https://api.github.com/repos/priya121/GuessTheNumber/contributors","subscribers_url":"https://api.github.com/repos/priya121/GuessTheNumber/subscribers","subscription_url":"https://api.github.com/repos/priya121/GuessTheNumber/subscription","commits_url":"https://api.github.com/repos/priya121/GuessTheNumber/commits{/sha}","git_commits_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/commits{/sha}","comments_url":"https://api.github.com/repos/priya121/GuessTheNumber/comments{/number}","issue_comment_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues/comments{/number}","contents_url":"https://api.github.com/repos/priya121/GuessTheNumber/contents/{+path}","compare_url":"https://api.github.com/repos/priya121/GuessTheNumber/compare/{base}...{head}","merges_url":"https://api.github.com/repos/priya121/GuessTheNumber/merges","archive_url":"https://api.github.com/repos/priya121/GuessTheNumber/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/priya121/GuessTheNumber/downloads","issues_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues{/number}","pulls_url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls{/number}","milestones_url":"https://api.github.com/repos/priya121/GuessTheNumber/milestones{/number}","notifications_url":"https://api.github.com/repos/priya121/GuessTheNumber/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/priya121/GuessTheNumber/labels{/name}","releases_url":"https://api.github.com/repos/priya121/GuessTheNumber/releases{/id}","created_at":"2015-10-20T09:47:30Z","updated_at":"2015-10-20T14:23:58Z","pushed_at":"2015-10-20T14:33:24Z","git_url":"git://github.com/priya121/GuessTheNumber.git","ssh_url":"git@github.com:priya121/GuessTheNumber.git","clone_url":"https://github.com/priya121/GuessTheNumber.git","svn_url":"https://github.com/priya121/GuessTheNumber","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"priya121:fakeIOInterface","ref":"fakeIOInterface","sha":"6bd439bf7dce2aefad83a4c1140611081e86605d","user":{"login":"priya121","id":4439029,"avatar_url":"https://avatars.githubusercontent.com/u/4439029?v=3","gravatar_id":"","url":"https://api.github.com/users/priya121","html_url":"https://github.com/priya121","followers_url":"https://api.github.com/users/priya121/followers","following_url":"https://api.github.com/users/priya121/following{/other_user}","gists_url":"https://api.github.com/users/priya121/gists{/gist_id}","starred_url":"https://api.github.com/users/priya121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priya121/subscriptions","organizations_url":"https://api.github.com/users/priya121/orgs","repos_url":"https://api.github.com/users/priya121/repos","events_url":"https://api.github.com/users/priya121/events{/privacy}","received_events_url":"https://api.github.com/users/priya121/received_events","type":"User","site_admin":false},"repo":{"id":44596919,"name":"GuessTheNumber","full_name":"priya121/GuessTheNumber","owner":{"login":"priya121","id":4439029,"avatar_url":"https://avatars.githubusercontent.com/u/4439029?v=3","gravatar_id":"","url":"https://api.github.com/users/priya121","html_url":"https://github.com/priya121","followers_url":"https://api.github.com/users/priya121/followers","following_url":"https://api.github.com/users/priya121/following{/other_user}","gists_url":"https://api.github.com/users/priya121/gists{/gist_id}","starred_url":"https://api.github.com/users/priya121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priya121/subscriptions","organizations_url":"https://api.github.com/users/priya121/orgs","repos_url":"https://api.github.com/users/priya121/repos","events_url":"https://api.github.com/users/priya121/events{/privacy}","received_events_url":"https://api.github.com/users/priya121/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/priya121/GuessTheNumber","description":"","fork":false,"url":"https://api.github.com/repos/priya121/GuessTheNumber","forks_url":"https://api.github.com/repos/priya121/GuessTheNumber/forks","keys_url":"https://api.github.com/repos/priya121/GuessTheNumber/keys{/key_id}","collaborators_url":"https://api.github.com/repos/priya121/GuessTheNumber/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/priya121/GuessTheNumber/teams","hooks_url":"https://api.github.com/repos/priya121/GuessTheNumber/hooks","issue_events_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues/events{/number}","events_url":"https://api.github.com/repos/priya121/GuessTheNumber/events","assignees_url":"https://api.github.com/repos/priya121/GuessTheNumber/assignees{/user}","branches_url":"https://api.github.com/repos/priya121/GuessTheNumber/branches{/branch}","tags_url":"https://api.github.com/repos/priya121/GuessTheNumber/tags","blobs_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/refs{/sha}","trees_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/trees{/sha}","statuses_url":"https://api.github.com/repos/priya121/GuessTheNumber/statuses/{sha}","languages_url":"https://api.github.com/repos/priya121/GuessTheNumber/languages","stargazers_url":"https://api.github.com/repos/priya121/GuessTheNumber/stargazers","contributors_url":"https://api.github.com/repos/priya121/GuessTheNumber/contributors","subscribers_url":"https://api.github.com/repos/priya121/GuessTheNumber/subscribers","subscription_url":"https://api.github.com/repos/priya121/GuessTheNumber/subscription","commits_url":"https://api.github.com/repos/priya121/GuessTheNumber/commits{/sha}","git_commits_url":"https://api.github.com/repos/priya121/GuessTheNumber/git/commits{/sha}","comments_url":"https://api.github.com/repos/priya121/GuessTheNumber/comments{/number}","issue_comment_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues/comments{/number}","contents_url":"https://api.github.com/repos/priya121/GuessTheNumber/contents/{+path}","compare_url":"https://api.github.com/repos/priya121/GuessTheNumber/compare/{base}...{head}","merges_url":"https://api.github.com/repos/priya121/GuessTheNumber/merges","archive_url":"https://api.github.com/repos/priya121/GuessTheNumber/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/priya121/GuessTheNumber/downloads","issues_url":"https://api.github.com/repos/priya121/GuessTheNumber/issues{/number}","pulls_url":"https://api.github.com/repos/priya121/GuessTheNumber/pulls{/number}","milestones_url":"https://api.github.com/repos/priya121/GuessTheNumber/milestones{/number}","notifications_url":"https://api.github.com/repos/priya121/GuessTheNumber/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/priya121/GuessTheNumber/labels{/name}","releases_url":"https://api.github.com/repos/priya121/GuessTheNumber/releases{/id}","created_at":"2015-10-20T09:47:30Z","updated_at":"2015-10-20T14:23:58Z","pushed_at":"2015-10-20T14:33:24Z","git_url":"git://github.com/priya121/GuessTheNumber.git","ssh_url":"git@github.com:priya121/GuessTheNumber.git","clone_url":"https://github.com/priya121/GuessTheNumber.git","svn_url":"https://github.com/priya121/GuessTheNumber","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2"},"html":{"href":"https://github.com/priya121/GuessTheNumber/pull/2"},"issue":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/issues/2"},"comments":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/priya121/GuessTheNumber/statuses/e0fb0be5bc0dd925be29ad9ce9c78a441e18ab56"}}}}