{"action":"created","comment":{"url":"https://api.github.com/repos/ikoamu/java-lesson/pulls/comments/193632938","pull_request_review_id":126641731,"id":193632938,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzYzMjkzOA==","diff_hunk":"@@ -0,0 +1,333 @@\n+package Java_kadai;\n+\n+/**\n+ * アップダウンゲーム\n+ * \n+ * 1. プレイヤーは所持金として「10万G」持っています。\n+ * \n+ * 2. 所持金を「50万G」まで増やすか、「0G」になったらゲーム終了です。\n+ * \n+ * 3. ゲームが始まったら、プレイヤーがベットする金額を入力します。\n+ * 　 - 一度にベットできる金額は「3万G」までとします。\n+ * 　 - 所持金以上の金額をベットすることはできません。\n+ * \n+ * 4. 1〜13までの数字がランダムに表示され、プレイヤーは次に表示される\n+ * 　 数字が現状の数字よりも大きい(UP)か小さいか(DOWN)か、同じか(SAME)かを選択します。\n+ * \n+ * 5. UPもしくはDOWNで正解した場合にはベットした金額が二倍に、SAMEで正解した場合には\n+ * 　 5倍になります。プレイヤーは上がった金額でゲームを続けるか、再度ベットし直すかを\n+ * 　 選択します。不正解の場合には、ベットした金額は没収され、再びベットする金額を\n+ * 　 入力します。\n+ * \n+ */\n+\n+import java.io.BufferedReader;\n+import java.io.InputStreamReader;\n+import java.io.IOException;\n+import java.util.Random;\n+import java.util.stream.Collectors;\n+import java.util.stream.Stream;\n+\n+public class UpDownGame {\n+  private final static int GAMEOVER_GOLD = 0; // ゲームオーバーになる金額\n+  private final static int GAMECLEAR_GOLD = 500_000; // ゲームクリアになる金額\n+  private final static int INITIAL_GOLD = 100_000; // 最初の所持金\n+  private final static int MAX_BET_GOLD = 30_000; // ベット額の上限\n+\n+  private final int gameoverGold;\n+  private final int gameclearGold;\n+  private int pocket; // プレイヤーの所持金\n+  private final int maxBetGold;\n+\n+  public UpDownGame() {\n+    gameoverGold = GAMEOVER_GOLD;\n+    gameclearGold = GAMECLEAR_GOLD;\n+    pocket = INITIAL_GOLD;\n+    maxBetGold = MAX_BET_GOLD;\n+  }\n+\n+  public UpDownGame(int gameoverGold, int gameclearGold, int initialGold, int maxBetGold) {\n+    this.gameoverGold = gameoverGold;\n+    this.gameclearGold = gameclearGold;\n+    this.pocket = initialGold;\n+    this.maxBetGold = maxBetGold;\n+  }\n+\n+  public static void main(String[] args) {\n+    new UpDownGame(GAMEOVER_GOLD, GAMECLEAR_GOLD, INITIAL_GOLD, MAX_BET_GOLD).play();\n+  }\n+\n+  public void play() {\n+    System.out.println(\"ゲームスタート（所持金 : \" + pocket + \"G\");\n+\n+    try (BufferedReader input = new BufferedReader(new InputStreamReader(System.in))) {\n+      while (!isFinish()) {\n+        int bet = decideBetGold(input); // ベット額を決める\n+        pocket -= bet; // 所持金からベット額を没収\n+        System.out.println(\"現在の所持金 : \" + pocket + \"G\");\n+        System.out.println(\"----------------------------\");\n+        DealResult dealResult = new Deal(bet, pocket, gameclearGold).start(input);\n+        int prize = dealResult.prize();\n+        pocket += prize;\n+\n+        if (dealResult.isWin()) {\n+          System.out.println(\"賞金\" + prize + \"Gを獲得\");\n+        }\n+\n+        System.out.println(\"現在の所持金は\" + pocket + \"Gです。\");\n+      }\n+    } catch (IOException e) {\n+      System.out.println(e);\n+      System.exit(1);\n+    }\n+  }\n+\n+  /**\n+   * ゲーム終了判定\n+   * \n+   * @return trueの場合ゲーム終了、falseの場合ゲーム継続\n+   */\n+  private boolean isFinish() {\n+    if (pocket >= gameclearGold) {\n+      System.out.println(\"所持金が\" + gameclearGold + \"Gに到達しました。\");\n+      System.out.println(\"ゲームクリア\");\n+      return true;\n+    }\n+\n+    if (pocket <= gameoverGold) {\n+      System.out.println(\"所持金が\" + gameoverGold + \"G以下になりました。\");\n+      System.out.println(\"ゲームオーバー\");\n+      return true;\n+    }\n+\n+    return false;\n+  }\n+\n+  /**\n+   * ベット額を決めるメソッド\n+   * \n+   * @param input\n+   *          : コンソール入力用BufferedReader\n+   * @return ベット額\n+   * @throws IOException\n+   *           : 整数以外の値を入力した場合\n+   */\n+  private int decideBetGold(BufferedReader input) throws IOException {\n+\n+    System.out.println(\"ベット額を入力してください。\");\n+    System.out.println(\"(1度にベットできるのは\" + maxBetGold + \"Gまでです)\");\n+    BetGold betgold = new BetGold(input.readLine(), maxBetGold, pocket);\n+\n+    while (!betgold.checkValidity()) {\n+      System.out.println(betgold.getMessage());\n+      System.out.println(\"もう一度ベット額を入力してください。\");\n+      betgold = new BetGold(input.readLine(), maxBetGold, pocket);\n+    }\n+\n+    System.out.println(betgold.getMessage());\n+    return betgold.getBet();\n+  }\n+\n+  private class Deal {\n+    private final int bet; // ベット額\n+    private final int pocket; // プレイヤーの所持金\n+    private final int gameclearGold; // ゲームクリアの条件額\n+\n+    public Deal(int bet, int pocket, int gameclearGold) {\n+      this.bet = bet;\n+      this.pocket = pocket;\n+      this.gameclearGold = gameclearGold;\n+    }\n+\n+    private DealResult start(BufferedReader input) throws IOException {\n+      Random random = new Random();\n+\n+      int firstNumber = random.nextInt(13) + 1; // はじめの数字\n+      System.out.println(\"はじめの数字は\" + firstNumber + \"です\");\n+\n+      Forecast answer = new SelectForecast().ask(input);\n+\n+      int secondNumber = random.nextInt(13) + 1; // 2回目の数字\n+      System.out.println(\"2回目の数字は\" + secondNumber + \"でした\");\n+\n+      int prize = answer.checkAnswer(bet, firstNumber, secondNumber);\n+      DealResult dealResult = new DealResult(prize);\n+\n+      if (dealResult.isWin()) {\n+        System.out.println(prize + \"Gの勝ち\");\n+      } else {\n+        System.out.println(\"まけ\");\n+      }\n+\n+      if (checkContinue(prize, input, dealResult.isWin())) {\n+        System.out.println(\"BET額\" + prize + \"Gで続行\");\n+        return new Deal(prize, pocket, gameclearGold).start(input);\n+      } else {\n+        return dealResult;\n+      }\n+    }\n+\n+    /**\n+     * 再帰を続けるかどうか判定するメソッド\n+     * \n+     * ゲームに勝って、なおかつ所持金と賞金の合計がgameclearGoldよりも少ない場合のみ\n+     * askContinue()を呼び出し、再起するかどうかを選択できる\n+     */\n+    private boolean checkContinue(int prize, BufferedReader input, boolean playerWin) throws IOException {\n+      String message1 = \"このまま続けますか？\";\n+      String message2 = \"現在の賞金 : \" + prize;\n+\n+      return prize + pocket < gameclearGold && playerWin\n+          && (new SelectContinuance().ask(input, message1, message2) == Continuance.KEEP);\n+    }\n+  }\n+\n+  private class DealResult {\n+    int prize;\n+    boolean playerWin;\n+\n+    public DealResult(int prize) {\n+      this.prize = prize;\n+      this.playerWin = checkWin();\n+    }\n+\n+    private boolean checkWin() {\n+      if (prize != 0) {\n+        return true;\n+      } else {\n+        return false;\n+      }\n+    }\n+\n+    private int prize() {\n+      return prize;\n+    }\n+\n+    private boolean isWin() {\n+      return playerWin;\n+    }\n+  }\n+\n+  private class SelectContinuance {\n+    private Continuance ask(BufferedReader input, String... preMessages) throws IOException {\n+      UserSelect continuance = null;\n+\n+      while (continuance == null) {\n+        for (String message : preMessages) {\n+          System.out.println(message);\n+        }\n+\n+        System.out\n+            .print(Stream.of(Continuance.values()).map(String::valueOf).collect(Collectors.joining(\" \", \" \", \" : \")));\n+        continuance = Continuance.from(input.readLine());\n+\n+        if (continuance == null) {\n+          System.out.println(Stream.of(Continuance.values()).map(r -> r.number)\n+              .collect(Collectors.joining(\", \", \"!!\", \"のいずれかの数字を入力してください。!!\")));\n+          System.out.println(\"もう一度入力してください。\");\n+        }\n+      }\n+\n+      System.out.println(\"あなたの選択 : \" + continuance);\n+      return (Continuance)continuance;\n+    }\n+  }\n+\n+  private class SelectForecast {","path":"Java_kadai/UpDownGame.java","position":236,"original_position":236,"commit_id":"ada63a6a131cca5fc8ccedbaa3c595c2e21e20be","original_commit_id":"ada63a6a131cca5fc8ccedbaa3c595c2e21e20be","user":{"login":"t-kunou","id":9004986,"node_id":"MDQ6VXNlcjkwMDQ5ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/9004986?v=4","gravatar_id":"","url":"https://api.github.com/users/t-kunou","html_url":"https://github.com/t-kunou","followers_url":"https://api.github.com/users/t-kunou/followers","following_url":"https://api.github.com/users/t-kunou/following{/other_user}","gists_url":"https://api.github.com/users/t-kunou/gists{/gist_id}","starred_url":"https://api.github.com/users/t-kunou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-kunou/subscriptions","organizations_url":"https://api.github.com/users/t-kunou/orgs","repos_url":"https://api.github.com/users/t-kunou/repos","events_url":"https://api.github.com/users/t-kunou/events{/privacy}","received_events_url":"https://api.github.com/users/t-kunou/received_events","type":"User","site_admin":false},"body":"小出しで申し訳ないのですが、クラス名なので ``ForcastSelector`` のほうがよいですかね。","created_at":"2018-06-07T05:59:08Z","updated_at":"2018-06-07T05:59:08Z","html_url":"https://github.com/ikoamu/java-lesson/pull/6#discussion_r193632938","pull_request_url":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ikoamu/java-lesson/pulls/comments/193632938"},"html":{"href":"https://github.com/ikoamu/java-lesson/pull/6#discussion_r193632938"},"pull_request":{"href":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6","id":187735469,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg3NzM1NDY5","html_url":"https://github.com/ikoamu/java-lesson/pull/6","diff_url":"https://github.com/ikoamu/java-lesson/pull/6.diff","patch_url":"https://github.com/ikoamu/java-lesson/pull/6.patch","issue_url":"https://api.github.com/repos/ikoamu/java-lesson/issues/6","number":6,"state":"open","locked":false,"title":"課題 アップダウンゲームの作成","user":{"login":"ikoamu","id":38206334,"node_id":"MDQ6VXNlcjM4MjA2MzM0","avatar_url":"https://avatars0.githubusercontent.com/u/38206334?v=4","gravatar_id":"","url":"https://api.github.com/users/ikoamu","html_url":"https://github.com/ikoamu","followers_url":"https://api.github.com/users/ikoamu/followers","following_url":"https://api.github.com/users/ikoamu/following{/other_user}","gists_url":"https://api.github.com/users/ikoamu/gists{/gist_id}","starred_url":"https://api.github.com/users/ikoamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikoamu/subscriptions","organizations_url":"https://api.github.com/users/ikoamu/orgs","repos_url":"https://api.github.com/users/ikoamu/repos","events_url":"https://api.github.com/users/ikoamu/events{/privacy}","received_events_url":"https://api.github.com/users/ikoamu/received_events","type":"User","site_admin":false},"body":"福田さんに頂いたJavaの課題の解答です。","created_at":"2018-05-14T07:00:02Z","updated_at":"2018-06-07T05:59:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfb674967c7e788f7e212179fe3945489eb53c27","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6/commits","review_comments_url":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6/comments","review_comment_url":"https://api.github.com/repos/ikoamu/java-lesson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ikoamu/java-lesson/issues/6/comments","statuses_url":"https://api.github.com/repos/ikoamu/java-lesson/statuses/ada63a6a131cca5fc8ccedbaa3c595c2e21e20be","head":{"label":"ikoamu:questKadai","ref":"questKadai","sha":"ada63a6a131cca5fc8ccedbaa3c595c2e21e20be","user":{"login":"ikoamu","id":38206334,"node_id":"MDQ6VXNlcjM4MjA2MzM0","avatar_url":"https://avatars0.githubusercontent.com/u/38206334?v=4","gravatar_id":"","url":"https://api.github.com/users/ikoamu","html_url":"https://github.com/ikoamu","followers_url":"https://api.github.com/users/ikoamu/followers","following_url":"https://api.github.com/users/ikoamu/following{/other_user}","gists_url":"https://api.github.com/users/ikoamu/gists{/gist_id}","starred_url":"https://api.github.com/users/ikoamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikoamu/subscriptions","organizations_url":"https://api.github.com/users/ikoamu/orgs","repos_url":"https://api.github.com/users/ikoamu/repos","events_url":"https://api.github.com/users/ikoamu/events{/privacy}","received_events_url":"https://api.github.com/users/ikoamu/received_events","type":"User","site_admin":false},"repo":{"id":129979903,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5Nzk5MDM=","name":"java-lesson","full_name":"ikoamu/java-lesson","owner":{"login":"ikoamu","id":38206334,"node_id":"MDQ6VXNlcjM4MjA2MzM0","avatar_url":"https://avatars0.githubusercontent.com/u/38206334?v=4","gravatar_id":"","url":"https://api.github.com/users/ikoamu","html_url":"https://github.com/ikoamu","followers_url":"https://api.github.com/users/ikoamu/followers","following_url":"https://api.github.com/users/ikoamu/following{/other_user}","gists_url":"https://api.github.com/users/ikoamu/gists{/gist_id}","starred_url":"https://api.github.com/users/ikoamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikoamu/subscriptions","organizations_url":"https://api.github.com/users/ikoamu/orgs","repos_url":"https://api.github.com/users/ikoamu/repos","events_url":"https://api.github.com/users/ikoamu/events{/privacy}","received_events_url":"https://api.github.com/users/ikoamu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ikoamu/java-lesson","description":"4/18~","fork":false,"url":"https://api.github.com/repos/ikoamu/java-lesson","forks_url":"https://api.github.com/repos/ikoamu/java-lesson/forks","keys_url":"https://api.github.com/repos/ikoamu/java-lesson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ikoamu/java-lesson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ikoamu/java-lesson/teams","hooks_url":"https://api.github.com/repos/ikoamu/java-lesson/hooks","issue_events_url":"https://api.github.com/repos/ikoamu/java-lesson/issues/events{/number}","events_url":"https://api.github.com/repos/ikoamu/java-lesson/events","assignees_url":"https://api.github.com/repos/ikoamu/java-lesson/assignees{/user}","branches_url":"https://api.github.com/repos/ikoamu/java-lesson/branches{/branch}","tags_url":"https://api.github.com/repos/ikoamu/java-lesson/tags","blobs_url":"https://api.github.com/repos/ikoamu/java-lesson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ikoamu/java-lesson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ikoamu/java-lesson/git/refs{/sha}","trees_url":"https://api.github.com/repos/ikoamu/java-lesson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ikoamu/java-lesson/statuses/{sha}","languages_url":"https://api.github.com/repos/ikoamu/java-lesson/languages","stargazers_url":"https://api.github.com/repos/ikoamu/java-lesson/stargazers","contributors_url":"https://api.github.com/repos/ikoamu/java-lesson/contributors","subscribers_url":"https://api.github.com/repos/ikoamu/java-lesson/subscribers","subscription_url":"https://api.github.com/repos/ikoamu/java-lesson/subscription","commits_url":"https://api.github.com/repos/ikoamu/java-lesson/commits{/sha}","git_commits_url":"https://api.github.com/repos/ikoamu/java-lesson/git/commits{/sha}","comments_url":"https://api.github.com/repos/ikoamu/java-lesson/comments{/number}","issue_comment_url":"https://api.github.com/repos/ikoamu/java-lesson/issues/comments{/number}","contents_url":"https://api.github.com/repos/ikoamu/java-lesson/contents/{+path}","compare_url":"https://api.github.com/repos/ikoamu/java-lesson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ikoamu/java-lesson/merges","archive_url":"https://api.github.com/repos/ikoamu/java-lesson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ikoamu/java-lesson/downloads","issues_url":"https://api.github.com/repos/ikoamu/java-lesson/issues{/number}","pulls_url":"https://api.github.com/repos/ikoamu/java-lesson/pulls{/number}","milestones_url":"https://api.github.com/repos/ikoamu/java-lesson/milestones{/number}","notifications_url":"https://api.github.com/repos/ikoamu/java-lesson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ikoamu/java-lesson/labels{/name}","releases_url":"https://api.github.com/repos/ikoamu/java-lesson/releases{/id}","deployments_url":"https://api.github.com/repos/ikoamu/java-lesson/deployments","created_at":"2018-04-18T00:19:19Z","updated_at":"2018-05-14T06:14:53Z","pushed_at":"2018-06-07T04:33:16Z","git_url":"git://github.com/ikoamu/java-lesson.git","ssh_url":"git@github.com:ikoamu/java-lesson.git","clone_url":"https://github.com/ikoamu/java-lesson.git","svn_url":"https://github.com/ikoamu/java-lesson","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":"Java","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ikoamu:master","ref":"master","sha":"833806eb739affeb5a132512ff534f42fb33dbae","user":{"login":"ikoamu","id":38206334,"node_id":"MDQ6VXNlcjM4MjA2MzM0","avatar_url":"https://avatars0.githubusercontent.com/u/38206334?v=4","gravatar_id":"","url":"https://api.github.com/users/ikoamu","html_url":"https://github.com/ikoamu","followers_url":"https://api.github.com/users/ikoamu/followers","following_url":"https://api.github.com/users/ikoamu/following{/other_user}","gists_url":"https://api.github.com/users/ikoamu/gists{/gist_id}","starred_url":"https://api.github.com/users/ikoamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikoamu/subscriptions","organizations_url":"https://api.github.com/users/ikoamu/orgs","repos_url":"https://api.github.com/users/ikoamu/repos","events_url":"https://api.github.com/users/ikoamu/events{/privacy}","received_events_url":"https://api.github.com/users/ikoamu/received_events","type":"User","site_admin":false},"repo":{"id":129979903,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5Nzk5MDM=","name":"java-lesson","full_name":"ikoamu/java-lesson","owner":{"login":"ikoamu","id":38206334,"node_id":"MDQ6VXNlcjM4MjA2MzM0","avatar_url":"https://avatars0.githubusercontent.com/u/38206334?v=4","gravatar_id":"","url":"https://api.github.com/users/ikoamu","html_url":"https://github.com/ikoamu","followers_url":"https://api.github.com/users/ikoamu/followers","following_url":"https://api.github.com/users/ikoamu/following{/other_user}","gists_url":"https://api.github.com/users/ikoamu/gists{/gist_id}","starred_url":"https://api.github.com/users/ikoamu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikoamu/subscriptions","organizations_url":"https://api.github.com/users/ikoamu/orgs","repos_url":"https://api.github.com/users/ikoamu/repos","events_url":"https://api.github.com/users/ikoamu/events{/privacy}","received_events_url":"https://api.github.com/users/ikoamu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ikoamu/java-lesson","description":"4/18~","fork":false,"url":"https://api.github.com/repos/ikoamu/java-lesson","forks_url":"https://api.github.com/repos/ikoamu/java-lesson/forks","keys_url":"https://api.github.com/repos/ikoamu/java-lesson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ikoamu/java-lesson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ikoamu/java-lesson/teams","hooks_url":"https://api.github.com/repos/ikoamu/java-lesson/hooks","issue_events_url":"https://api.github.com/repos/ikoamu/java-lesson/issues/events{/number}","events_url":"https://api.github.com/repos/ikoamu/java-lesson/events","assignees_url":"https://api.github.com/repos/ikoamu/java-lesson/assignees{/user}","branches_url":"https://api.github.com/repos/ikoamu/java-lesson/branches{/branch}","tags_url":"https://api.github.com/repos/ikoamu/java-lesson/tags","blobs_url":"https://api.github.com/repos/ikoamu/java-lesson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ikoamu/java-lesson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ikoamu/java-lesson/git/refs{/sha}","trees_url":"https://api.github.com/repos/ikoamu/java-lesson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ikoamu/java-lesson/statuses/{sha}","languages_url":"https://api.github.com/repos/ikoamu/java-lesson/languages","stargazers_url":"https://api.github.com/repos/ikoamu/java-lesson/stargazers","contributors_url":"https://api.github.com/repos/ikoamu/java-lesson/contributors","subscribers_url":"https://api.github.com/repos/ikoamu/java-lesson/subscribers","subscription_url":"https://api.github.com/repos/ikoamu/java-lesson/subscription","commits_url":"https://api.github.com/repos/ikoamu/java-lesson/commits{/sha}","git_commits_url":"https://api.github.com/repos/ikoamu/java-lesson/git/commits{/sha}","comments_url":"https://api.github.com/repos/ikoamu/java-lesson/comments{/number}","issue_comment_url":"https://api.github.com/repos/ikoamu/java-lesson/issues/comments{/number}","contents_url":"https://api.github.com/repos/ikoamu/java-lesson/contents/{+path}","compare_url":"https://api.github.com/repos/ikoamu/java-lesson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ikoamu/java-lesson/merges","archive_url":"https://api.github.com/repos/ikoamu/java-lesson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ikoamu/java-lesson/downloads","issues_url":"https://api.github.com/repos/ikoamu/java-lesson/issues{/number}","pulls_url":"https://api.github.com/repos/ikoamu/java-lesson/pulls{/number}","milestones_url":"https://api.github.com/repos/ikoamu/java-lesson/milestones{/number}","notifications_url":"https://api.github.com/repos/ikoamu/java-lesson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ikoamu/java-lesson/labels{/name}","releases_url":"https://api.github.com/repos/ikoamu/java-lesson/releases{/id}","deployments_url":"https://api.github.com/repos/ikoamu/java-lesson/deployments","created_at":"2018-04-18T00:19:19Z","updated_at":"2018-05-14T06:14:53Z","pushed_at":"2018-06-07T04:33:16Z","git_url":"git://github.com/ikoamu/java-lesson.git","ssh_url":"git@github.com:ikoamu/java-lesson.git","clone_url":"https://github.com/ikoamu/java-lesson.git","svn_url":"https://github.com/ikoamu/java-lesson","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":"Java","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6"},"html":{"href":"https://github.com/ikoamu/java-lesson/pull/6"},"issue":{"href":"https://api.github.com/repos/ikoamu/java-lesson/issues/6"},"comments":{"href":"https://api.github.com/repos/ikoamu/java-lesson/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/ikoamu/java-lesson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ikoamu/java-lesson/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/ikoamu/java-lesson/statuses/ada63a6a131cca5fc8ccedbaa3c595c2e21e20be"}},"author_association":"OWNER"}}
{"actor":{"display_login":"t-kunou"}}