{"action":"created","comment":{"url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/comments/228715639","pull_request_review_id":169058416,"id":228715639,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODcxNTYzOQ==","diff_hunk":"@@ -0,0 +1,45 @@\n+package ru.gavrilova.se;\n+\n+\n+import java.util.Random;\n+import java.util.Scanner;\n+\n+public class App {\n+\n+    public static Scanner sc = new Scanner(System.in);\n+\n+    public static void main(String[] args) {\n+        System.out.println(\"Let's play!\");\n+        int continuation = 0;\n+        do {\n+            if (guessNumber()) System.out.println(\"This is victory!\");\n+            else System.out.println(\"This is a los!\");\n+            System.out.println(\"Let's do it again? 1 - yes / 0 - no\");\n+            continuation = sc.nextInt();\n+        }\n+        while (continuation == 1);\n+        System.out.println(\"Goodbye!\");\n+    }\n+\n+    public static boolean guessNumber() {\n+        Random rand = new Random();","path":"homeworkthree/src/main/java/ru/gavrilova/se/App.java","position":25,"original_position":25,"commit_id":"c7bb942de7b0eadbc8e2b76636605f2651ab8955","original_commit_id":"c7bb942de7b0eadbc8e2b76636605f2651ab8955","user":{"login":"denis-volnenko","id":30533122,"node_id":"MDQ6VXNlcjMwNTMzMTIy","avatar_url":"https://avatars1.githubusercontent.com/u/30533122?v=4","gravatar_id":"","url":"https://api.github.com/users/denis-volnenko","html_url":"https://github.com/denis-volnenko","followers_url":"https://api.github.com/users/denis-volnenko/followers","following_url":"https://api.github.com/users/denis-volnenko/following{/other_user}","gists_url":"https://api.github.com/users/denis-volnenko/gists{/gist_id}","starred_url":"https://api.github.com/users/denis-volnenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denis-volnenko/subscriptions","organizations_url":"https://api.github.com/users/denis-volnenko/orgs","repos_url":"https://api.github.com/users/denis-volnenko/repos","events_url":"https://api.github.com/users/denis-volnenko/events{/privacy}","received_events_url":"https://api.github.com/users/denis-volnenko/received_events","type":"User","site_admin":false},"body":"final","created_at":"2018-10-27T14:58:28Z","updated_at":"2018-10-27T14:58:28Z","html_url":"https://github.com/AnnaGavrilova/javaLevel1/pull/2#discussion_r228715639","pull_request_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/comments/228715639"},"html":{"href":"https://github.com/AnnaGavrilova/javaLevel1/pull/2#discussion_r228715639"},"pull_request":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2","id":226233321,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MjMzMzIx","html_url":"https://github.com/AnnaGavrilova/javaLevel1/pull/2","diff_url":"https://github.com/AnnaGavrilova/javaLevel1/pull/2.diff","patch_url":"https://github.com/AnnaGavrilova/javaLevel1/pull/2.patch","issue_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/2","number":2,"state":"open","locked":false,"title":"Lesson3","user":{"login":"AnnaGavrilova","id":44410685,"node_id":"MDQ6VXNlcjQ0NDEwNjg1","avatar_url":"https://avatars3.githubusercontent.com/u/44410685?v=4","gravatar_id":"","url":"https://api.github.com/users/AnnaGavrilova","html_url":"https://github.com/AnnaGavrilova","followers_url":"https://api.github.com/users/AnnaGavrilova/followers","following_url":"https://api.github.com/users/AnnaGavrilova/following{/other_user}","gists_url":"https://api.github.com/users/AnnaGavrilova/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnaGavrilova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnaGavrilova/subscriptions","organizations_url":"https://api.github.com/users/AnnaGavrilova/orgs","repos_url":"https://api.github.com/users/AnnaGavrilova/repos","events_url":"https://api.github.com/users/AnnaGavrilova/events{/privacy}","received_events_url":"https://api.github.com/users/AnnaGavrilova/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-26T21:40:05Z","updated_at":"2018-10-27T14:58:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11fb85677da602c5308f98206e31636a59dc9d9f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2/commits","review_comments_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2/comments","review_comment_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/2/comments","statuses_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/statuses/c7bb942de7b0eadbc8e2b76636605f2651ab8955","head":{"label":"AnnaGavrilova:lesson3","ref":"lesson3","sha":"c7bb942de7b0eadbc8e2b76636605f2651ab8955","user":{"login":"AnnaGavrilova","id":44410685,"node_id":"MDQ6VXNlcjQ0NDEwNjg1","avatar_url":"https://avatars3.githubusercontent.com/u/44410685?v=4","gravatar_id":"","url":"https://api.github.com/users/AnnaGavrilova","html_url":"https://github.com/AnnaGavrilova","followers_url":"https://api.github.com/users/AnnaGavrilova/followers","following_url":"https://api.github.com/users/AnnaGavrilova/following{/other_user}","gists_url":"https://api.github.com/users/AnnaGavrilova/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnaGavrilova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnaGavrilova/subscriptions","organizations_url":"https://api.github.com/users/AnnaGavrilova/orgs","repos_url":"https://api.github.com/users/AnnaGavrilova/repos","events_url":"https://api.github.com/users/AnnaGavrilova/events{/privacy}","received_events_url":"https://api.github.com/users/AnnaGavrilova/received_events","type":"User","site_admin":false},"repo":{"id":154367222,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzNjcyMjI=","name":"javaLevel1","full_name":"AnnaGavrilova/javaLevel1","private":false,"owner":{"login":"AnnaGavrilova","id":44410685,"node_id":"MDQ6VXNlcjQ0NDEwNjg1","avatar_url":"https://avatars3.githubusercontent.com/u/44410685?v=4","gravatar_id":"","url":"https://api.github.com/users/AnnaGavrilova","html_url":"https://github.com/AnnaGavrilova","followers_url":"https://api.github.com/users/AnnaGavrilova/followers","following_url":"https://api.github.com/users/AnnaGavrilova/following{/other_user}","gists_url":"https://api.github.com/users/AnnaGavrilova/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnaGavrilova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnaGavrilova/subscriptions","organizations_url":"https://api.github.com/users/AnnaGavrilova/orgs","repos_url":"https://api.github.com/users/AnnaGavrilova/repos","events_url":"https://api.github.com/users/AnnaGavrilova/events{/privacy}","received_events_url":"https://api.github.com/users/AnnaGavrilova/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AnnaGavrilova/javaLevel1","description":null,"fork":false,"url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1","forks_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/forks","keys_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/teams","hooks_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/hooks","issue_events_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/events{/number}","events_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/events","assignees_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/assignees{/user}","branches_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/branches{/branch}","tags_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/tags","blobs_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/statuses/{sha}","languages_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/languages","stargazers_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/stargazers","contributors_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/contributors","subscribers_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/subscribers","subscription_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/subscription","commits_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/contents/{+path}","compare_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/merges","archive_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/downloads","issues_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues{/number}","pulls_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls{/number}","milestones_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/milestones{/number}","notifications_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/labels{/name}","releases_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/releases{/id}","deployments_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/deployments","created_at":"2018-10-23T17:11:30Z","updated_at":"2018-10-23T17:11:32Z","pushed_at":"2018-10-26T21:40:06Z","git_url":"git://github.com/AnnaGavrilova/javaLevel1.git","ssh_url":"git@github.com:AnnaGavrilova/javaLevel1.git","clone_url":"https://github.com/AnnaGavrilova/javaLevel1.git","svn_url":"https://github.com/AnnaGavrilova/javaLevel1","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"AnnaGavrilova:master","ref":"master","sha":"55aaab2aa9e07632ee502bb4d7e4755a8e959b56","user":{"login":"AnnaGavrilova","id":44410685,"node_id":"MDQ6VXNlcjQ0NDEwNjg1","avatar_url":"https://avatars3.githubusercontent.com/u/44410685?v=4","gravatar_id":"","url":"https://api.github.com/users/AnnaGavrilova","html_url":"https://github.com/AnnaGavrilova","followers_url":"https://api.github.com/users/AnnaGavrilova/followers","following_url":"https://api.github.com/users/AnnaGavrilova/following{/other_user}","gists_url":"https://api.github.com/users/AnnaGavrilova/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnaGavrilova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnaGavrilova/subscriptions","organizations_url":"https://api.github.com/users/AnnaGavrilova/orgs","repos_url":"https://api.github.com/users/AnnaGavrilova/repos","events_url":"https://api.github.com/users/AnnaGavrilova/events{/privacy}","received_events_url":"https://api.github.com/users/AnnaGavrilova/received_events","type":"User","site_admin":false},"repo":{"id":154367222,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzNjcyMjI=","name":"javaLevel1","full_name":"AnnaGavrilova/javaLevel1","private":false,"owner":{"login":"AnnaGavrilova","id":44410685,"node_id":"MDQ6VXNlcjQ0NDEwNjg1","avatar_url":"https://avatars3.githubusercontent.com/u/44410685?v=4","gravatar_id":"","url":"https://api.github.com/users/AnnaGavrilova","html_url":"https://github.com/AnnaGavrilova","followers_url":"https://api.github.com/users/AnnaGavrilova/followers","following_url":"https://api.github.com/users/AnnaGavrilova/following{/other_user}","gists_url":"https://api.github.com/users/AnnaGavrilova/gists{/gist_id}","starred_url":"https://api.github.com/users/AnnaGavrilova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnnaGavrilova/subscriptions","organizations_url":"https://api.github.com/users/AnnaGavrilova/orgs","repos_url":"https://api.github.com/users/AnnaGavrilova/repos","events_url":"https://api.github.com/users/AnnaGavrilova/events{/privacy}","received_events_url":"https://api.github.com/users/AnnaGavrilova/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AnnaGavrilova/javaLevel1","description":null,"fork":false,"url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1","forks_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/forks","keys_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/teams","hooks_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/hooks","issue_events_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/events{/number}","events_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/events","assignees_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/assignees{/user}","branches_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/branches{/branch}","tags_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/tags","blobs_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/statuses/{sha}","languages_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/languages","stargazers_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/stargazers","contributors_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/contributors","subscribers_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/subscribers","subscription_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/subscription","commits_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/contents/{+path}","compare_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/merges","archive_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/downloads","issues_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues{/number}","pulls_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls{/number}","milestones_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/milestones{/number}","notifications_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/labels{/name}","releases_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/releases{/id}","deployments_url":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/deployments","created_at":"2018-10-23T17:11:30Z","updated_at":"2018-10-23T17:11:32Z","pushed_at":"2018-10-26T21:40:06Z","git_url":"git://github.com/AnnaGavrilova/javaLevel1.git","ssh_url":"git@github.com:AnnaGavrilova/javaLevel1.git","clone_url":"https://github.com/AnnaGavrilova/javaLevel1.git","svn_url":"https://github.com/AnnaGavrilova/javaLevel1","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2"},"html":{"href":"https://github.com/AnnaGavrilova/javaLevel1/pull/2"},"issue":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/2"},"comments":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/AnnaGavrilova/javaLevel1/statuses/c7bb942de7b0eadbc8e2b76636605f2651ab8955"}},"author_association":"OWNER"}}
{"actor":{"display_login":"denis-volnenko"}}