{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/comments/73949429","id":73949429,"diff_hunk":"@@ -390,23 +390,85 @@ window.Game = (function() {\n         window.removeEventListener('keydown', this._pauseListener);\n       }\n     },\n-\n+    /**\n+     * Отрисовка холста для текста.\n+     */\n+    _drawResult: function(text) {\n+      var bgLineX1 = 320,\n+        bgLineY1 = 50,\n+        bgLineX2 = 620,\n+        bgLineY2 = 50,\n+        bgLineX3 = 620,\n+        bgLineY3 = 175,\n+        bgLineX4 = 300,\n+        bgLineY4 = 205,\n+        bgLineX5 = 320,\n+        bgLineY5 = 50;\n+\n+      this.ctx.fillStyle = 'rgba(0, 0, 0, .7)';\n+\n+      this.ctx.beginPath();\n+      this.ctx.moveTo(bgLineX1, bgLineY1);\n+      this.ctx.lineTo(bgLineX2, bgLineY2);\n+      this.ctx.lineTo(bgLineX3, bgLineY3);\n+      this.ctx.lineTo(bgLineX4, bgLineY4);\n+      this.ctx.lineTo(bgLineX5, bgLineY5);","path":"build/js/game.js","position":27,"original_position":27,"commit_id":"a3cde721aafa5902e9f3e045d984cc46f6c603e3","original_commit_id":"a3cde721aafa5902e9f3e045d984cc46f6c603e3","user":{"login":"rockn1989","id":19536947,"avatar_url":"https://avatars.githubusercontent.com/u/19536947?v=3","gravatar_id":"","url":"https://api.github.com/users/rockn1989","html_url":"https://github.com/rockn1989","followers_url":"https://api.github.com/users/rockn1989/followers","following_url":"https://api.github.com/users/rockn1989/following{/other_user}","gists_url":"https://api.github.com/users/rockn1989/gists{/gist_id}","starred_url":"https://api.github.com/users/rockn1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockn1989/subscriptions","organizations_url":"https://api.github.com/users/rockn1989/orgs","repos_url":"https://api.github.com/users/rockn1989/repos","events_url":"https://api.github.com/users/rockn1989/events{/privacy}","received_events_url":"https://api.github.com/users/rockn1989/received_events","type":"User","site_admin":false},"body":"В смысле описать ? Перед переменными коммент оставить или что?","created_at":"2016-08-08T20:37:40Z","updated_at":"2016-08-08T20:37:40Z","html_url":"https://github.com/htmlacademy-javascript/72912-code-and-magick/pull/4#discussion_r73949429","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/comments/73949429"},"html":{"href":"https://github.com/htmlacademy-javascript/72912-code-and-magick/pull/4#discussion_r73949429"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4","id":80451630,"html_url":"https://github.com/htmlacademy-javascript/72912-code-and-magick/pull/4","diff_url":"https://github.com/htmlacademy-javascript/72912-code-and-magick/pull/4.diff","patch_url":"https://github.com/htmlacademy-javascript/72912-code-and-magick/pull/4.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/issues/4","number":4,"state":"open","locked":false,"title":"Canvas","user":{"login":"rockn1989","id":19536947,"avatar_url":"https://avatars.githubusercontent.com/u/19536947?v=3","gravatar_id":"","url":"https://api.github.com/users/rockn1989","html_url":"https://github.com/rockn1989","followers_url":"https://api.github.com/users/rockn1989/followers","following_url":"https://api.github.com/users/rockn1989/following{/other_user}","gists_url":"https://api.github.com/users/rockn1989/gists{/gist_id}","starred_url":"https://api.github.com/users/rockn1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockn1989/subscriptions","organizations_url":"https://api.github.com/users/rockn1989/orgs","repos_url":"https://api.github.com/users/rockn1989/repos","events_url":"https://api.github.com/users/rockn1989/events{/privacy}","received_events_url":"https://api.github.com/users/rockn1989/received_events","type":"User","site_admin":false},"body":"\n\n--\n:boom: https://htmlacademy-javascript.github.io/72912-code-and-magick/4/","created_at":"2016-08-08T13:34:06Z","updated_at":"2016-08-08T20:37:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd45abda2121b664df28e37ae904a2f83eacbd2b","assignee":{"login":"isqua","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isqua","html_url":"https://github.com/isqua","followers_url":"https://api.github.com/users/isqua/followers","following_url":"https://api.github.com/users/isqua/following{/other_user}","gists_url":"https://api.github.com/users/isqua/gists{/gist_id}","starred_url":"https://api.github.com/users/isqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isqua/subscriptions","organizations_url":"https://api.github.com/users/isqua/orgs","repos_url":"https://api.github.com/users/isqua/repos","events_url":"https://api.github.com/users/isqua/events{/privacy}","received_events_url":"https://api.github.com/users/isqua/received_events","type":"User","site_admin":false},"assignees":[{"login":"isqua","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isqua","html_url":"https://github.com/isqua","followers_url":"https://api.github.com/users/isqua/followers","following_url":"https://api.github.com/users/isqua/following{/other_user}","gists_url":"https://api.github.com/users/isqua/gists{/gist_id}","starred_url":"https://api.github.com/users/isqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isqua/subscriptions","organizations_url":"https://api.github.com/users/isqua/orgs","repos_url":"https://api.github.com/users/isqua/repos","events_url":"https://api.github.com/users/isqua/events{/privacy}","received_events_url":"https://api.github.com/users/isqua/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/issues/4/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/statuses/a3cde721aafa5902e9f3e045d984cc46f6c603e3","head":{"label":"rockn1989:module2-task1","ref":"module2-task1","sha":"a3cde721aafa5902e9f3e045d984cc46f6c603e3","user":{"login":"rockn1989","id":19536947,"avatar_url":"https://avatars.githubusercontent.com/u/19536947?v=3","gravatar_id":"","url":"https://api.github.com/users/rockn1989","html_url":"https://github.com/rockn1989","followers_url":"https://api.github.com/users/rockn1989/followers","following_url":"https://api.github.com/users/rockn1989/following{/other_user}","gists_url":"https://api.github.com/users/rockn1989/gists{/gist_id}","starred_url":"https://api.github.com/users/rockn1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockn1989/subscriptions","organizations_url":"https://api.github.com/users/rockn1989/orgs","repos_url":"https://api.github.com/users/rockn1989/repos","events_url":"https://api.github.com/users/rockn1989/events{/privacy}","received_events_url":"https://api.github.com/users/rockn1989/received_events","type":"User","site_admin":false},"repo":{"id":64789341,"name":"72912-code-and-magick","full_name":"rockn1989/72912-code-and-magick","owner":{"login":"rockn1989","id":19536947,"avatar_url":"https://avatars.githubusercontent.com/u/19536947?v=3","gravatar_id":"","url":"https://api.github.com/users/rockn1989","html_url":"https://github.com/rockn1989","followers_url":"https://api.github.com/users/rockn1989/followers","following_url":"https://api.github.com/users/rockn1989/following{/other_user}","gists_url":"https://api.github.com/users/rockn1989/gists{/gist_id}","starred_url":"https://api.github.com/users/rockn1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockn1989/subscriptions","organizations_url":"https://api.github.com/users/rockn1989/orgs","repos_url":"https://api.github.com/users/rockn1989/repos","events_url":"https://api.github.com/users/rockn1989/events{/privacy}","received_events_url":"https://api.github.com/users/rockn1989/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rockn1989/72912-code-and-magick","description":"Артем Рябков","fork":true,"url":"https://api.github.com/repos/rockn1989/72912-code-and-magick","forks_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/forks","keys_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/teams","hooks_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/events","assignees_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/tags","blobs_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/subscription","commits_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/merges","archive_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/downloads","issues_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/rockn1989/72912-code-and-magick/deployments","created_at":"2016-08-02T20:12:39Z","updated_at":"2016-08-02T20:12:40Z","pushed_at":"2016-08-08T20:20:14Z","git_url":"git://github.com/rockn1989/72912-code-and-magick.git","ssh_url":"git@github.com:rockn1989/72912-code-and-magick.git","clone_url":"https://github.com/rockn1989/72912-code-and-magick.git","svn_url":"https://github.com/rockn1989/72912-code-and-magick","homepage":"https://github.com/rockn1989/72912-code-and-magick","size":1099,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"htmlacademy-javascript:master","ref":"master","sha":"c5907a7e5a4cf755e55775326197eafc2593085e","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"repo":{"id":64784786,"name":"72912-code-and-magick","full_name":"htmlacademy-javascript/72912-code-and-magick","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-javascript/72912-code-and-magick","description":"Артем Рябков","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/deployments","created_at":"2016-08-02T19:06:22Z","updated_at":"2016-08-02T19:53:13Z","pushed_at":"2016-08-08T20:27:11Z","git_url":"git://github.com/htmlacademy-javascript/72912-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/72912-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/72912-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/72912-code-and-magick","homepage":"https://github.com/rockn1989/72912-code-and-magick","size":1100,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4"},"html":{"href":"https://github.com/htmlacademy-javascript/72912-code-and-magick/pull/4"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/issues/4"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/72912-code-and-magick/statuses/a3cde721aafa5902e9f3e045d984cc46f6c603e3"}}}}
{"actor":{"display_login":"rockn1989"}}