{"action":"created","comment":{"url":"https://api.github.com/repos/ivansalazar/qwircl/pulls/comments/179932212","pull_request_review_id":110271445,"id":179932212,"diff_hunk":"@@ -43,13 +54,90 @@\n ;;       ; Draw the circle.\n ;;       (q/ellipse x y 100 100))))\n \n+(defn set-color [color]\n+  (apply q/fill \n+         (condp = color \n+           :green [0 120 0]\n+           :blue [135 206 250]\n+           :purple [120 0 120]\n+           :red [120 0 0]\n+           :orange [255 165 0]\n+           :yellow [255 255 0]\n+           :black [0 0 0]\n+           ; [0 255 255]\n+           background-color)))\n+\n+(defn draw-black-background [x y]\n+  (set-color :black)\n+  (q/rect (* size x) (* size y) size size))\n+\n+(defn draw-tile [x y tile]","path":"src/qwircl/core.cljs","position":70,"original_position":70,"commit_id":"60887305e3ffbba6f66aaa6df4483ed54bcfc613","original_commit_id":"60887305e3ffbba6f66aaa6df4483ed54bcfc613","user":{"login":"tclamb","id":1987615,"avatar_url":"https://avatars3.githubusercontent.com/u/1987615?v=4","gravatar_id":"","url":"https://api.github.com/users/tclamb","html_url":"https://github.com/tclamb","followers_url":"https://api.github.com/users/tclamb/followers","following_url":"https://api.github.com/users/tclamb/following{/other_user}","gists_url":"https://api.github.com/users/tclamb/gists{/gist_id}","starred_url":"https://api.github.com/users/tclamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tclamb/subscriptions","organizations_url":"https://api.github.com/users/tclamb/orgs","repos_url":"https://api.github.com/users/tclamb/repos","events_url":"https://api.github.com/users/tclamb/events{/privacy}","received_events_url":"https://api.github.com/users/tclamb/received_events","type":"User","site_admin":false},"body":"I love this!","created_at":"2018-04-08T01:25:58Z","updated_at":"2018-04-08T01:28:21Z","html_url":"https://github.com/ivansalazar/qwircl/pull/1#discussion_r179932212","pull_request_url":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ivansalazar/qwircl/pulls/comments/179932212"},"html":{"href":"https://github.com/ivansalazar/qwircl/pull/1#discussion_r179932212"},"pull_request":{"href":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1","id":179842130,"html_url":"https://github.com/ivansalazar/qwircl/pull/1","diff_url":"https://github.com/ivansalazar/qwircl/pull/1.diff","patch_url":"https://github.com/ivansalazar/qwircl/pull/1.patch","issue_url":"https://api.github.com/repos/ivansalazar/qwircl/issues/1","number":1,"state":"open","locked":false,"title":"Add code for drawing shapes and the player hand","user":{"login":"ivansalazar","id":73122,"avatar_url":"https://avatars3.githubusercontent.com/u/73122?v=4","gravatar_id":"","url":"https://api.github.com/users/ivansalazar","html_url":"https://github.com/ivansalazar","followers_url":"https://api.github.com/users/ivansalazar/followers","following_url":"https://api.github.com/users/ivansalazar/following{/other_user}","gists_url":"https://api.github.com/users/ivansalazar/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansalazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansalazar/subscriptions","organizations_url":"https://api.github.com/users/ivansalazar/orgs","repos_url":"https://api.github.com/users/ivansalazar/repos","events_url":"https://api.github.com/users/ivansalazar/events{/privacy}","received_events_url":"https://api.github.com/users/ivansalazar/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-06T02:37:39Z","updated_at":"2018-04-08T01:28:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea82bef3835faafb120d68e5c225fbc1bd35f9c3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ivansalazar/qwircl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ivansalazar/qwircl/issues/1/comments","statuses_url":"https://api.github.com/repos/ivansalazar/qwircl/statuses/60887305e3ffbba6f66aaa6df4483ed54bcfc613","head":{"label":"ivansalazar:draw-tiles","ref":"draw-tiles","sha":"60887305e3ffbba6f66aaa6df4483ed54bcfc613","user":{"login":"ivansalazar","id":73122,"avatar_url":"https://avatars3.githubusercontent.com/u/73122?v=4","gravatar_id":"","url":"https://api.github.com/users/ivansalazar","html_url":"https://github.com/ivansalazar","followers_url":"https://api.github.com/users/ivansalazar/followers","following_url":"https://api.github.com/users/ivansalazar/following{/other_user}","gists_url":"https://api.github.com/users/ivansalazar/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansalazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansalazar/subscriptions","organizations_url":"https://api.github.com/users/ivansalazar/orgs","repos_url":"https://api.github.com/users/ivansalazar/repos","events_url":"https://api.github.com/users/ivansalazar/events{/privacy}","received_events_url":"https://api.github.com/users/ivansalazar/received_events","type":"User","site_admin":false},"repo":{"id":126913715,"name":"qwircl","full_name":"ivansalazar/qwircl","owner":{"login":"ivansalazar","id":73122,"avatar_url":"https://avatars3.githubusercontent.com/u/73122?v=4","gravatar_id":"","url":"https://api.github.com/users/ivansalazar","html_url":"https://github.com/ivansalazar","followers_url":"https://api.github.com/users/ivansalazar/followers","following_url":"https://api.github.com/users/ivansalazar/following{/other_user}","gists_url":"https://api.github.com/users/ivansalazar/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansalazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansalazar/subscriptions","organizations_url":"https://api.github.com/users/ivansalazar/orgs","repos_url":"https://api.github.com/users/ivansalazar/repos","events_url":"https://api.github.com/users/ivansalazar/events{/privacy}","received_events_url":"https://api.github.com/users/ivansalazar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivansalazar/qwircl","description":"Implementation of a popular puzzle board game","fork":false,"url":"https://api.github.com/repos/ivansalazar/qwircl","forks_url":"https://api.github.com/repos/ivansalazar/qwircl/forks","keys_url":"https://api.github.com/repos/ivansalazar/qwircl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivansalazar/qwircl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivansalazar/qwircl/teams","hooks_url":"https://api.github.com/repos/ivansalazar/qwircl/hooks","issue_events_url":"https://api.github.com/repos/ivansalazar/qwircl/issues/events{/number}","events_url":"https://api.github.com/repos/ivansalazar/qwircl/events","assignees_url":"https://api.github.com/repos/ivansalazar/qwircl/assignees{/user}","branches_url":"https://api.github.com/repos/ivansalazar/qwircl/branches{/branch}","tags_url":"https://api.github.com/repos/ivansalazar/qwircl/tags","blobs_url":"https://api.github.com/repos/ivansalazar/qwircl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivansalazar/qwircl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivansalazar/qwircl/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivansalazar/qwircl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivansalazar/qwircl/statuses/{sha}","languages_url":"https://api.github.com/repos/ivansalazar/qwircl/languages","stargazers_url":"https://api.github.com/repos/ivansalazar/qwircl/stargazers","contributors_url":"https://api.github.com/repos/ivansalazar/qwircl/contributors","subscribers_url":"https://api.github.com/repos/ivansalazar/qwircl/subscribers","subscription_url":"https://api.github.com/repos/ivansalazar/qwircl/subscription","commits_url":"https://api.github.com/repos/ivansalazar/qwircl/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivansalazar/qwircl/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivansalazar/qwircl/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivansalazar/qwircl/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivansalazar/qwircl/contents/{+path}","compare_url":"https://api.github.com/repos/ivansalazar/qwircl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivansalazar/qwircl/merges","archive_url":"https://api.github.com/repos/ivansalazar/qwircl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivansalazar/qwircl/downloads","issues_url":"https://api.github.com/repos/ivansalazar/qwircl/issues{/number}","pulls_url":"https://api.github.com/repos/ivansalazar/qwircl/pulls{/number}","milestones_url":"https://api.github.com/repos/ivansalazar/qwircl/milestones{/number}","notifications_url":"https://api.github.com/repos/ivansalazar/qwircl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivansalazar/qwircl/labels{/name}","releases_url":"https://api.github.com/repos/ivansalazar/qwircl/releases{/id}","deployments_url":"https://api.github.com/repos/ivansalazar/qwircl/deployments","created_at":"2018-03-27T01:56:22Z","updated_at":"2018-03-27T03:07:57Z","pushed_at":"2018-04-06T02:37:40Z","git_url":"git://github.com/ivansalazar/qwircl.git","ssh_url":"git@github.com:ivansalazar/qwircl.git","clone_url":"https://github.com/ivansalazar/qwircl.git","svn_url":"https://github.com/ivansalazar/qwircl","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ivansalazar:master","ref":"master","sha":"a6f91f97778d44b804f522fffa753c5b38c61888","user":{"login":"ivansalazar","id":73122,"avatar_url":"https://avatars3.githubusercontent.com/u/73122?v=4","gravatar_id":"","url":"https://api.github.com/users/ivansalazar","html_url":"https://github.com/ivansalazar","followers_url":"https://api.github.com/users/ivansalazar/followers","following_url":"https://api.github.com/users/ivansalazar/following{/other_user}","gists_url":"https://api.github.com/users/ivansalazar/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansalazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansalazar/subscriptions","organizations_url":"https://api.github.com/users/ivansalazar/orgs","repos_url":"https://api.github.com/users/ivansalazar/repos","events_url":"https://api.github.com/users/ivansalazar/events{/privacy}","received_events_url":"https://api.github.com/users/ivansalazar/received_events","type":"User","site_admin":false},"repo":{"id":126913715,"name":"qwircl","full_name":"ivansalazar/qwircl","owner":{"login":"ivansalazar","id":73122,"avatar_url":"https://avatars3.githubusercontent.com/u/73122?v=4","gravatar_id":"","url":"https://api.github.com/users/ivansalazar","html_url":"https://github.com/ivansalazar","followers_url":"https://api.github.com/users/ivansalazar/followers","following_url":"https://api.github.com/users/ivansalazar/following{/other_user}","gists_url":"https://api.github.com/users/ivansalazar/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansalazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansalazar/subscriptions","organizations_url":"https://api.github.com/users/ivansalazar/orgs","repos_url":"https://api.github.com/users/ivansalazar/repos","events_url":"https://api.github.com/users/ivansalazar/events{/privacy}","received_events_url":"https://api.github.com/users/ivansalazar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivansalazar/qwircl","description":"Implementation of a popular puzzle board game","fork":false,"url":"https://api.github.com/repos/ivansalazar/qwircl","forks_url":"https://api.github.com/repos/ivansalazar/qwircl/forks","keys_url":"https://api.github.com/repos/ivansalazar/qwircl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivansalazar/qwircl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivansalazar/qwircl/teams","hooks_url":"https://api.github.com/repos/ivansalazar/qwircl/hooks","issue_events_url":"https://api.github.com/repos/ivansalazar/qwircl/issues/events{/number}","events_url":"https://api.github.com/repos/ivansalazar/qwircl/events","assignees_url":"https://api.github.com/repos/ivansalazar/qwircl/assignees{/user}","branches_url":"https://api.github.com/repos/ivansalazar/qwircl/branches{/branch}","tags_url":"https://api.github.com/repos/ivansalazar/qwircl/tags","blobs_url":"https://api.github.com/repos/ivansalazar/qwircl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivansalazar/qwircl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivansalazar/qwircl/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivansalazar/qwircl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivansalazar/qwircl/statuses/{sha}","languages_url":"https://api.github.com/repos/ivansalazar/qwircl/languages","stargazers_url":"https://api.github.com/repos/ivansalazar/qwircl/stargazers","contributors_url":"https://api.github.com/repos/ivansalazar/qwircl/contributors","subscribers_url":"https://api.github.com/repos/ivansalazar/qwircl/subscribers","subscription_url":"https://api.github.com/repos/ivansalazar/qwircl/subscription","commits_url":"https://api.github.com/repos/ivansalazar/qwircl/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivansalazar/qwircl/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivansalazar/qwircl/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivansalazar/qwircl/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivansalazar/qwircl/contents/{+path}","compare_url":"https://api.github.com/repos/ivansalazar/qwircl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivansalazar/qwircl/merges","archive_url":"https://api.github.com/repos/ivansalazar/qwircl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivansalazar/qwircl/downloads","issues_url":"https://api.github.com/repos/ivansalazar/qwircl/issues{/number}","pulls_url":"https://api.github.com/repos/ivansalazar/qwircl/pulls{/number}","milestones_url":"https://api.github.com/repos/ivansalazar/qwircl/milestones{/number}","notifications_url":"https://api.github.com/repos/ivansalazar/qwircl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivansalazar/qwircl/labels{/name}","releases_url":"https://api.github.com/repos/ivansalazar/qwircl/releases{/id}","deployments_url":"https://api.github.com/repos/ivansalazar/qwircl/deployments","created_at":"2018-03-27T01:56:22Z","updated_at":"2018-03-27T03:07:57Z","pushed_at":"2018-04-06T02:37:40Z","git_url":"git://github.com/ivansalazar/qwircl.git","ssh_url":"git@github.com:ivansalazar/qwircl.git","clone_url":"https://github.com/ivansalazar/qwircl.git","svn_url":"https://github.com/ivansalazar/qwircl","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1"},"html":{"href":"https://github.com/ivansalazar/qwircl/pull/1"},"issue":{"href":"https://api.github.com/repos/ivansalazar/qwircl/issues/1"},"comments":{"href":"https://api.github.com/repos/ivansalazar/qwircl/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ivansalazar/qwircl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ivansalazar/qwircl/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ivansalazar/qwircl/statuses/60887305e3ffbba6f66aaa6df4483ed54bcfc613"}},"author_association":"OWNER"}}
{"actor":{"display_login":"tclamb"}}