{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/56749824","id":56749824,"diff_hunk":"@@ -0,0 +1,46 @@\n+class Game\n+\n+  attr_reader :player, :comp_choice\n+\n+  def initialize(player)\n+    @player = player    \n+  end\n+\n+  def player_name\n+    @player.name\n+  end\n+\n+  def make_player_choice(choice)\n+    @player.make_choice(choice)\n+    make_comp_choice\n+  end\n+\n+  def player_choice\n+    @player.choice\n+  end\n+  \n+  def make_comp_choice\n+    @comp_choice = ['Rock', 'Paper', 'Scissors'].sample\n+  end\n+\n+  def tie?\n+    player_choice == comp_choice\n+  end\n+\n+  def player_wins?\n+    (player_choice == 'Rock' && comp_choice == 'Scissors') or\n+    (player_choice == 'Paper' && comp_choice == 'Rock') or\n+    (player_choice == 'Scissors')","path":"lib/game.rb","position":33,"original_position":33,"commit_id":"8202d0a67ad8b17ca4ba81b54b94ab6fac2eedbc","original_commit_id":"8202d0a67ad8b17ca4ba81b54b94ab6fac2eedbc","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":"Style/MultilineOperationIndentation: Use 2 (not 0) spaces for indenting an expression spanning multiple lines.","created_at":"2016-03-19T14:35:39Z","updated_at":"2016-03-19T14:35:39Z","html_url":"https://github.com/makersacademy/rps-challenge/pull/298#discussion_r56749824","pull_request_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/56749824"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/298#discussion_r56749824"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298","id":63435753,"html_url":"https://github.com/makersacademy/rps-challenge/pull/298","diff_url":"https://github.com/makersacademy/rps-challenge/pull/298.diff","patch_url":"https://github.com/makersacademy/rps-challenge/pull/298.patch","issue_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/298","number":298,"state":"open","locked":false,"title":"Early Pull Request - RPS weekend challenge","user":{"login":"kevinpmcc","id":15851529,"avatar_url":"https://avatars.githubusercontent.com/u/15851529?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpmcc","html_url":"https://github.com/kevinpmcc","followers_url":"https://api.github.com/users/kevinpmcc/followers","following_url":"https://api.github.com/users/kevinpmcc/following{/other_user}","gists_url":"https://api.github.com/users/kevinpmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpmcc/subscriptions","organizations_url":"https://api.github.com/users/kevinpmcc/orgs","repos_url":"https://api.github.com/users/kevinpmcc/repos","events_url":"https://api.github.com/users/kevinpmcc/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpmcc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-18T21:01:11Z","updated_at":"2016-03-19T14:35:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8709bace6ce7fc73e8cb180d98d5de574816a91","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298/commits","review_comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298/comments","review_comment_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/298/comments","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/8202d0a67ad8b17ca4ba81b54b94ab6fac2eedbc","head":{"label":"kevinpmcc:master","ref":"master","sha":"8202d0a67ad8b17ca4ba81b54b94ab6fac2eedbc","user":{"login":"kevinpmcc","id":15851529,"avatar_url":"https://avatars.githubusercontent.com/u/15851529?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpmcc","html_url":"https://github.com/kevinpmcc","followers_url":"https://api.github.com/users/kevinpmcc/followers","following_url":"https://api.github.com/users/kevinpmcc/following{/other_user}","gists_url":"https://api.github.com/users/kevinpmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpmcc/subscriptions","organizations_url":"https://api.github.com/users/kevinpmcc/orgs","repos_url":"https://api.github.com/users/kevinpmcc/repos","events_url":"https://api.github.com/users/kevinpmcc/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpmcc/received_events","type":"User","site_admin":false},"repo":{"id":54230241,"name":"rps-challenge","full_name":"kevinpmcc/rps-challenge","owner":{"login":"kevinpmcc","id":15851529,"avatar_url":"https://avatars.githubusercontent.com/u/15851529?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpmcc","html_url":"https://github.com/kevinpmcc","followers_url":"https://api.github.com/users/kevinpmcc/followers","following_url":"https://api.github.com/users/kevinpmcc/following{/other_user}","gists_url":"https://api.github.com/users/kevinpmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpmcc/subscriptions","organizations_url":"https://api.github.com/users/kevinpmcc/orgs","repos_url":"https://api.github.com/users/kevinpmcc/repos","events_url":"https://api.github.com/users/kevinpmcc/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpmcc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinpmcc/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":true,"url":"https://api.github.com/repos/kevinpmcc/rps-challenge","forks_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/forks","keys_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/teams","hooks_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/events","assignees_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/tags","blobs_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/subscription","commits_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/merges","archive_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/downloads","issues_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/kevinpmcc/rps-challenge/deployments","created_at":"2016-03-18T20:41:46Z","updated_at":"2016-03-18T20:41:46Z","pushed_at":"2016-03-19T14:35:36Z","git_url":"git://github.com/kevinpmcc/rps-challenge.git","ssh_url":"git@github.com:kevinpmcc/rps-challenge.git","clone_url":"https://github.com/kevinpmcc/rps-challenge.git","svn_url":"https://github.com/kevinpmcc/rps-challenge","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"bb1080ed585fc99b63404db24db754b45ade6271","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":27006066,"name":"rps-challenge","full_name":"makersacademy/rps-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/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":false,"url":"https://api.github.com/repos/makersacademy/rps-challenge","forks_url":"https://api.github.com/repos/makersacademy/rps-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/rps-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/rps-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/rps-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/rps-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/rps-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/rps-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/rps-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/rps-challenge/deployments","created_at":"2014-11-22T17:15:17Z","updated_at":"2016-02-14T15:25:38Z","pushed_at":"2016-03-19T14:35:36Z","git_url":"git://github.com/makersacademy/rps-challenge.git","ssh_url":"git@github.com:makersacademy/rps-challenge.git","clone_url":"https://github.com/makersacademy/rps-challenge.git","svn_url":"https://github.com/makersacademy/rps-challenge","homepage":null,"size":91914,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":308,"mirror_url":null,"open_issues_count":58,"forks":308,"open_issues":58,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/298"},"issue":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/298"},"comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/298/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/298/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/8202d0a67ad8b17ca4ba81b54b94ab6fac2eedbc"}}}}