{"action":"created","comment":{"url":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/comments/225429608","pull_request_review_id":165022942,"id":225429608,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTQyOTYwOA==","diff_hunk":"@@ -96,3 +97,5 @@ func main() {\n ","path":"LadderGame/LadderGame/main.swift","position":90,"original_position":24,"commit_id":"d1c824eab310d87986f8ba771f2e0f345dc7eb51","original_commit_id":"d1c824eab310d87986f8ba771f2e0f345dc7eb51","user":{"login":"godrm","id":278988,"node_id":"MDQ6VXNlcjI3ODk4OA==","avatar_url":"https://avatars1.githubusercontent.com/u/278988?v=4","gravatar_id":"","url":"https://api.github.com/users/godrm","html_url":"https://github.com/godrm","followers_url":"https://api.github.com/users/godrm/followers","following_url":"https://api.github.com/users/godrm/following{/other_user}","gists_url":"https://api.github.com/users/godrm/gists{/gist_id}","starred_url":"https://api.github.com/users/godrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godrm/subscriptions","organizations_url":"https://api.github.com/users/godrm/orgs","repos_url":"https://api.github.com/users/godrm/repos","events_url":"https://api.github.com/users/godrm/events{/privacy}","received_events_url":"https://api.github.com/users/godrm/received_events","type":"User","site_admin":false},"body":"try - catch를 쓸때는 어디서 try가 발생한 것인지 분리해보세요. \r\n동일한 에러를 쓰기보다는 명확한 케이스를 만들어서 흐름제어를 해야 합니다. \r\ncatch 내부를 처리한 후에는 정상적인 경우와 구분해서 동작하도록 하세요. ","created_at":"2018-10-16T07:45:22Z","updated_at":"2018-10-16T07:45:22Z","html_url":"https://github.com/code-squad/swift-laddergame/pull/147#discussion_r225429608","pull_request_url":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/comments/225429608"},"html":{"href":"https://github.com/code-squad/swift-laddergame/pull/147#discussion_r225429608"},"pull_request":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147","id":223103142,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMTAzMTQy","html_url":"https://github.com/code-squad/swift-laddergame/pull/147","diff_url":"https://github.com/code-squad/swift-laddergame/pull/147.diff","patch_url":"https://github.com/code-squad/swift-laddergame/pull/147.patch","issue_url":"https://api.github.com/repos/code-squad/swift-laddergame/issues/147","number":147,"state":"open","locked":false,"title":"제잉 사다리게임 1단계","user":{"login":"kcushy","id":37648163,"node_id":"MDQ6VXNlcjM3NjQ4MTYz","avatar_url":"https://avatars0.githubusercontent.com/u/37648163?v=4","gravatar_id":"","url":"https://api.github.com/users/kcushy","html_url":"https://github.com/kcushy","followers_url":"https://api.github.com/users/kcushy/followers","following_url":"https://api.github.com/users/kcushy/following{/other_user}","gists_url":"https://api.github.com/users/kcushy/gists{/gist_id}","starred_url":"https://api.github.com/users/kcushy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcushy/subscriptions","organizations_url":"https://api.github.com/users/kcushy/orgs","repos_url":"https://api.github.com/users/kcushy/repos","events_url":"https://api.github.com/users/kcushy/events{/privacy}","received_events_url":"https://api.github.com/users/kcushy/received_events","type":"User","site_admin":false},"body":"알려주신 stride를 써서 해결했습니다. 빠지던 머리가 다시 날 것만 같습니다. 감사합니다ㅠ\r\n\r\n- 한 줄의 사다리를 만들어서 사다리 총 높이 입력값에 따라 확장시키는 형식으로 구현했습니다.\r\n- 1 미만의 수를 입력할 시 예외처리를 하였습니다.\r\n- 함수 하나가 최소한의 기능만 할 수 있도록 고려하며 작성해보았습니다.","created_at":"2018-10-16T03:19:59Z","updated_at":"2018-10-16T07:45:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6cd274aff8473def1c6a35c46e8ada2bdd78101c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147/commits","review_comments_url":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147/comments","review_comment_url":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/comments{/number}","comments_url":"https://api.github.com/repos/code-squad/swift-laddergame/issues/147/comments","statuses_url":"https://api.github.com/repos/code-squad/swift-laddergame/statuses/d1c824eab310d87986f8ba771f2e0f345dc7eb51","head":{"label":"kcushy:kcushy-step1","ref":"kcushy-step1","sha":"d1c824eab310d87986f8ba771f2e0f345dc7eb51","user":{"login":"kcushy","id":37648163,"node_id":"MDQ6VXNlcjM3NjQ4MTYz","avatar_url":"https://avatars0.githubusercontent.com/u/37648163?v=4","gravatar_id":"","url":"https://api.github.com/users/kcushy","html_url":"https://github.com/kcushy","followers_url":"https://api.github.com/users/kcushy/followers","following_url":"https://api.github.com/users/kcushy/following{/other_user}","gists_url":"https://api.github.com/users/kcushy/gists{/gist_id}","starred_url":"https://api.github.com/users/kcushy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcushy/subscriptions","organizations_url":"https://api.github.com/users/kcushy/orgs","repos_url":"https://api.github.com/users/kcushy/repos","events_url":"https://api.github.com/users/kcushy/events{/privacy}","received_events_url":"https://api.github.com/users/kcushy/received_events","type":"User","site_admin":false},"repo":{"id":149055911,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwNTU5MTE=","name":"swift-laddergame","full_name":"kcushy/swift-laddergame","private":false,"owner":{"login":"kcushy","id":37648163,"node_id":"MDQ6VXNlcjM3NjQ4MTYz","avatar_url":"https://avatars0.githubusercontent.com/u/37648163?v=4","gravatar_id":"","url":"https://api.github.com/users/kcushy","html_url":"https://github.com/kcushy","followers_url":"https://api.github.com/users/kcushy/followers","following_url":"https://api.github.com/users/kcushy/following{/other_user}","gists_url":"https://api.github.com/users/kcushy/gists{/gist_id}","starred_url":"https://api.github.com/users/kcushy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcushy/subscriptions","organizations_url":"https://api.github.com/users/kcushy/orgs","repos_url":"https://api.github.com/users/kcushy/repos","events_url":"https://api.github.com/users/kcushy/events{/privacy}","received_events_url":"https://api.github.com/users/kcushy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kcushy/swift-laddergame","description":"사다리게임_저장소","fork":true,"url":"https://api.github.com/repos/kcushy/swift-laddergame","forks_url":"https://api.github.com/repos/kcushy/swift-laddergame/forks","keys_url":"https://api.github.com/repos/kcushy/swift-laddergame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kcushy/swift-laddergame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kcushy/swift-laddergame/teams","hooks_url":"https://api.github.com/repos/kcushy/swift-laddergame/hooks","issue_events_url":"https://api.github.com/repos/kcushy/swift-laddergame/issues/events{/number}","events_url":"https://api.github.com/repos/kcushy/swift-laddergame/events","assignees_url":"https://api.github.com/repos/kcushy/swift-laddergame/assignees{/user}","branches_url":"https://api.github.com/repos/kcushy/swift-laddergame/branches{/branch}","tags_url":"https://api.github.com/repos/kcushy/swift-laddergame/tags","blobs_url":"https://api.github.com/repos/kcushy/swift-laddergame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kcushy/swift-laddergame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kcushy/swift-laddergame/git/refs{/sha}","trees_url":"https://api.github.com/repos/kcushy/swift-laddergame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kcushy/swift-laddergame/statuses/{sha}","languages_url":"https://api.github.com/repos/kcushy/swift-laddergame/languages","stargazers_url":"https://api.github.com/repos/kcushy/swift-laddergame/stargazers","contributors_url":"https://api.github.com/repos/kcushy/swift-laddergame/contributors","subscribers_url":"https://api.github.com/repos/kcushy/swift-laddergame/subscribers","subscription_url":"https://api.github.com/repos/kcushy/swift-laddergame/subscription","commits_url":"https://api.github.com/repos/kcushy/swift-laddergame/commits{/sha}","git_commits_url":"https://api.github.com/repos/kcushy/swift-laddergame/git/commits{/sha}","comments_url":"https://api.github.com/repos/kcushy/swift-laddergame/comments{/number}","issue_comment_url":"https://api.github.com/repos/kcushy/swift-laddergame/issues/comments{/number}","contents_url":"https://api.github.com/repos/kcushy/swift-laddergame/contents/{+path}","compare_url":"https://api.github.com/repos/kcushy/swift-laddergame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kcushy/swift-laddergame/merges","archive_url":"https://api.github.com/repos/kcushy/swift-laddergame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kcushy/swift-laddergame/downloads","issues_url":"https://api.github.com/repos/kcushy/swift-laddergame/issues{/number}","pulls_url":"https://api.github.com/repos/kcushy/swift-laddergame/pulls{/number}","milestones_url":"https://api.github.com/repos/kcushy/swift-laddergame/milestones{/number}","notifications_url":"https://api.github.com/repos/kcushy/swift-laddergame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kcushy/swift-laddergame/labels{/name}","releases_url":"https://api.github.com/repos/kcushy/swift-laddergame/releases{/id}","deployments_url":"https://api.github.com/repos/kcushy/swift-laddergame/deployments","created_at":"2018-09-17T02:07:13Z","updated_at":"2018-09-17T02:07:15Z","pushed_at":"2018-10-16T07:26:12Z","git_url":"git://github.com/kcushy/swift-laddergame.git","ssh_url":"git@github.com:kcushy/swift-laddergame.git","clone_url":"https://github.com/kcushy/swift-laddergame.git","svn_url":"https://github.com/kcushy/swift-laddergame","homepage":null,"size":923,"stargazers_count":0,"watchers_count":0,"language":"Swift","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:kcushy","ref":"kcushy","sha":"8b68b71f817aae66e64a804287fe6d20ab4104fe","user":{"login":"code-squad","id":22832280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODMyMjgw","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":106240950,"node_id":"MDEwOlJlcG9zaXRvcnkxMDYyNDA5NTA=","name":"swift-laddergame","full_name":"code-squad/swift-laddergame","private":false,"owner":{"login":"code-squad","id":22832280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODMyMjgw","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},"html_url":"https://github.com/code-squad/swift-laddergame","description":"사다리게임_저장소","fork":false,"url":"https://api.github.com/repos/code-squad/swift-laddergame","forks_url":"https://api.github.com/repos/code-squad/swift-laddergame/forks","keys_url":"https://api.github.com/repos/code-squad/swift-laddergame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-squad/swift-laddergame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-squad/swift-laddergame/teams","hooks_url":"https://api.github.com/repos/code-squad/swift-laddergame/hooks","issue_events_url":"https://api.github.com/repos/code-squad/swift-laddergame/issues/events{/number}","events_url":"https://api.github.com/repos/code-squad/swift-laddergame/events","assignees_url":"https://api.github.com/repos/code-squad/swift-laddergame/assignees{/user}","branches_url":"https://api.github.com/repos/code-squad/swift-laddergame/branches{/branch}","tags_url":"https://api.github.com/repos/code-squad/swift-laddergame/tags","blobs_url":"https://api.github.com/repos/code-squad/swift-laddergame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-squad/swift-laddergame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-squad/swift-laddergame/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-squad/swift-laddergame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-squad/swift-laddergame/statuses/{sha}","languages_url":"https://api.github.com/repos/code-squad/swift-laddergame/languages","stargazers_url":"https://api.github.com/repos/code-squad/swift-laddergame/stargazers","contributors_url":"https://api.github.com/repos/code-squad/swift-laddergame/contributors","subscribers_url":"https://api.github.com/repos/code-squad/swift-laddergame/subscribers","subscription_url":"https://api.github.com/repos/code-squad/swift-laddergame/subscription","commits_url":"https://api.github.com/repos/code-squad/swift-laddergame/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-squad/swift-laddergame/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-squad/swift-laddergame/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-squad/swift-laddergame/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-squad/swift-laddergame/contents/{+path}","compare_url":"https://api.github.com/repos/code-squad/swift-laddergame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-squad/swift-laddergame/merges","archive_url":"https://api.github.com/repos/code-squad/swift-laddergame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-squad/swift-laddergame/downloads","issues_url":"https://api.github.com/repos/code-squad/swift-laddergame/issues{/number}","pulls_url":"https://api.github.com/repos/code-squad/swift-laddergame/pulls{/number}","milestones_url":"https://api.github.com/repos/code-squad/swift-laddergame/milestones{/number}","notifications_url":"https://api.github.com/repos/code-squad/swift-laddergame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-squad/swift-laddergame/labels{/name}","releases_url":"https://api.github.com/repos/code-squad/swift-laddergame/releases{/id}","deployments_url":"https://api.github.com/repos/code-squad/swift-laddergame/deployments","created_at":"2017-10-09T05:41:21Z","updated_at":"2018-08-21T07:58:34Z","pushed_at":"2018-10-16T07:26:13Z","git_url":"git://github.com/code-squad/swift-laddergame.git","ssh_url":"git@github.com:code-squad/swift-laddergame.git","clone_url":"https://github.com/code-squad/swift-laddergame.git","svn_url":"https://github.com/code-squad/swift-laddergame","homepage":null,"size":1115,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":27,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147"},"html":{"href":"https://github.com/code-squad/swift-laddergame/pull/147"},"issue":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/issues/147"},"comments":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/code-squad/swift-laddergame/statuses/d1c824eab310d87986f8ba771f2e0f345dc7eb51"}},"author_association":"NONE"}}
{"actor":{"display_login":"godrm"}}