{"action":"created","comment":{"url":"https://api.github.com/repos/code-squad/java-ladder/pulls/comments/175017287","pull_request_review_id":104477559,"id":175017287,"diff_hunk":"@@ -5,19 +5,30 @@\n import ladder.view.Input;\n import ladder.view.Output;\n \n+import java.util.Map;\n+\n public class LadderGameConsole {\n \n     public static void main(String[] args) {\n-        startGame();\n+        LadderGame ladderGame = startGame();\n+\n+        Map<String, String> result = ladderGame.generateResult();\n+\n+        showResult(result);\n     }\n \n-    private static void startGame() {\n+    private static LadderGame startGame() {\n         String playerNames = promptUserForNames();\n+        String prizes = promptUserForPrizes();\n         int ladderHeight = promptUserForLadderHeight();\n-        LadderGame ladderGame = new LadderGame(playerNames, ladderHeight);\n \n-        String ladderString = ladderGame.startBuild();\n-        ladderGame.displayLadder(ladderString);\n+        //initialize game\n+        LadderGame ladderGame = new LadderGame(playerNames, prizes, ladderHeight); //static factory method??\n+\n+        Output.printLadder(ladderGame);\n+\n+        return ladderGame;","path":"src/main/java/ladder/LadderGameConsole.java","position":31,"original_position":31,"commit_id":"be084bccff674439c5d6f23018afe2f002ce8bb9","original_commit_id":"be084bccff674439c5d6f23018afe2f002ce8bb9","user":{"login":"javajigi","id":520500,"avatar_url":"https://avatars2.githubusercontent.com/u/520500?v=4","gravatar_id":"","url":"https://api.github.com/users/javajigi","html_url":"https://github.com/javajigi","followers_url":"https://api.github.com/users/javajigi/followers","following_url":"https://api.github.com/users/javajigi/following{/other_user}","gists_url":"https://api.github.com/users/javajigi/gists{/gist_id}","starred_url":"https://api.github.com/users/javajigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javajigi/subscriptions","organizations_url":"https://api.github.com/users/javajigi/orgs","repos_url":"https://api.github.com/users/javajigi/repos","events_url":"https://api.github.com/users/javajigi/events{/privacy}","received_events_url":"https://api.github.com/users/javajigi/received_events","type":"User","site_admin":false},"body":"로직 구현과 View 로직이 분리됐네요 👍 ","created_at":"2018-03-16T07:53:56Z","updated_at":"2018-03-16T08:00:20Z","html_url":"https://github.com/code-squad/java-ladder/pull/42#discussion_r175017287","pull_request_url":"https://api.github.com/repos/code-squad/java-ladder/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/code-squad/java-ladder/pulls/comments/175017287"},"html":{"href":"https://github.com/code-squad/java-ladder/pull/42#discussion_r175017287"},"pull_request":{"href":"https://api.github.com/repos/code-squad/java-ladder/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/code-squad/java-ladder/pulls/42","id":175461827,"html_url":"https://github.com/code-squad/java-ladder/pull/42","diff_url":"https://github.com/code-squad/java-ladder/pull/42.diff","patch_url":"https://github.com/code-squad/java-ladder/pull/42.patch","issue_url":"https://api.github.com/repos/code-squad/java-ladder/issues/42","number":42,"state":"open","locked":false,"title":"Step5","user":{"login":"krapeaj","id":28821421,"avatar_url":"https://avatars2.githubusercontent.com/u/28821421?v=4","gravatar_id":"","url":"https://api.github.com/users/krapeaj","html_url":"https://github.com/krapeaj","followers_url":"https://api.github.com/users/krapeaj/followers","following_url":"https://api.github.com/users/krapeaj/following{/other_user}","gists_url":"https://api.github.com/users/krapeaj/gists{/gist_id}","starred_url":"https://api.github.com/users/krapeaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krapeaj/subscriptions","organizations_url":"https://api.github.com/users/krapeaj/orgs","repos_url":"https://api.github.com/users/krapeaj/repos","events_url":"https://api.github.com/users/krapeaj/events{/privacy}","received_events_url":"https://api.github.com/users/krapeaj/received_events","type":"User","site_admin":false},"body":"Player, Prize, Result 클래스 추가\r\n5단계 최초 PR","created_at":"2018-03-16T07:52:09Z","updated_at":"2018-03-16T08:00:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b9954365c92cd43f30aa228c8630ce3b675a58c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/code-squad/java-ladder/pulls/42/commits","review_comments_url":"https://api.github.com/repos/code-squad/java-ladder/pulls/42/comments","review_comment_url":"https://api.github.com/repos/code-squad/java-ladder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/code-squad/java-ladder/issues/42/comments","statuses_url":"https://api.github.com/repos/code-squad/java-ladder/statuses/be084bccff674439c5d6f23018afe2f002ce8bb9","head":{"label":"krapeaj:step5","ref":"step5","sha":"be084bccff674439c5d6f23018afe2f002ce8bb9","user":{"login":"krapeaj","id":28821421,"avatar_url":"https://avatars2.githubusercontent.com/u/28821421?v=4","gravatar_id":"","url":"https://api.github.com/users/krapeaj","html_url":"https://github.com/krapeaj","followers_url":"https://api.github.com/users/krapeaj/followers","following_url":"https://api.github.com/users/krapeaj/following{/other_user}","gists_url":"https://api.github.com/users/krapeaj/gists{/gist_id}","starred_url":"https://api.github.com/users/krapeaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krapeaj/subscriptions","organizations_url":"https://api.github.com/users/krapeaj/orgs","repos_url":"https://api.github.com/users/krapeaj/repos","events_url":"https://api.github.com/users/krapeaj/events{/privacy}","received_events_url":"https://api.github.com/users/krapeaj/received_events","type":"User","site_admin":false},"repo":{"id":124472852,"name":"java-ladder","full_name":"krapeaj/java-ladder","owner":{"login":"krapeaj","id":28821421,"avatar_url":"https://avatars2.githubusercontent.com/u/28821421?v=4","gravatar_id":"","url":"https://api.github.com/users/krapeaj","html_url":"https://github.com/krapeaj","followers_url":"https://api.github.com/users/krapeaj/followers","following_url":"https://api.github.com/users/krapeaj/following{/other_user}","gists_url":"https://api.github.com/users/krapeaj/gists{/gist_id}","starred_url":"https://api.github.com/users/krapeaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krapeaj/subscriptions","organizations_url":"https://api.github.com/users/krapeaj/orgs","repos_url":"https://api.github.com/users/krapeaj/repos","events_url":"https://api.github.com/users/krapeaj/events{/privacy}","received_events_url":"https://api.github.com/users/krapeaj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krapeaj/java-ladder","description":"사다리 게임을 관리하는 저장소","fork":true,"url":"https://api.github.com/repos/krapeaj/java-ladder","forks_url":"https://api.github.com/repos/krapeaj/java-ladder/forks","keys_url":"https://api.github.com/repos/krapeaj/java-ladder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krapeaj/java-ladder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krapeaj/java-ladder/teams","hooks_url":"https://api.github.com/repos/krapeaj/java-ladder/hooks","issue_events_url":"https://api.github.com/repos/krapeaj/java-ladder/issues/events{/number}","events_url":"https://api.github.com/repos/krapeaj/java-ladder/events","assignees_url":"https://api.github.com/repos/krapeaj/java-ladder/assignees{/user}","branches_url":"https://api.github.com/repos/krapeaj/java-ladder/branches{/branch}","tags_url":"https://api.github.com/repos/krapeaj/java-ladder/tags","blobs_url":"https://api.github.com/repos/krapeaj/java-ladder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krapeaj/java-ladder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krapeaj/java-ladder/git/refs{/sha}","trees_url":"https://api.github.com/repos/krapeaj/java-ladder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krapeaj/java-ladder/statuses/{sha}","languages_url":"https://api.github.com/repos/krapeaj/java-ladder/languages","stargazers_url":"https://api.github.com/repos/krapeaj/java-ladder/stargazers","contributors_url":"https://api.github.com/repos/krapeaj/java-ladder/contributors","subscribers_url":"https://api.github.com/repos/krapeaj/java-ladder/subscribers","subscription_url":"https://api.github.com/repos/krapeaj/java-ladder/subscription","commits_url":"https://api.github.com/repos/krapeaj/java-ladder/commits{/sha}","git_commits_url":"https://api.github.com/repos/krapeaj/java-ladder/git/commits{/sha}","comments_url":"https://api.github.com/repos/krapeaj/java-ladder/comments{/number}","issue_comment_url":"https://api.github.com/repos/krapeaj/java-ladder/issues/comments{/number}","contents_url":"https://api.github.com/repos/krapeaj/java-ladder/contents/{+path}","compare_url":"https://api.github.com/repos/krapeaj/java-ladder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krapeaj/java-ladder/merges","archive_url":"https://api.github.com/repos/krapeaj/java-ladder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krapeaj/java-ladder/downloads","issues_url":"https://api.github.com/repos/krapeaj/java-ladder/issues{/number}","pulls_url":"https://api.github.com/repos/krapeaj/java-ladder/pulls{/number}","milestones_url":"https://api.github.com/repos/krapeaj/java-ladder/milestones{/number}","notifications_url":"https://api.github.com/repos/krapeaj/java-ladder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krapeaj/java-ladder/labels{/name}","releases_url":"https://api.github.com/repos/krapeaj/java-ladder/releases{/id}","deployments_url":"https://api.github.com/repos/krapeaj/java-ladder/deployments","created_at":"2018-03-09T01:58:25Z","updated_at":"2018-03-09T01:58:27Z","pushed_at":"2018-03-16T07:49:41Z","git_url":"git://github.com/krapeaj/java-ladder.git","ssh_url":"git@github.com:krapeaj/java-ladder.git","clone_url":"https://github.com/krapeaj/java-ladder.git","svn_url":"https://github.com/krapeaj/java-ladder","homepage":null,"size":150,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"code-squad:krapeaj","ref":"krapeaj","sha":"4d30734401bc5b7437639689157e157c4f77aae9","user":{"login":"code-squad","id":22832280,"avatar_url":"https://avatars2.githubusercontent.com/u/22832280?v=4","gravatar_id":"","url":"https://api.github.com/users/code-squad","html_url":"https://github.com/code-squad","followers_url":"https://api.github.com/users/code-squad/followers","following_url":"https://api.github.com/users/code-squad/following{/other_user}","gists_url":"https://api.github.com/users/code-squad/gists{/gist_id}","starred_url":"https://api.github.com/users/code-squad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-squad/subscriptions","organizations_url":"https://api.github.com/users/code-squad/orgs","repos_url":"https://api.github.com/users/code-squad/repos","events_url":"https://api.github.com/users/code-squad/events{/privacy}","received_events_url":"https://api.github.com/users/code-squad/received_events","type":"Organization","site_admin":false},"repo":{"id":116236679,"name":"java-ladder","full_name":"code-squad/java-ladder","owner":{"login":"code-squad","id":22832280,"avatar_url":"https://avatars2.githubusercontent.com/u/22832280?v=4","gravatar_id":"","url":"https://api.github.com/users/code-squad","html_url":"https://github.com/code-squad","followers_url":"https://api.github.com/users/code-squad/followers","following_url":"https://api.github.com/users/code-squad/following{/other_user}","gists_url":"https://api.github.com/users/code-squad/gists{/gist_id}","starred_url":"https://api.github.com/users/code-squad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-squad/subscriptions","organizations_url":"https://api.github.com/users/code-squad/orgs","repos_url":"https://api.github.com/users/code-squad/repos","events_url":"https://api.github.com/users/code-squad/events{/privacy}","received_events_url":"https://api.github.com/users/code-squad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-squad/java-ladder","description":"사다리 게임을 관리하는 저장소","fork":false,"url":"https://api.github.com/repos/code-squad/java-ladder","forks_url":"https://api.github.com/repos/code-squad/java-ladder/forks","keys_url":"https://api.github.com/repos/code-squad/java-ladder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-squad/java-ladder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-squad/java-ladder/teams","hooks_url":"https://api.github.com/repos/code-squad/java-ladder/hooks","issue_events_url":"https://api.github.com/repos/code-squad/java-ladder/issues/events{/number}","events_url":"https://api.github.com/repos/code-squad/java-ladder/events","assignees_url":"https://api.github.com/repos/code-squad/java-ladder/assignees{/user}","branches_url":"https://api.github.com/repos/code-squad/java-ladder/branches{/branch}","tags_url":"https://api.github.com/repos/code-squad/java-ladder/tags","blobs_url":"https://api.github.com/repos/code-squad/java-ladder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-squad/java-ladder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-squad/java-ladder/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-squad/java-ladder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-squad/java-ladder/statuses/{sha}","languages_url":"https://api.github.com/repos/code-squad/java-ladder/languages","stargazers_url":"https://api.github.com/repos/code-squad/java-ladder/stargazers","contributors_url":"https://api.github.com/repos/code-squad/java-ladder/contributors","subscribers_url":"https://api.github.com/repos/code-squad/java-ladder/subscribers","subscription_url":"https://api.github.com/repos/code-squad/java-ladder/subscription","commits_url":"https://api.github.com/repos/code-squad/java-ladder/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-squad/java-ladder/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-squad/java-ladder/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-squad/java-ladder/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-squad/java-ladder/contents/{+path}","compare_url":"https://api.github.com/repos/code-squad/java-ladder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-squad/java-ladder/merges","archive_url":"https://api.github.com/repos/code-squad/java-ladder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-squad/java-ladder/downloads","issues_url":"https://api.github.com/repos/code-squad/java-ladder/issues{/number}","pulls_url":"https://api.github.com/repos/code-squad/java-ladder/pulls{/number}","milestones_url":"https://api.github.com/repos/code-squad/java-ladder/milestones{/number}","notifications_url":"https://api.github.com/repos/code-squad/java-ladder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-squad/java-ladder/labels{/name}","releases_url":"https://api.github.com/repos/code-squad/java-ladder/releases{/id}","deployments_url":"https://api.github.com/repos/code-squad/java-ladder/deployments","created_at":"2018-01-04T08:46:50Z","updated_at":"2018-03-13T00:59:23Z","pushed_at":"2018-03-16T07:52:10Z","git_url":"git://github.com/code-squad/java-ladder.git","ssh_url":"git@github.com:code-squad/java-ladder.git","clone_url":"https://github.com/code-squad/java-ladder.git","svn_url":"https://github.com/code-squad/java-ladder","homepage":null,"size":178,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":9,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/code-squad/java-ladder/pulls/42"},"html":{"href":"https://github.com/code-squad/java-ladder/pull/42"},"issue":{"href":"https://api.github.com/repos/code-squad/java-ladder/issues/42"},"comments":{"href":"https://api.github.com/repos/code-squad/java-ladder/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/code-squad/java-ladder/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/code-squad/java-ladder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/code-squad/java-ladder/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/code-squad/java-ladder/statuses/be084bccff674439c5d6f23018afe2f002ce8bb9"}},"author_association":"NONE"}}
{"actor":{"display_login":"javajigi"}}