{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments/91863955","pull_request_review_id":12373606,"id":91863955,"diff_hunk":"@@ -0,0 +1,25 @@\n+function Game(){\n+  this.rolls = []\n+}\n+\n+Game.prototype.roll = function(pins){\n+  this.rolls.push(pins);\n+}\n+Game.prototype.score = function(){\n+  rollIndex = 0;\n+  sum = 0;\n+\n+  for( var frameIndex = 0; frameIndex < 10; frameIndex++ ){\n+    if (this.rolls[rollIndex] === 10){\n+      sum += this.rolls[rollIndex] + this.rolls[rollIndex + 1] + this.rolls[rollIndex + 2];\n+      rollIndex++;\n+    } else if (this.rolls[rollIndex] + this.rolls[rollIndex + 1] === 10){","path":"src/game.js","position":16,"original_position":16,"commit_id":"41f22e2f68a9f6ae51f129e32f119f6887a58c03","original_commit_id":"41f22e2f68a9f6ae51f129e32f119f6887a58c03","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'rollIndex' is not defined.","created_at":"2016-12-11T20:10:57Z","updated_at":"2016-12-11T20:10:57Z","html_url":"https://github.com/makersacademy/bowling-challenge/pull/411#discussion_r91863955","pull_request_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/411","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments/91863955"},"html":{"href":"https://github.com/makersacademy/bowling-challenge/pull/411#discussion_r91863955"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/411"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/411","id":97470757,"html_url":"https://github.com/makersacademy/bowling-challenge/pull/411","diff_url":"https://github.com/makersacademy/bowling-challenge/pull/411.diff","patch_url":"https://github.com/makersacademy/bowling-challenge/pull/411.patch","issue_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/411","number":411,"state":"open","locked":false,"title":"Bowling Challenge","user":{"login":"mavesonzini","id":11363501,"avatar_url":"https://avatars.githubusercontent.com/u/11363501?v=3","gravatar_id":"","url":"https://api.github.com/users/mavesonzini","html_url":"https://github.com/mavesonzini","followers_url":"https://api.github.com/users/mavesonzini/followers","following_url":"https://api.github.com/users/mavesonzini/following{/other_user}","gists_url":"https://api.github.com/users/mavesonzini/gists{/gist_id}","starred_url":"https://api.github.com/users/mavesonzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavesonzini/subscriptions","organizations_url":"https://api.github.com/users/mavesonzini/orgs","repos_url":"https://api.github.com/users/mavesonzini/repos","events_url":"https://api.github.com/users/mavesonzini/events{/privacy}","received_events_url":"https://api.github.com/users/mavesonzini/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-11T20:10:46Z","updated_at":"2016-12-11T20:10:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"666b8b63780c1900cbe6ac65a07f3ea6ed801942","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/411/commits","review_comments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/411/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/411/comments","statuses_url":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/41f22e2f68a9f6ae51f129e32f119f6887a58c03","head":{"label":"mavesonzini:master","ref":"master","sha":"41f22e2f68a9f6ae51f129e32f119f6887a58c03","user":{"login":"mavesonzini","id":11363501,"avatar_url":"https://avatars.githubusercontent.com/u/11363501?v=3","gravatar_id":"","url":"https://api.github.com/users/mavesonzini","html_url":"https://github.com/mavesonzini","followers_url":"https://api.github.com/users/mavesonzini/followers","following_url":"https://api.github.com/users/mavesonzini/following{/other_user}","gists_url":"https://api.github.com/users/mavesonzini/gists{/gist_id}","starred_url":"https://api.github.com/users/mavesonzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavesonzini/subscriptions","organizations_url":"https://api.github.com/users/mavesonzini/orgs","repos_url":"https://api.github.com/users/mavesonzini/repos","events_url":"https://api.github.com/users/mavesonzini/events{/privacy}","received_events_url":"https://api.github.com/users/mavesonzini/received_events","type":"User","site_admin":false},"repo":{"id":76167222,"name":"bowling-challenge","full_name":"mavesonzini/bowling-challenge","owner":{"login":"mavesonzini","id":11363501,"avatar_url":"https://avatars.githubusercontent.com/u/11363501?v=3","gravatar_id":"","url":"https://api.github.com/users/mavesonzini","html_url":"https://github.com/mavesonzini","followers_url":"https://api.github.com/users/mavesonzini/followers","following_url":"https://api.github.com/users/mavesonzini/following{/other_user}","gists_url":"https://api.github.com/users/mavesonzini/gists{/gist_id}","starred_url":"https://api.github.com/users/mavesonzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavesonzini/subscriptions","organizations_url":"https://api.github.com/users/mavesonzini/orgs","repos_url":"https://api.github.com/users/mavesonzini/repos","events_url":"https://api.github.com/users/mavesonzini/events{/privacy}","received_events_url":"https://api.github.com/users/mavesonzini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mavesonzini/bowling-challenge","description":"Calculate Scores for Ten Pin Bowling","fork":true,"url":"https://api.github.com/repos/mavesonzini/bowling-challenge","forks_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/forks","keys_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/teams","hooks_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/hooks","issue_events_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/events","assignees_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/tags","blobs_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/languages","stargazers_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/stargazers","contributors_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/contributors","subscribers_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/subscribers","subscription_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/subscription","commits_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/merges","archive_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/downloads","issues_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/labels{/name}","releases_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/mavesonzini/bowling-challenge/deployments","created_at":"2016-12-11T10:19:56Z","updated_at":"2016-12-11T10:33:45Z","pushed_at":"2016-12-11T19:38:10Z","git_url":"git://github.com/mavesonzini/bowling-challenge.git","ssh_url":"git@github.com:mavesonzini/bowling-challenge.git","clone_url":"https://github.com/mavesonzini/bowling-challenge.git","svn_url":"https://github.com/mavesonzini/bowling-challenge","homepage":null,"size":243,"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":"09cbc5357b36707cca04ea6150124aa87cfb094c","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}","deployments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/deployments","created_at":"2014-11-22T17:07:53Z","updated_at":"2016-10-28T17:16:11Z","pushed_at":"2016-12-11T20:10:46Z","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":89156,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":509,"mirror_url":null,"open_issues_count":146,"forks":509,"open_issues":146,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/411"},"html":{"href":"https://github.com/makersacademy/bowling-challenge/pull/411"},"issue":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/411"},"comments":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/411/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/411/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/411/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/41f22e2f68a9f6ae51f129e32f119f6887a58c03"}}}}
{"actor":{"display_login":"houndci-bot"}}