{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments/32000406","id":32000406,"diff_hunk":"@@ -0,0 +1,23 @@\n+function Frame() {\n+\n+  this.pinCount = 10;\n+  this.rollCount = 0;\n+  this.isOver = false;\n+};\n+\n+\n+Frame.prototype.knockPins = function(number) {\n+  if (this.rollCount < 1) {\n+    this.pinCount = (this.pinCount - number );\n+    this.rollCount = (this.rollCount + 1);","path":"src/frame.js","position":12,"original_position":12,"commit_id":"39ee1649ef0294f8e97a59ea3650006e119ad274","original_commit_id":"39ee1649ef0294f8e97a59ea3650006e119ad274","user":{"login":"spike01","id":7307631,"avatar_url":"https://avatars.githubusercontent.com/u/7307631?v=3","gravatar_id":"","url":"https://api.github.com/users/spike01","html_url":"https://github.com/spike01","followers_url":"https://api.github.com/users/spike01/followers","following_url":"https://api.github.com/users/spike01/following{/other_user}","gists_url":"https://api.github.com/users/spike01/gists{/gist_id}","starred_url":"https://api.github.com/users/spike01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spike01/subscriptions","organizations_url":"https://api.github.com/users/spike01/orgs","repos_url":"https://api.github.com/users/spike01/repos","events_url":"https://api.github.com/users/spike01/events{/privacy}","received_events_url":"https://api.github.com/users/spike01/received_events","type":"User","site_admin":false},"body":"same as above but with +=","created_at":"2015-06-09T10:36:34Z","updated_at":"2015-06-09T10:36:34Z","html_url":"https://github.com/makersacademy/bowling-challenge/pull/58#discussion_r32000406","pull_request_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments/32000406"},"html":{"href":"https://github.com/makersacademy/bowling-challenge/pull/58#discussion_r32000406"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58","id":37176629,"html_url":"https://github.com/makersacademy/bowling-challenge/pull/58","diff_url":"https://github.com/makersacademy/bowling-challenge/pull/58.diff","patch_url":"https://github.com/makersacademy/bowling-challenge/pull/58.patch","issue_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/58","number":58,"state":"open","locked":false,"title":"Bowling Challenge - not got Scorecard fully working","user":{"login":"curlygirly","id":11654909,"avatar_url":"https://avatars.githubusercontent.com/u/11654909?v=3","gravatar_id":"","url":"https://api.github.com/users/curlygirly","html_url":"https://github.com/curlygirly","followers_url":"https://api.github.com/users/curlygirly/followers","following_url":"https://api.github.com/users/curlygirly/following{/other_user}","gists_url":"https://api.github.com/users/curlygirly/gists{/gist_id}","starred_url":"https://api.github.com/users/curlygirly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curlygirly/subscriptions","organizations_url":"https://api.github.com/users/curlygirly/orgs","repos_url":"https://api.github.com/users/curlygirly/repos","events_url":"https://api.github.com/users/curlygirly/events{/privacy}","received_events_url":"https://api.github.com/users/curlygirly/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-08T17:28:28Z","updated_at":"2015-06-09T10:36:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96aa5052d9aa7454376511ce7ab5c328255dc7f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58/commits","review_comments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58/comments","review_comment_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/58/comments","statuses_url":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/39ee1649ef0294f8e97a59ea3650006e119ad274","head":{"label":"curlygirly:master","ref":"master","sha":"39ee1649ef0294f8e97a59ea3650006e119ad274","user":{"login":"curlygirly","id":11654909,"avatar_url":"https://avatars.githubusercontent.com/u/11654909?v=3","gravatar_id":"","url":"https://api.github.com/users/curlygirly","html_url":"https://github.com/curlygirly","followers_url":"https://api.github.com/users/curlygirly/followers","following_url":"https://api.github.com/users/curlygirly/following{/other_user}","gists_url":"https://api.github.com/users/curlygirly/gists{/gist_id}","starred_url":"https://api.github.com/users/curlygirly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curlygirly/subscriptions","organizations_url":"https://api.github.com/users/curlygirly/orgs","repos_url":"https://api.github.com/users/curlygirly/repos","events_url":"https://api.github.com/users/curlygirly/events{/privacy}","received_events_url":"https://api.github.com/users/curlygirly/received_events","type":"User","site_admin":false},"repo":{"id":36510704,"name":"bowling-challenge","full_name":"curlygirly/bowling-challenge","owner":{"login":"curlygirly","id":11654909,"avatar_url":"https://avatars.githubusercontent.com/u/11654909?v=3","gravatar_id":"","url":"https://api.github.com/users/curlygirly","html_url":"https://github.com/curlygirly","followers_url":"https://api.github.com/users/curlygirly/followers","following_url":"https://api.github.com/users/curlygirly/following{/other_user}","gists_url":"https://api.github.com/users/curlygirly/gists{/gist_id}","starred_url":"https://api.github.com/users/curlygirly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curlygirly/subscriptions","organizations_url":"https://api.github.com/users/curlygirly/orgs","repos_url":"https://api.github.com/users/curlygirly/repos","events_url":"https://api.github.com/users/curlygirly/events{/privacy}","received_events_url":"https://api.github.com/users/curlygirly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/curlygirly/bowling-challenge","description":"Calculate Scores for Ten Pin Bowling","fork":true,"url":"https://api.github.com/repos/curlygirly/bowling-challenge","forks_url":"https://api.github.com/repos/curlygirly/bowling-challenge/forks","keys_url":"https://api.github.com/repos/curlygirly/bowling-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/curlygirly/bowling-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/curlygirly/bowling-challenge/teams","hooks_url":"https://api.github.com/repos/curlygirly/bowling-challenge/hooks","issue_events_url":"https://api.github.com/repos/curlygirly/bowling-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/curlygirly/bowling-challenge/events","assignees_url":"https://api.github.com/repos/curlygirly/bowling-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/curlygirly/bowling-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/curlygirly/bowling-challenge/tags","blobs_url":"https://api.github.com/repos/curlygirly/bowling-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/curlygirly/bowling-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/curlygirly/bowling-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/curlygirly/bowling-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/curlygirly/bowling-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/curlygirly/bowling-challenge/languages","stargazers_url":"https://api.github.com/repos/curlygirly/bowling-challenge/stargazers","contributors_url":"https://api.github.com/repos/curlygirly/bowling-challenge/contributors","subscribers_url":"https://api.github.com/repos/curlygirly/bowling-challenge/subscribers","subscription_url":"https://api.github.com/repos/curlygirly/bowling-challenge/subscription","commits_url":"https://api.github.com/repos/curlygirly/bowling-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/curlygirly/bowling-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/curlygirly/bowling-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/curlygirly/bowling-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/curlygirly/bowling-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/curlygirly/bowling-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/curlygirly/bowling-challenge/merges","archive_url":"https://api.github.com/repos/curlygirly/bowling-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/curlygirly/bowling-challenge/downloads","issues_url":"https://api.github.com/repos/curlygirly/bowling-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/curlygirly/bowling-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/curlygirly/bowling-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/curlygirly/bowling-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/curlygirly/bowling-challenge/labels{/name}","releases_url":"https://api.github.com/repos/curlygirly/bowling-challenge/releases{/id}","created_at":"2015-05-29T14:54:22Z","updated_at":"2015-05-29T16:02:08Z","pushed_at":"2015-06-08T17:26:40Z","git_url":"git://github.com/curlygirly/bowling-challenge.git","ssh_url":"git@github.com:curlygirly/bowling-challenge.git","clone_url":"https://github.com/curlygirly/bowling-challenge.git","svn_url":"https://github.com/curlygirly/bowling-challenge","homepage":null,"size":230,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"makersacademy:master","ref":"master","sha":"b843922086b56762415dd07ed1649a9ad294b58c","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27005859,"name":"bowling-challenge","full_name":"makersacademy/bowling-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/bowling-challenge","description":"Calculate Scores for Ten Pin Bowling","fork":false,"url":"https://api.github.com/repos/makersacademy/bowling-challenge","forks_url":"https://api.github.com/repos/makersacademy/bowling-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/bowling-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/bowling-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/bowling-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/bowling-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/bowling-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/bowling-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/bowling-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/bowling-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/bowling-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/bowling-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/bowling-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/bowling-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/bowling-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/bowling-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/bowling-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/bowling-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/bowling-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/bowling-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/bowling-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/bowling-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/bowling-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/bowling-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/bowling-challenge/releases{/id}","created_at":"2014-11-22T17:07:53Z","updated_at":"2015-04-11T11:16:35Z","pushed_at":"2015-06-08T17:28:29Z","git_url":"git://github.com/makersacademy/bowling-challenge.git","ssh_url":"git@github.com:makersacademy/bowling-challenge.git","clone_url":"https://github.com/makersacademy/bowling-challenge.git","svn_url":"https://github.com/makersacademy/bowling-challenge","homepage":null,"size":17301,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":14,"forks":66,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58"},"html":{"href":"https://github.com/makersacademy/bowling-challenge/pull/58"},"issue":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/58"},"comments":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/39ee1649ef0294f8e97a59ea3650006e119ad274"}}}}