{"action":"created","comment":{"url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/comments/40223771","id":40223771,"diff_hunk":"@@ -0,0 +1,52 @@\n+import pygame\n+\n+pygame.font.init()\n+\n+# CONSTANTS\n+BLACK = 0, 0, 0\n+BLUE = 0, 0, 255\n+WHITE = 255, 255, 255\n+EVENT_KEY_a = 97\n+EVENT_KEY_z = 122\n+EVENT_KEY_ENTER = 13\n+EVENT_KEY_BACKSPACE = 8\n+fontSize = 15\n+rectX = 10\n+rectY = 40\n+rectWidth = 400","path":"targeting_terminal.py","position":16,"original_position":16,"commit_id":"c3d8b5b2cf32f9075ff0a14ab376523f01a11b43","original_commit_id":"c3d8b5b2cf32f9075ff0a14ab376523f01a11b43","user":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"body":"Instead of using `rect` I'd suggest using `terminal`, `rect` could be the rect for anything. ","created_at":"2015-09-23T16:16:51Z","updated_at":"2015-09-23T16:16:51Z","html_url":"https://github.com/enochtsang/TerminalFighter/pull/8#discussion_r40223771","pull_request_url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/comments/40223771"},"html":{"href":"https://github.com/enochtsang/TerminalFighter/pull/8#discussion_r40223771"},"pull_request":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8","id":45614540,"html_url":"https://github.com/enochtsang/TerminalFighter/pull/8","diff_url":"https://github.com/enochtsang/TerminalFighter/pull/8.diff","patch_url":"https://github.com/enochtsang/TerminalFighter/pull/8.patch","issue_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/8","number":8,"state":"open","locked":false,"title":"Targeting terminal class created and included terminal class into rifle.py","user":{"login":"cheunggg","id":14229195,"avatar_url":"https://avatars.githubusercontent.com/u/14229195?v=3","gravatar_id":"","url":"https://api.github.com/users/cheunggg","html_url":"https://github.com/cheunggg","followers_url":"https://api.github.com/users/cheunggg/followers","following_url":"https://api.github.com/users/cheunggg/following{/other_user}","gists_url":"https://api.github.com/users/cheunggg/gists{/gist_id}","starred_url":"https://api.github.com/users/cheunggg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheunggg/subscriptions","organizations_url":"https://api.github.com/users/cheunggg/orgs","repos_url":"https://api.github.com/users/cheunggg/repos","events_url":"https://api.github.com/users/cheunggg/events{/privacy}","received_events_url":"https://api.github.com/users/cheunggg/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-21T23:52:26Z","updated_at":"2015-09-23T16:16:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e9e2272d8bfa3c64f4691f3317309bb1cb4ecc4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8/commits","review_comments_url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8/comments","review_comment_url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/8/comments","statuses_url":"https://api.github.com/repos/enochtsang/TerminalFighter/statuses/c3d8b5b2cf32f9075ff0a14ab376523f01a11b43","head":{"label":"enochtsang:terminal","ref":"terminal","sha":"c3d8b5b2cf32f9075ff0a14ab376523f01a11b43","user":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"repo":{"id":42639887,"name":"TerminalFighter","full_name":"enochtsang/TerminalFighter","owner":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enochtsang/TerminalFighter","description":"","fork":false,"url":"https://api.github.com/repos/enochtsang/TerminalFighter","forks_url":"https://api.github.com/repos/enochtsang/TerminalFighter/forks","keys_url":"https://api.github.com/repos/enochtsang/TerminalFighter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enochtsang/TerminalFighter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enochtsang/TerminalFighter/teams","hooks_url":"https://api.github.com/repos/enochtsang/TerminalFighter/hooks","issue_events_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/events{/number}","events_url":"https://api.github.com/repos/enochtsang/TerminalFighter/events","assignees_url":"https://api.github.com/repos/enochtsang/TerminalFighter/assignees{/user}","branches_url":"https://api.github.com/repos/enochtsang/TerminalFighter/branches{/branch}","tags_url":"https://api.github.com/repos/enochtsang/TerminalFighter/tags","blobs_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/refs{/sha}","trees_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enochtsang/TerminalFighter/statuses/{sha}","languages_url":"https://api.github.com/repos/enochtsang/TerminalFighter/languages","stargazers_url":"https://api.github.com/repos/enochtsang/TerminalFighter/stargazers","contributors_url":"https://api.github.com/repos/enochtsang/TerminalFighter/contributors","subscribers_url":"https://api.github.com/repos/enochtsang/TerminalFighter/subscribers","subscription_url":"https://api.github.com/repos/enochtsang/TerminalFighter/subscription","commits_url":"https://api.github.com/repos/enochtsang/TerminalFighter/commits{/sha}","git_commits_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/commits{/sha}","comments_url":"https://api.github.com/repos/enochtsang/TerminalFighter/comments{/number}","issue_comment_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/comments{/number}","contents_url":"https://api.github.com/repos/enochtsang/TerminalFighter/contents/{+path}","compare_url":"https://api.github.com/repos/enochtsang/TerminalFighter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enochtsang/TerminalFighter/merges","archive_url":"https://api.github.com/repos/enochtsang/TerminalFighter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enochtsang/TerminalFighter/downloads","issues_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues{/number}","pulls_url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls{/number}","milestones_url":"https://api.github.com/repos/enochtsang/TerminalFighter/milestones{/number}","notifications_url":"https://api.github.com/repos/enochtsang/TerminalFighter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enochtsang/TerminalFighter/labels{/name}","releases_url":"https://api.github.com/repos/enochtsang/TerminalFighter/releases{/id}","created_at":"2015-09-17T06:49:48Z","updated_at":"2015-09-17T06:50:13Z","pushed_at":"2015-09-23T16:07:07Z","git_url":"git://github.com/enochtsang/TerminalFighter.git","ssh_url":"git@github.com:enochtsang/TerminalFighter.git","clone_url":"https://github.com/enochtsang/TerminalFighter.git","svn_url":"https://github.com/enochtsang/TerminalFighter","homepage":null,"size":476,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"enochtsang:master","ref":"master","sha":"a518b6c6052d7a8d7dace8150725c1ce1f8fc756","user":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"repo":{"id":42639887,"name":"TerminalFighter","full_name":"enochtsang/TerminalFighter","owner":{"login":"enochtsang","id":9893396,"avatar_url":"https://avatars.githubusercontent.com/u/9893396?v=3","gravatar_id":"","url":"https://api.github.com/users/enochtsang","html_url":"https://github.com/enochtsang","followers_url":"https://api.github.com/users/enochtsang/followers","following_url":"https://api.github.com/users/enochtsang/following{/other_user}","gists_url":"https://api.github.com/users/enochtsang/gists{/gist_id}","starred_url":"https://api.github.com/users/enochtsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enochtsang/subscriptions","organizations_url":"https://api.github.com/users/enochtsang/orgs","repos_url":"https://api.github.com/users/enochtsang/repos","events_url":"https://api.github.com/users/enochtsang/events{/privacy}","received_events_url":"https://api.github.com/users/enochtsang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enochtsang/TerminalFighter","description":"","fork":false,"url":"https://api.github.com/repos/enochtsang/TerminalFighter","forks_url":"https://api.github.com/repos/enochtsang/TerminalFighter/forks","keys_url":"https://api.github.com/repos/enochtsang/TerminalFighter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enochtsang/TerminalFighter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enochtsang/TerminalFighter/teams","hooks_url":"https://api.github.com/repos/enochtsang/TerminalFighter/hooks","issue_events_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/events{/number}","events_url":"https://api.github.com/repos/enochtsang/TerminalFighter/events","assignees_url":"https://api.github.com/repos/enochtsang/TerminalFighter/assignees{/user}","branches_url":"https://api.github.com/repos/enochtsang/TerminalFighter/branches{/branch}","tags_url":"https://api.github.com/repos/enochtsang/TerminalFighter/tags","blobs_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/refs{/sha}","trees_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enochtsang/TerminalFighter/statuses/{sha}","languages_url":"https://api.github.com/repos/enochtsang/TerminalFighter/languages","stargazers_url":"https://api.github.com/repos/enochtsang/TerminalFighter/stargazers","contributors_url":"https://api.github.com/repos/enochtsang/TerminalFighter/contributors","subscribers_url":"https://api.github.com/repos/enochtsang/TerminalFighter/subscribers","subscription_url":"https://api.github.com/repos/enochtsang/TerminalFighter/subscription","commits_url":"https://api.github.com/repos/enochtsang/TerminalFighter/commits{/sha}","git_commits_url":"https://api.github.com/repos/enochtsang/TerminalFighter/git/commits{/sha}","comments_url":"https://api.github.com/repos/enochtsang/TerminalFighter/comments{/number}","issue_comment_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/comments{/number}","contents_url":"https://api.github.com/repos/enochtsang/TerminalFighter/contents/{+path}","compare_url":"https://api.github.com/repos/enochtsang/TerminalFighter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enochtsang/TerminalFighter/merges","archive_url":"https://api.github.com/repos/enochtsang/TerminalFighter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enochtsang/TerminalFighter/downloads","issues_url":"https://api.github.com/repos/enochtsang/TerminalFighter/issues{/number}","pulls_url":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls{/number}","milestones_url":"https://api.github.com/repos/enochtsang/TerminalFighter/milestones{/number}","notifications_url":"https://api.github.com/repos/enochtsang/TerminalFighter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enochtsang/TerminalFighter/labels{/name}","releases_url":"https://api.github.com/repos/enochtsang/TerminalFighter/releases{/id}","created_at":"2015-09-17T06:49:48Z","updated_at":"2015-09-17T06:50:13Z","pushed_at":"2015-09-23T16:07:07Z","git_url":"git://github.com/enochtsang/TerminalFighter.git","ssh_url":"git@github.com:enochtsang/TerminalFighter.git","clone_url":"https://github.com/enochtsang/TerminalFighter.git","svn_url":"https://github.com/enochtsang/TerminalFighter","homepage":null,"size":476,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8"},"html":{"href":"https://github.com/enochtsang/TerminalFighter/pull/8"},"issue":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/8"},"comments":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/enochtsang/TerminalFighter/statuses/c3d8b5b2cf32f9075ff0a14ab376523f01a11b43"}}}}