{"action":"created","comment":{"url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/comments/26437890","id":26437890,"diff_hunk":"@@ -250,6 +272,56 @@ describe('Eclipse battle simulator', function () {\n           expect(inBounds(result, 0, 50)).toBe(true);\n         });\n       });\n+\n+      describe('testing missile rockets', function () {\n+        it('attacker should win more often if it has missiles', function () {\n+          attackerFleet[0].guns.push({damage: 1, missile: true});\n+          var result = eclipseSim.main(attackerFleet, defenderFleet, numberOfSimulations);\n+          expect(inBounds(result, 50, 100)).toBe(true);\n+        });\n+\n+        it('defender should win more often if it has missiles and lower initiative', function () {","path":"specs.js","position":82,"original_position":82,"commit_id":"e6e91c2796272f8a68d4bb5e8f86368e58e15860","original_commit_id":"e6e91c2796272f8a68d4bb5e8f86368e58e15860","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2015-03-14T13:35:07Z","updated_at":"2015-03-14T13:35:07Z","html_url":"https://github.com/boardgaming/sun-tzu/pull/33#discussion_r26437890","pull_request_url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/comments/26437890"},"html":{"href":"https://github.com/boardgaming/sun-tzu/pull/33#discussion_r26437890"},"pull_request":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33","id":31183507,"html_url":"https://github.com/boardgaming/sun-tzu/pull/33","diff_url":"https://github.com/boardgaming/sun-tzu/pull/33.diff","patch_url":"https://github.com/boardgaming/sun-tzu/pull/33.patch","issue_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/33","number":33,"state":"open","locked":false,"title":"23 missiles","user":{"login":"octocrux","id":2687551,"avatar_url":"https://avatars.githubusercontent.com/u/2687551?v=3","gravatar_id":"","url":"https://api.github.com/users/octocrux","html_url":"https://github.com/octocrux","followers_url":"https://api.github.com/users/octocrux/followers","following_url":"https://api.github.com/users/octocrux/following{/other_user}","gists_url":"https://api.github.com/users/octocrux/gists{/gist_id}","starred_url":"https://api.github.com/users/octocrux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octocrux/subscriptions","organizations_url":"https://api.github.com/users/octocrux/orgs","repos_url":"https://api.github.com/users/octocrux/repos","events_url":"https://api.github.com/users/octocrux/events{/privacy}","received_events_url":"https://api.github.com/users/octocrux/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-14T13:35:03Z","updated_at":"2015-03-14T13:35:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eec5869b398d755c4869951c89e7b34e047743f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33/commits","review_comments_url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33/comments","review_comment_url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/33/comments","statuses_url":"https://api.github.com/repos/boardgaming/sun-tzu/statuses/e6e91c2796272f8a68d4bb5e8f86368e58e15860","head":{"label":"boardgaming:23_missiles","ref":"23_missiles","sha":"e6e91c2796272f8a68d4bb5e8f86368e58e15860","user":{"login":"boardgaming","id":11175380,"avatar_url":"https://avatars.githubusercontent.com/u/11175380?v=3","gravatar_id":"","url":"https://api.github.com/users/boardgaming","html_url":"https://github.com/boardgaming","followers_url":"https://api.github.com/users/boardgaming/followers","following_url":"https://api.github.com/users/boardgaming/following{/other_user}","gists_url":"https://api.github.com/users/boardgaming/gists{/gist_id}","starred_url":"https://api.github.com/users/boardgaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boardgaming/subscriptions","organizations_url":"https://api.github.com/users/boardgaming/orgs","repos_url":"https://api.github.com/users/boardgaming/repos","events_url":"https://api.github.com/users/boardgaming/events{/privacy}","received_events_url":"https://api.github.com/users/boardgaming/received_events","type":"Organization","site_admin":false},"repo":{"id":31257662,"name":"sun-tzu","full_name":"boardgaming/sun-tzu","owner":{"login":"boardgaming","id":11175380,"avatar_url":"https://avatars.githubusercontent.com/u/11175380?v=3","gravatar_id":"","url":"https://api.github.com/users/boardgaming","html_url":"https://github.com/boardgaming","followers_url":"https://api.github.com/users/boardgaming/followers","following_url":"https://api.github.com/users/boardgaming/following{/other_user}","gists_url":"https://api.github.com/users/boardgaming/gists{/gist_id}","starred_url":"https://api.github.com/users/boardgaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boardgaming/subscriptions","organizations_url":"https://api.github.com/users/boardgaming/orgs","repos_url":"https://api.github.com/users/boardgaming/repos","events_url":"https://api.github.com/users/boardgaming/events{/privacy}","received_events_url":"https://api.github.com/users/boardgaming/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/boardgaming/sun-tzu","description":"","fork":false,"url":"https://api.github.com/repos/boardgaming/sun-tzu","forks_url":"https://api.github.com/repos/boardgaming/sun-tzu/forks","keys_url":"https://api.github.com/repos/boardgaming/sun-tzu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boardgaming/sun-tzu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boardgaming/sun-tzu/teams","hooks_url":"https://api.github.com/repos/boardgaming/sun-tzu/hooks","issue_events_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/events{/number}","events_url":"https://api.github.com/repos/boardgaming/sun-tzu/events","assignees_url":"https://api.github.com/repos/boardgaming/sun-tzu/assignees{/user}","branches_url":"https://api.github.com/repos/boardgaming/sun-tzu/branches{/branch}","tags_url":"https://api.github.com/repos/boardgaming/sun-tzu/tags","blobs_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/refs{/sha}","trees_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boardgaming/sun-tzu/statuses/{sha}","languages_url":"https://api.github.com/repos/boardgaming/sun-tzu/languages","stargazers_url":"https://api.github.com/repos/boardgaming/sun-tzu/stargazers","contributors_url":"https://api.github.com/repos/boardgaming/sun-tzu/contributors","subscribers_url":"https://api.github.com/repos/boardgaming/sun-tzu/subscribers","subscription_url":"https://api.github.com/repos/boardgaming/sun-tzu/subscription","commits_url":"https://api.github.com/repos/boardgaming/sun-tzu/commits{/sha}","git_commits_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/commits{/sha}","comments_url":"https://api.github.com/repos/boardgaming/sun-tzu/comments{/number}","issue_comment_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/comments{/number}","contents_url":"https://api.github.com/repos/boardgaming/sun-tzu/contents/{+path}","compare_url":"https://api.github.com/repos/boardgaming/sun-tzu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boardgaming/sun-tzu/merges","archive_url":"https://api.github.com/repos/boardgaming/sun-tzu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boardgaming/sun-tzu/downloads","issues_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues{/number}","pulls_url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls{/number}","milestones_url":"https://api.github.com/repos/boardgaming/sun-tzu/milestones{/number}","notifications_url":"https://api.github.com/repos/boardgaming/sun-tzu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boardgaming/sun-tzu/labels{/name}","releases_url":"https://api.github.com/repos/boardgaming/sun-tzu/releases{/id}","created_at":"2015-02-24T11:46:25Z","updated_at":"2015-03-10T19:11:56Z","pushed_at":"2015-03-14T13:33:45Z","git_url":"git://github.com/boardgaming/sun-tzu.git","ssh_url":"git@github.com:boardgaming/sun-tzu.git","clone_url":"https://github.com/boardgaming/sun-tzu.git","svn_url":"https://github.com/boardgaming/sun-tzu","homepage":null,"size":352,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"boardgaming:master","ref":"master","sha":"e3cae83feb40a26f26f07df157151f9345dbc325","user":{"login":"boardgaming","id":11175380,"avatar_url":"https://avatars.githubusercontent.com/u/11175380?v=3","gravatar_id":"","url":"https://api.github.com/users/boardgaming","html_url":"https://github.com/boardgaming","followers_url":"https://api.github.com/users/boardgaming/followers","following_url":"https://api.github.com/users/boardgaming/following{/other_user}","gists_url":"https://api.github.com/users/boardgaming/gists{/gist_id}","starred_url":"https://api.github.com/users/boardgaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boardgaming/subscriptions","organizations_url":"https://api.github.com/users/boardgaming/orgs","repos_url":"https://api.github.com/users/boardgaming/repos","events_url":"https://api.github.com/users/boardgaming/events{/privacy}","received_events_url":"https://api.github.com/users/boardgaming/received_events","type":"Organization","site_admin":false},"repo":{"id":31257662,"name":"sun-tzu","full_name":"boardgaming/sun-tzu","owner":{"login":"boardgaming","id":11175380,"avatar_url":"https://avatars.githubusercontent.com/u/11175380?v=3","gravatar_id":"","url":"https://api.github.com/users/boardgaming","html_url":"https://github.com/boardgaming","followers_url":"https://api.github.com/users/boardgaming/followers","following_url":"https://api.github.com/users/boardgaming/following{/other_user}","gists_url":"https://api.github.com/users/boardgaming/gists{/gist_id}","starred_url":"https://api.github.com/users/boardgaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boardgaming/subscriptions","organizations_url":"https://api.github.com/users/boardgaming/orgs","repos_url":"https://api.github.com/users/boardgaming/repos","events_url":"https://api.github.com/users/boardgaming/events{/privacy}","received_events_url":"https://api.github.com/users/boardgaming/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/boardgaming/sun-tzu","description":"","fork":false,"url":"https://api.github.com/repos/boardgaming/sun-tzu","forks_url":"https://api.github.com/repos/boardgaming/sun-tzu/forks","keys_url":"https://api.github.com/repos/boardgaming/sun-tzu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boardgaming/sun-tzu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boardgaming/sun-tzu/teams","hooks_url":"https://api.github.com/repos/boardgaming/sun-tzu/hooks","issue_events_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/events{/number}","events_url":"https://api.github.com/repos/boardgaming/sun-tzu/events","assignees_url":"https://api.github.com/repos/boardgaming/sun-tzu/assignees{/user}","branches_url":"https://api.github.com/repos/boardgaming/sun-tzu/branches{/branch}","tags_url":"https://api.github.com/repos/boardgaming/sun-tzu/tags","blobs_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/refs{/sha}","trees_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boardgaming/sun-tzu/statuses/{sha}","languages_url":"https://api.github.com/repos/boardgaming/sun-tzu/languages","stargazers_url":"https://api.github.com/repos/boardgaming/sun-tzu/stargazers","contributors_url":"https://api.github.com/repos/boardgaming/sun-tzu/contributors","subscribers_url":"https://api.github.com/repos/boardgaming/sun-tzu/subscribers","subscription_url":"https://api.github.com/repos/boardgaming/sun-tzu/subscription","commits_url":"https://api.github.com/repos/boardgaming/sun-tzu/commits{/sha}","git_commits_url":"https://api.github.com/repos/boardgaming/sun-tzu/git/commits{/sha}","comments_url":"https://api.github.com/repos/boardgaming/sun-tzu/comments{/number}","issue_comment_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues/comments{/number}","contents_url":"https://api.github.com/repos/boardgaming/sun-tzu/contents/{+path}","compare_url":"https://api.github.com/repos/boardgaming/sun-tzu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boardgaming/sun-tzu/merges","archive_url":"https://api.github.com/repos/boardgaming/sun-tzu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boardgaming/sun-tzu/downloads","issues_url":"https://api.github.com/repos/boardgaming/sun-tzu/issues{/number}","pulls_url":"https://api.github.com/repos/boardgaming/sun-tzu/pulls{/number}","milestones_url":"https://api.github.com/repos/boardgaming/sun-tzu/milestones{/number}","notifications_url":"https://api.github.com/repos/boardgaming/sun-tzu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boardgaming/sun-tzu/labels{/name}","releases_url":"https://api.github.com/repos/boardgaming/sun-tzu/releases{/id}","created_at":"2015-02-24T11:46:25Z","updated_at":"2015-03-10T19:11:56Z","pushed_at":"2015-03-14T13:33:45Z","git_url":"git://github.com/boardgaming/sun-tzu.git","ssh_url":"git@github.com:boardgaming/sun-tzu.git","clone_url":"https://github.com/boardgaming/sun-tzu.git","svn_url":"https://github.com/boardgaming/sun-tzu","homepage":null,"size":352,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33"},"html":{"href":"https://github.com/boardgaming/sun-tzu/pull/33"},"issue":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/issues/33"},"comments":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/boardgaming/sun-tzu/statuses/e6e91c2796272f8a68d4bb5e8f86368e58e15860"}}}}