{"action":"created","issue":{"url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick/issues/3","repository_url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick","labels_url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick/issues/3/comments","events_url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick/issues/3/events","html_url":"https://github.com/htmlacademy-javascript/17243-code-and-magick/pull/3","id":169738193,"number":3,"title":"Canvas","user":{"login":"CalledByThe4ire","id":10440575,"avatar_url":"https://avatars.githubusercontent.com/u/10440575?v=3","gravatar_id":"","url":"https://api.github.com/users/CalledByThe4ire","html_url":"https://github.com/CalledByThe4ire","followers_url":"https://api.github.com/users/CalledByThe4ire/followers","following_url":"https://api.github.com/users/CalledByThe4ire/following{/other_user}","gists_url":"https://api.github.com/users/CalledByThe4ire/gists{/gist_id}","starred_url":"https://api.github.com/users/CalledByThe4ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalledByThe4ire/subscriptions","organizations_url":"https://api.github.com/users/CalledByThe4ire/orgs","repos_url":"https://api.github.com/users/CalledByThe4ire/repos","events_url":"https://api.github.com/users/CalledByThe4ire/events{/privacy}","received_events_url":"https://api.github.com/users/CalledByThe4ire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"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,"comments":8,"created_at":"2016-08-06T09:17:39Z","updated_at":"2016-08-08T06:01:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick/pulls/3","html_url":"https://github.com/htmlacademy-javascript/17243-code-and-magick/pull/3","diff_url":"https://github.com/htmlacademy-javascript/17243-code-and-magick/pull/3.diff","patch_url":"https://github.com/htmlacademy-javascript/17243-code-and-magick/pull/3.patch"},"body":"Софья, как мне кажется, я решил домашнее задание, но единственное, не понял, как грамотно поместить решение в файл с модулем игры. Поэтому создал временный файл canvas.html, который ты можешь запустить и посмотреть результат. Внутри файла я все предельно подробно расписал. Как проверишь, предлагаю совместно исправить ошибки и добавить его в виде метода _drawPauseScreen на сайт.\r\n\r\nПо поводу функции wrapText: она не моя. Дело в том, что до начала интенсива я немного изучал канвас и столкнулся с проблемой переноса текста, в итоге нашел подходящую функцию, которая мне понравилась. Сам я такую вряд ли напишу пока, не хватает опыта. Чтобы ты была уверена, что я не просто сделал copy / paste, а разобрался в ней, я оставил комментарии, в которых расписал принцип ее работы на каждой строке\n\n--\n:boom: https://htmlacademy-javascript.github.io/17243-code-and-magick/3/"},"comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick/issues/comments/238148430","html_url":"https://github.com/htmlacademy-javascript/17243-code-and-magick/pull/3#issuecomment-238148430","issue_url":"https://api.github.com/repos/htmlacademy-javascript/17243-code-and-magick/issues/3","id":238148430,"user":{"login":"CalledByThe4ire","id":10440575,"avatar_url":"https://avatars.githubusercontent.com/u/10440575?v=3","gravatar_id":"","url":"https://api.github.com/users/CalledByThe4ire","html_url":"https://github.com/CalledByThe4ire","followers_url":"https://api.github.com/users/CalledByThe4ire/followers","following_url":"https://api.github.com/users/CalledByThe4ire/following{/other_user}","gists_url":"https://api.github.com/users/CalledByThe4ire/gists{/gist_id}","starred_url":"https://api.github.com/users/CalledByThe4ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalledByThe4ire/subscriptions","organizations_url":"https://api.github.com/users/CalledByThe4ire/orgs","repos_url":"https://api.github.com/users/CalledByThe4ire/repos","events_url":"https://api.github.com/users/CalledByThe4ire/events{/privacy}","received_events_url":"https://api.github.com/users/CalledByThe4ire/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T06:01:19Z","updated_at":"2016-08-08T06:01:19Z","body":":up:"}}
{"actor":{"display_login":"CalledByThe4ire"}}