{"action":"created","comment":{"url":"https://api.github.com/repos/max-kov/pool/pulls/comments/106155594","pull_request_review_id":27061613,"id":106155594,"diff_hunk":"@@ -0,0 +1,26 @@\n+import physics\n+import pygame\n+\n+\n+def table_collision(game_state):\n+    def ball_to_hole_collision(ball, hole):\n+        return physics.point_distance(ball.pos, hole.pos) - hole.radius <= 0","path":"collisiontests.py","position":7,"original_position":7,"commit_id":"e12230cffacaa4c38b99d28456745ebcb9f5e8e4","original_commit_id":"e12230cffacaa4c38b99d28456745ebcb9f5e8e4","user":{"login":"kovalevvlad","id":18620326,"avatar_url":"https://avatars2.githubusercontent.com/u/18620326?v=3","gravatar_id":"","url":"https://api.github.com/users/kovalevvlad","html_url":"https://github.com/kovalevvlad","followers_url":"https://api.github.com/users/kovalevvlad/followers","following_url":"https://api.github.com/users/kovalevvlad/following{/other_user}","gists_url":"https://api.github.com/users/kovalevvlad/gists{/gist_id}","starred_url":"https://api.github.com/users/kovalevvlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovalevvlad/subscriptions","organizations_url":"https://api.github.com/users/kovalevvlad/orgs","repos_url":"https://api.github.com/users/kovalevvlad/repos","events_url":"https://api.github.com/users/kovalevvlad/events{/privacy}","received_events_url":"https://api.github.com/users/kovalevvlad/received_events","type":"User","site_admin":false},"body":"http://stackoverflow.com/questions/1401712/how-can-the-euclidean-distance-be-calculated-with-numpy","created_at":"2017-03-15T12:48:24Z","updated_at":"2017-03-15T12:54:35Z","html_url":"https://github.com/max-kov/pool/pull/5#discussion_r106155594","pull_request_url":"https://api.github.com/repos/max-kov/pool/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/max-kov/pool/pulls/comments/106155594"},"html":{"href":"https://github.com/max-kov/pool/pull/5#discussion_r106155594"},"pull_request":{"href":"https://api.github.com/repos/max-kov/pool/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/max-kov/pool/pulls/5","id":110196890,"html_url":"https://github.com/max-kov/pool/pull/5","diff_url":"https://github.com/max-kov/pool/pull/5.diff","patch_url":"https://github.com/max-kov/pool/pull/5.patch","issue_url":"https://api.github.com/repos/max-kov/pool/issues/5","number":5,"state":"open","locked":false,"title":"Deving branch","user":{"login":"max-kov","id":15787304,"avatar_url":"https://avatars3.githubusercontent.com/u/15787304?v=3","gravatar_id":"","url":"https://api.github.com/users/max-kov","html_url":"https://github.com/max-kov","followers_url":"https://api.github.com/users/max-kov/followers","following_url":"https://api.github.com/users/max-kov/following{/other_user}","gists_url":"https://api.github.com/users/max-kov/gists{/gist_id}","starred_url":"https://api.github.com/users/max-kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-kov/subscriptions","organizations_url":"https://api.github.com/users/max-kov/orgs","repos_url":"https://api.github.com/users/max-kov/repos","events_url":"https://api.github.com/users/max-kov/events{/privacy}","received_events_url":"https://api.github.com/users/max-kov/received_events","type":"User","site_admin":false},"body":"- migrated to numpy\r\n\r\n- switched to pysprites\r\n\r\n- refactored code\r\n\r\n@kovalevvlad","created_at":"2017-03-10T19:48:47Z","updated_at":"2017-03-15T12:54:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"720db64c7ca0f577df462448146e1eb737a4437f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/max-kov/pool/pulls/5/commits","review_comments_url":"https://api.github.com/repos/max-kov/pool/pulls/5/comments","review_comment_url":"https://api.github.com/repos/max-kov/pool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/max-kov/pool/issues/5/comments","statuses_url":"https://api.github.com/repos/max-kov/pool/statuses/e12230cffacaa4c38b99d28456745ebcb9f5e8e4","head":{"label":"max-kov:deving_branch","ref":"deving_branch","sha":"e12230cffacaa4c38b99d28456745ebcb9f5e8e4","user":{"login":"max-kov","id":15787304,"avatar_url":"https://avatars3.githubusercontent.com/u/15787304?v=3","gravatar_id":"","url":"https://api.github.com/users/max-kov","html_url":"https://github.com/max-kov","followers_url":"https://api.github.com/users/max-kov/followers","following_url":"https://api.github.com/users/max-kov/following{/other_user}","gists_url":"https://api.github.com/users/max-kov/gists{/gist_id}","starred_url":"https://api.github.com/users/max-kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-kov/subscriptions","organizations_url":"https://api.github.com/users/max-kov/orgs","repos_url":"https://api.github.com/users/max-kov/repos","events_url":"https://api.github.com/users/max-kov/events{/privacy}","received_events_url":"https://api.github.com/users/max-kov/received_events","type":"User","site_admin":false},"repo":{"id":75418911,"name":"pool","full_name":"max-kov/pool","owner":{"login":"max-kov","id":15787304,"avatar_url":"https://avatars3.githubusercontent.com/u/15787304?v=3","gravatar_id":"","url":"https://api.github.com/users/max-kov","html_url":"https://github.com/max-kov","followers_url":"https://api.github.com/users/max-kov/followers","following_url":"https://api.github.com/users/max-kov/following{/other_user}","gists_url":"https://api.github.com/users/max-kov/gists{/gist_id}","starred_url":"https://api.github.com/users/max-kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-kov/subscriptions","organizations_url":"https://api.github.com/users/max-kov/orgs","repos_url":"https://api.github.com/users/max-kov/repos","events_url":"https://api.github.com/users/max-kov/events{/privacy}","received_events_url":"https://api.github.com/users/max-kov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/max-kov/pool","description":null,"fork":false,"url":"https://api.github.com/repos/max-kov/pool","forks_url":"https://api.github.com/repos/max-kov/pool/forks","keys_url":"https://api.github.com/repos/max-kov/pool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/max-kov/pool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/max-kov/pool/teams","hooks_url":"https://api.github.com/repos/max-kov/pool/hooks","issue_events_url":"https://api.github.com/repos/max-kov/pool/issues/events{/number}","events_url":"https://api.github.com/repos/max-kov/pool/events","assignees_url":"https://api.github.com/repos/max-kov/pool/assignees{/user}","branches_url":"https://api.github.com/repos/max-kov/pool/branches{/branch}","tags_url":"https://api.github.com/repos/max-kov/pool/tags","blobs_url":"https://api.github.com/repos/max-kov/pool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/max-kov/pool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/max-kov/pool/git/refs{/sha}","trees_url":"https://api.github.com/repos/max-kov/pool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/max-kov/pool/statuses/{sha}","languages_url":"https://api.github.com/repos/max-kov/pool/languages","stargazers_url":"https://api.github.com/repos/max-kov/pool/stargazers","contributors_url":"https://api.github.com/repos/max-kov/pool/contributors","subscribers_url":"https://api.github.com/repos/max-kov/pool/subscribers","subscription_url":"https://api.github.com/repos/max-kov/pool/subscription","commits_url":"https://api.github.com/repos/max-kov/pool/commits{/sha}","git_commits_url":"https://api.github.com/repos/max-kov/pool/git/commits{/sha}","comments_url":"https://api.github.com/repos/max-kov/pool/comments{/number}","issue_comment_url":"https://api.github.com/repos/max-kov/pool/issues/comments{/number}","contents_url":"https://api.github.com/repos/max-kov/pool/contents/{+path}","compare_url":"https://api.github.com/repos/max-kov/pool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/max-kov/pool/merges","archive_url":"https://api.github.com/repos/max-kov/pool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/max-kov/pool/downloads","issues_url":"https://api.github.com/repos/max-kov/pool/issues{/number}","pulls_url":"https://api.github.com/repos/max-kov/pool/pulls{/number}","milestones_url":"https://api.github.com/repos/max-kov/pool/milestones{/number}","notifications_url":"https://api.github.com/repos/max-kov/pool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/max-kov/pool/labels{/name}","releases_url":"https://api.github.com/repos/max-kov/pool/releases{/id}","deployments_url":"https://api.github.com/repos/max-kov/pool/deployments","created_at":"2016-12-02T18:02:03Z","updated_at":"2017-03-02T16:59:58Z","pushed_at":"2017-03-12T22:06:20Z","git_url":"git://github.com/max-kov/pool.git","ssh_url":"git@github.com:max-kov/pool.git","clone_url":"https://github.com/max-kov/pool.git","svn_url":"https://github.com/max-kov/pool","homepage":null,"size":153,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"max-kov:master","ref":"master","sha":"4a8e242d14e9eab22932c9df1f2da47cbb7a259c","user":{"login":"max-kov","id":15787304,"avatar_url":"https://avatars3.githubusercontent.com/u/15787304?v=3","gravatar_id":"","url":"https://api.github.com/users/max-kov","html_url":"https://github.com/max-kov","followers_url":"https://api.github.com/users/max-kov/followers","following_url":"https://api.github.com/users/max-kov/following{/other_user}","gists_url":"https://api.github.com/users/max-kov/gists{/gist_id}","starred_url":"https://api.github.com/users/max-kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-kov/subscriptions","organizations_url":"https://api.github.com/users/max-kov/orgs","repos_url":"https://api.github.com/users/max-kov/repos","events_url":"https://api.github.com/users/max-kov/events{/privacy}","received_events_url":"https://api.github.com/users/max-kov/received_events","type":"User","site_admin":false},"repo":{"id":75418911,"name":"pool","full_name":"max-kov/pool","owner":{"login":"max-kov","id":15787304,"avatar_url":"https://avatars3.githubusercontent.com/u/15787304?v=3","gravatar_id":"","url":"https://api.github.com/users/max-kov","html_url":"https://github.com/max-kov","followers_url":"https://api.github.com/users/max-kov/followers","following_url":"https://api.github.com/users/max-kov/following{/other_user}","gists_url":"https://api.github.com/users/max-kov/gists{/gist_id}","starred_url":"https://api.github.com/users/max-kov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-kov/subscriptions","organizations_url":"https://api.github.com/users/max-kov/orgs","repos_url":"https://api.github.com/users/max-kov/repos","events_url":"https://api.github.com/users/max-kov/events{/privacy}","received_events_url":"https://api.github.com/users/max-kov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/max-kov/pool","description":null,"fork":false,"url":"https://api.github.com/repos/max-kov/pool","forks_url":"https://api.github.com/repos/max-kov/pool/forks","keys_url":"https://api.github.com/repos/max-kov/pool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/max-kov/pool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/max-kov/pool/teams","hooks_url":"https://api.github.com/repos/max-kov/pool/hooks","issue_events_url":"https://api.github.com/repos/max-kov/pool/issues/events{/number}","events_url":"https://api.github.com/repos/max-kov/pool/events","assignees_url":"https://api.github.com/repos/max-kov/pool/assignees{/user}","branches_url":"https://api.github.com/repos/max-kov/pool/branches{/branch}","tags_url":"https://api.github.com/repos/max-kov/pool/tags","blobs_url":"https://api.github.com/repos/max-kov/pool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/max-kov/pool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/max-kov/pool/git/refs{/sha}","trees_url":"https://api.github.com/repos/max-kov/pool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/max-kov/pool/statuses/{sha}","languages_url":"https://api.github.com/repos/max-kov/pool/languages","stargazers_url":"https://api.github.com/repos/max-kov/pool/stargazers","contributors_url":"https://api.github.com/repos/max-kov/pool/contributors","subscribers_url":"https://api.github.com/repos/max-kov/pool/subscribers","subscription_url":"https://api.github.com/repos/max-kov/pool/subscription","commits_url":"https://api.github.com/repos/max-kov/pool/commits{/sha}","git_commits_url":"https://api.github.com/repos/max-kov/pool/git/commits{/sha}","comments_url":"https://api.github.com/repos/max-kov/pool/comments{/number}","issue_comment_url":"https://api.github.com/repos/max-kov/pool/issues/comments{/number}","contents_url":"https://api.github.com/repos/max-kov/pool/contents/{+path}","compare_url":"https://api.github.com/repos/max-kov/pool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/max-kov/pool/merges","archive_url":"https://api.github.com/repos/max-kov/pool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/max-kov/pool/downloads","issues_url":"https://api.github.com/repos/max-kov/pool/issues{/number}","pulls_url":"https://api.github.com/repos/max-kov/pool/pulls{/number}","milestones_url":"https://api.github.com/repos/max-kov/pool/milestones{/number}","notifications_url":"https://api.github.com/repos/max-kov/pool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/max-kov/pool/labels{/name}","releases_url":"https://api.github.com/repos/max-kov/pool/releases{/id}","deployments_url":"https://api.github.com/repos/max-kov/pool/deployments","created_at":"2016-12-02T18:02:03Z","updated_at":"2017-03-02T16:59:58Z","pushed_at":"2017-03-12T22:06:20Z","git_url":"git://github.com/max-kov/pool.git","ssh_url":"git@github.com:max-kov/pool.git","clone_url":"https://github.com/max-kov/pool.git","svn_url":"https://github.com/max-kov/pool","homepage":null,"size":153,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/max-kov/pool/pulls/5"},"html":{"href":"https://github.com/max-kov/pool/pull/5"},"issue":{"href":"https://api.github.com/repos/max-kov/pool/issues/5"},"comments":{"href":"https://api.github.com/repos/max-kov/pool/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/max-kov/pool/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/max-kov/pool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/max-kov/pool/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/max-kov/pool/statuses/e12230cffacaa4c38b99d28456745ebcb9f5e8e4"}}}}
{"actor":{"display_login":"kovalevvlad"}}