{"action":"created","comment":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/82184977","pull_request_review_id":3100029,"id":82184977,"diff_hunk":"@@ -119,7 +153,13 @@ fun bishopMoveNumber(start: Square, end: Square): Int = TODO()\n  *          bishopTrajectory(Square(1, 3), Square(6, 8)) = listOf(Square(1, 3), Square(6, 8))\n  * Если возможно несколько вариантов самой быстрой траектории, вернуть любой из них.\n  */\n-fun bishopTrajectory(start: Square, end: Square): List<Square> = TODO()\n+fun bishopTrajectory(start: Square, end: Square): List<Square> =\n+    when (bishopMoveNumber(start, end)) {\n+        -1 -> listOf()\n+        0 -> listOf(start)\n+        1 -> listOf(start, end)\n+        else -> TODO()","path":"src/lesson6/task2/Chess.kt","position":96,"original_position":96,"commit_id":"09a27361ad5082ff74401c9387d3a3937f44bf35","original_commit_id":"09a27361ad5082ff74401c9387d3a3937f44bf35","user":{"login":"ice-phoenix","id":1929610,"avatar_url":"https://avatars.githubusercontent.com/u/1929610?v=3","gravatar_id":"","url":"https://api.github.com/users/ice-phoenix","html_url":"https://github.com/ice-phoenix","followers_url":"https://api.github.com/users/ice-phoenix/followers","following_url":"https://api.github.com/users/ice-phoenix/following{/other_user}","gists_url":"https://api.github.com/users/ice-phoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ice-phoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice-phoenix/subscriptions","organizations_url":"https://api.github.com/users/ice-phoenix/orgs","repos_url":"https://api.github.com/users/ice-phoenix/repos","events_url":"https://api.github.com/users/ice-phoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ice-phoenix/received_events","type":"User","site_admin":false},"body":"Отлично! Помечать себе штуки на будущее как `TODO()` --- очень хорошая привычка!","created_at":"2016-10-06T13:16:46Z","updated_at":"2016-10-06T13:18:36Z","html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/40#discussion_r82184977","pull_request_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/82184977"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/40#discussion_r82184977"},"pull_request":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40","id":84765786,"html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/40","diff_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/40.diff","patch_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/40.patch","issue_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/40","number":40,"state":"open","locked":false,"title":"5 lesson done except last","user":{"login":"tiger31","id":9767396,"avatar_url":"https://avatars.githubusercontent.com/u/9767396?v=3","gravatar_id":"","url":"https://api.github.com/users/tiger31","html_url":"https://github.com/tiger31","followers_url":"https://api.github.com/users/tiger31/followers","following_url":"https://api.github.com/users/tiger31/following{/other_user}","gists_url":"https://api.github.com/users/tiger31/gists{/gist_id}","starred_url":"https://api.github.com/users/tiger31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiger31/subscriptions","organizations_url":"https://api.github.com/users/tiger31/orgs","repos_url":"https://api.github.com/users/tiger31/repos","events_url":"https://api.github.com/users/tiger31/events{/privacy}","received_events_url":"https://api.github.com/users/tiger31/received_events","type":"User","site_admin":false},"body":"Check out 1st, 2nd, 3rd lessons, 4th in progress","created_at":"2016-09-10T19:44:14Z","updated_at":"2016-10-06T13:18:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cda2b394fb07b600d43aa65ebe2f5ccb31b289ff","assignee":{"login":"ice-phoenix","id":1929610,"avatar_url":"https://avatars.githubusercontent.com/u/1929610?v=3","gravatar_id":"","url":"https://api.github.com/users/ice-phoenix","html_url":"https://github.com/ice-phoenix","followers_url":"https://api.github.com/users/ice-phoenix/followers","following_url":"https://api.github.com/users/ice-phoenix/following{/other_user}","gists_url":"https://api.github.com/users/ice-phoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ice-phoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice-phoenix/subscriptions","organizations_url":"https://api.github.com/users/ice-phoenix/orgs","repos_url":"https://api.github.com/users/ice-phoenix/repos","events_url":"https://api.github.com/users/ice-phoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ice-phoenix/received_events","type":"User","site_admin":false},"assignees":[{"login":"ice-phoenix","id":1929610,"avatar_url":"https://avatars.githubusercontent.com/u/1929610?v=3","gravatar_id":"","url":"https://api.github.com/users/ice-phoenix","html_url":"https://github.com/ice-phoenix","followers_url":"https://api.github.com/users/ice-phoenix/followers","following_url":"https://api.github.com/users/ice-phoenix/following{/other_user}","gists_url":"https://api.github.com/users/ice-phoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ice-phoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice-phoenix/subscriptions","organizations_url":"https://api.github.com/users/ice-phoenix/orgs","repos_url":"https://api.github.com/users/ice-phoenix/repos","events_url":"https://api.github.com/users/ice-phoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ice-phoenix/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40/commits","review_comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40/comments","review_comment_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/40/comments","statuses_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/09a27361ad5082ff74401c9387d3a3937f44bf35","head":{"label":"tiger31:master","ref":"master","sha":"09a27361ad5082ff74401c9387d3a3937f44bf35","user":{"login":"tiger31","id":9767396,"avatar_url":"https://avatars.githubusercontent.com/u/9767396?v=3","gravatar_id":"","url":"https://api.github.com/users/tiger31","html_url":"https://github.com/tiger31","followers_url":"https://api.github.com/users/tiger31/followers","following_url":"https://api.github.com/users/tiger31/following{/other_user}","gists_url":"https://api.github.com/users/tiger31/gists{/gist_id}","starred_url":"https://api.github.com/users/tiger31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiger31/subscriptions","organizations_url":"https://api.github.com/users/tiger31/orgs","repos_url":"https://api.github.com/users/tiger31/repos","events_url":"https://api.github.com/users/tiger31/events{/privacy}","received_events_url":"https://api.github.com/users/tiger31/received_events","type":"User","site_admin":false},"repo":{"id":67539168,"name":"KotlinAsFirst2016","full_name":"tiger31/KotlinAsFirst2016","owner":{"login":"tiger31","id":9767396,"avatar_url":"https://avatars.githubusercontent.com/u/9767396?v=3","gravatar_id":"","url":"https://api.github.com/users/tiger31","html_url":"https://github.com/tiger31","followers_url":"https://api.github.com/users/tiger31/followers","following_url":"https://api.github.com/users/tiger31/following{/other_user}","gists_url":"https://api.github.com/users/tiger31/gists{/gist_id}","starred_url":"https://api.github.com/users/tiger31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiger31/subscriptions","organizations_url":"https://api.github.com/users/tiger31/orgs","repos_url":"https://api.github.com/users/tiger31/repos","events_url":"https://api.github.com/users/tiger31/events{/privacy}","received_events_url":"https://api.github.com/users/tiger31/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiger31/KotlinAsFirst2016","description":null,"fork":true,"url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016","forks_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/forks","keys_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/teams","hooks_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/hooks","issue_events_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/issues/events{/number}","events_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/events","assignees_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/assignees{/user}","branches_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/branches{/branch}","tags_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/tags","blobs_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/statuses/{sha}","languages_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/languages","stargazers_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/stargazers","contributors_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/contributors","subscribers_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/subscribers","subscription_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/subscription","commits_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/contents/{+path}","compare_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/merges","archive_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/downloads","issues_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/issues{/number}","pulls_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/pulls{/number}","milestones_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/milestones{/number}","notifications_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/labels{/name}","releases_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/releases{/id}","deployments_url":"https://api.github.com/repos/tiger31/KotlinAsFirst2016/deployments","created_at":"2016-09-06T19:17:01Z","updated_at":"2016-09-06T19:17:03Z","pushed_at":"2016-10-06T09:06:57Z","git_url":"git://github.com/tiger31/KotlinAsFirst2016.git","ssh_url":"git@github.com:tiger31/KotlinAsFirst2016.git","clone_url":"https://github.com/tiger31/KotlinAsFirst2016.git","svn_url":"https://github.com/tiger31/KotlinAsFirst2016","homepage":null,"size":3071,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kotlin-Polytech:master","ref":"master","sha":"805c82badda7804e12e267950edd34e984b73413","user":{"login":"Kotlin-Polytech","id":20967488,"avatar_url":"https://avatars.githubusercontent.com/u/20967488?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotlin-Polytech","html_url":"https://github.com/Kotlin-Polytech","followers_url":"https://api.github.com/users/Kotlin-Polytech/followers","following_url":"https://api.github.com/users/Kotlin-Polytech/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin-Polytech/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin-Polytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin-Polytech/subscriptions","organizations_url":"https://api.github.com/users/Kotlin-Polytech/orgs","repos_url":"https://api.github.com/users/Kotlin-Polytech/repos","events_url":"https://api.github.com/users/Kotlin-Polytech/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin-Polytech/received_events","type":"Organization","site_admin":false},"repo":{"id":67405509,"name":"KotlinAsFirst2016","full_name":"Kotlin-Polytech/KotlinAsFirst2016","owner":{"login":"Kotlin-Polytech","id":20967488,"avatar_url":"https://avatars.githubusercontent.com/u/20967488?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotlin-Polytech","html_url":"https://github.com/Kotlin-Polytech","followers_url":"https://api.github.com/users/Kotlin-Polytech/followers","following_url":"https://api.github.com/users/Kotlin-Polytech/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin-Polytech/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin-Polytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin-Polytech/subscriptions","organizations_url":"https://api.github.com/users/Kotlin-Polytech/orgs","repos_url":"https://api.github.com/users/Kotlin-Polytech/repos","events_url":"https://api.github.com/users/Kotlin-Polytech/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin-Polytech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016","description":null,"fork":false,"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016","forks_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/forks","keys_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/teams","hooks_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/hooks","issue_events_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/events{/number}","events_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/events","assignees_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/assignees{/user}","branches_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/branches{/branch}","tags_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/tags","blobs_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/languages","stargazers_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/stargazers","contributors_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/contributors","subscribers_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/subscribers","subscription_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/subscription","commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/contents/{+path}","compare_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/merges","archive_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/downloads","issues_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues{/number}","pulls_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/labels{/name}","releases_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/releases{/id}","deployments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/deployments","created_at":"2016-09-05T09:06:26Z","updated_at":"2016-10-03T12:53:05Z","pushed_at":"2016-10-06T13:13:26Z","git_url":"git://github.com/Kotlin-Polytech/KotlinAsFirst2016.git","ssh_url":"git@github.com:Kotlin-Polytech/KotlinAsFirst2016.git","clone_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016.git","svn_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016","homepage":null,"size":11422,"stargazers_count":12,"watchers_count":12,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":63,"forks":98,"open_issues":63,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/40"},"issue":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/40"},"comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/09a27361ad5082ff74401c9387d3a3937f44bf35"}}}}
{"actor":{"display_login":"ice-phoenix"}}