{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/236219448","pull_request_review_id":178241826,"id":236219448,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjIxOTQ0OA==","diff_hunk":"@@ -0,0 +1,49 @@\n+class Game_1\n+\n+  def initialize(player1, player2)\n+    @players = [player1, player2]\n+    # @player_1_action = player_1_action\n+    # @player_2_action = player_2_action\n+  end\n+\n+  def self.create(player1, player2)\n+    @game = Game_1.new(player1, player2)\n+  end\n+\n+  def self.instance\n+    @game\n+  end\n+\n+  def player_1\n+    @players[0]\n+  end\n+\n+  def player_2\n+    @players[1]\n+  end\n+\n+  def player_1_action(choice)\n+    @result = []\n+    @result << choice\n+    choice\n+  end\n+\n+  def player_2_action(choice)\n+    @result << choice\n+    choice\n+  end\n+\n+  def check_tie\n+    return true if (@result[0] == @result[1])\n+    false\n+  end\n+\n+  def result","path":"lib/game_1.rb","position":41,"original_position":41,"commit_id":"a350788d8ca262af45f2a9e7bb5a17d31d4c6f06","original_commit_id":"a350788d8ca262af45f2a9e7bb5a17d31d4c6f06","user":{"login":"ShinyVerse","id":26259835,"node_id":"MDQ6VXNlcjI2MjU5ODM1","avatar_url":"https://avatars0.githubusercontent.com/u/26259835?v=4","gravatar_id":"","url":"https://api.github.com/users/ShinyVerse","html_url":"https://github.com/ShinyVerse","followers_url":"https://api.github.com/users/ShinyVerse/followers","following_url":"https://api.github.com/users/ShinyVerse/following{/other_user}","gists_url":"https://api.github.com/users/ShinyVerse/gists{/gist_id}","starred_url":"https://api.github.com/users/ShinyVerse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShinyVerse/subscriptions","organizations_url":"https://api.github.com/users/ShinyVerse/orgs","repos_url":"https://api.github.com/users/ShinyVerse/repos","events_url":"https://api.github.com/users/ShinyVerse/events{/privacy}","received_events_url":"https://api.github.com/users/ShinyVerse/received_events","type":"User","site_admin":false},"body":"Result function was easy to read for where it's at now, but could probably not be expanded upon easily.","created_at":"2018-11-26T11:38:02Z","updated_at":"2018-11-26T11:44:12Z","html_url":"https://github.com/makersacademy/rps-challenge/pull/1128#discussion_r236219448","pull_request_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/1128","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/236219448"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/1128#discussion_r236219448"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/1128"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/1128","id":231838265,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxODM4MjY1","html_url":"https://github.com/makersacademy/rps-challenge/pull/1128","diff_url":"https://github.com/makersacademy/rps-challenge/pull/1128.diff","patch_url":"https://github.com/makersacademy/rps-challenge/pull/1128.patch","issue_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/1128","number":1128,"state":"open","locked":false,"title":"challenge completed","user":{"login":"EllyChanx","id":43438111,"node_id":"MDQ6VXNlcjQzNDM4MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/43438111?v=4","gravatar_id":"","url":"https://api.github.com/users/EllyChanx","html_url":"https://github.com/EllyChanx","followers_url":"https://api.github.com/users/EllyChanx/followers","following_url":"https://api.github.com/users/EllyChanx/following{/other_user}","gists_url":"https://api.github.com/users/EllyChanx/gists{/gist_id}","starred_url":"https://api.github.com/users/EllyChanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EllyChanx/subscriptions","organizations_url":"https://api.github.com/users/EllyChanx/orgs","repos_url":"https://api.github.com/users/EllyChanx/repos","events_url":"https://api.github.com/users/EllyChanx/events{/privacy}","received_events_url":"https://api.github.com/users/EllyChanx/received_events","type":"User","site_admin":false},"body":"This repo only has 1 time commit since I performed the task without forking this original repo.\r\nFor previous commit and change record, please see:\r\nhttps://github.com/EllyChanx/RPS_Challenge","created_at":"2018-11-19T02:41:42Z","updated_at":"2018-11-26T11:44:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78d0a52a72186cb18797c82e69faea329ace7b9b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/1128/commits","review_comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/1128/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/1128/comments","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/a350788d8ca262af45f2a9e7bb5a17d31d4c6f06","head":{"label":"EllyChanx:master","ref":"master","sha":"a350788d8ca262af45f2a9e7bb5a17d31d4c6f06","user":{"login":"EllyChanx","id":43438111,"node_id":"MDQ6VXNlcjQzNDM4MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/43438111?v=4","gravatar_id":"","url":"https://api.github.com/users/EllyChanx","html_url":"https://github.com/EllyChanx","followers_url":"https://api.github.com/users/EllyChanx/followers","following_url":"https://api.github.com/users/EllyChanx/following{/other_user}","gists_url":"https://api.github.com/users/EllyChanx/gists{/gist_id}","starred_url":"https://api.github.com/users/EllyChanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EllyChanx/subscriptions","organizations_url":"https://api.github.com/users/EllyChanx/orgs","repos_url":"https://api.github.com/users/EllyChanx/repos","events_url":"https://api.github.com/users/EllyChanx/events{/privacy}","received_events_url":"https://api.github.com/users/EllyChanx/received_events","type":"User","site_admin":false},"repo":{"id":158150148,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgxNTAxNDg=","name":"rps-challenge","full_name":"EllyChanx/rps-challenge","private":false,"owner":{"login":"EllyChanx","id":43438111,"node_id":"MDQ6VXNlcjQzNDM4MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/43438111?v=4","gravatar_id":"","url":"https://api.github.com/users/EllyChanx","html_url":"https://github.com/EllyChanx","followers_url":"https://api.github.com/users/EllyChanx/followers","following_url":"https://api.github.com/users/EllyChanx/following{/other_user}","gists_url":"https://api.github.com/users/EllyChanx/gists{/gist_id}","starred_url":"https://api.github.com/users/EllyChanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EllyChanx/subscriptions","organizations_url":"https://api.github.com/users/EllyChanx/orgs","repos_url":"https://api.github.com/users/EllyChanx/repos","events_url":"https://api.github.com/users/EllyChanx/events{/privacy}","received_events_url":"https://api.github.com/users/EllyChanx/received_events","type":"User","site_admin":false},"html_url":"https://github.com/EllyChanx/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":true,"url":"https://api.github.com/repos/EllyChanx/rps-challenge","forks_url":"https://api.github.com/repos/EllyChanx/rps-challenge/forks","keys_url":"https://api.github.com/repos/EllyChanx/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EllyChanx/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EllyChanx/rps-challenge/teams","hooks_url":"https://api.github.com/repos/EllyChanx/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/EllyChanx/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/EllyChanx/rps-challenge/events","assignees_url":"https://api.github.com/repos/EllyChanx/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/EllyChanx/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/EllyChanx/rps-challenge/tags","blobs_url":"https://api.github.com/repos/EllyChanx/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EllyChanx/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EllyChanx/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/EllyChanx/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EllyChanx/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/EllyChanx/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/EllyChanx/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/EllyChanx/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/EllyChanx/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/EllyChanx/rps-challenge/subscription","commits_url":"https://api.github.com/repos/EllyChanx/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/EllyChanx/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/EllyChanx/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/EllyChanx/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/EllyChanx/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/EllyChanx/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EllyChanx/rps-challenge/merges","archive_url":"https://api.github.com/repos/EllyChanx/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EllyChanx/rps-challenge/downloads","issues_url":"https://api.github.com/repos/EllyChanx/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/EllyChanx/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/EllyChanx/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/EllyChanx/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EllyChanx/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/EllyChanx/rps-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/EllyChanx/rps-challenge/deployments","created_at":"2018-11-19T02:22:54Z","updated_at":"2018-11-19T02:39:42Z","pushed_at":"2018-11-19T02:39:41Z","git_url":"git://github.com/EllyChanx/rps-challenge.git","ssh_url":"git@github.com:EllyChanx/rps-challenge.git","clone_url":"https://github.com/EllyChanx/rps-challenge.git","svn_url":"https://github.com/EllyChanx/rps-challenge","homepage":null,"size":466,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"a65f8c4fde946f4570fdba64d41a5bcb00659096","user":{"login":"makersacademy","id":3636186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzYxODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3636186?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyNzAwNjA2Ng==","name":"rps-challenge","full_name":"makersacademy/rps-challenge","private":false,"owner":{"login":"makersacademy","id":3636186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzYxODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3636186?v=4","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},"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":"2018-05-21T09:42:41Z","pushed_at":"2018-11-25T23:17:11Z","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":73,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1103,"mirror_url":null,"archived":false,"open_issues_count":118,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1103,"open_issues":118,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/1128"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/1128"},"issue":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/1128"},"comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/1128/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/1128/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/1128/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/a350788d8ca262af45f2a9e7bb5a17d31d4c6f06"}},"author_association":"NONE"}}
{"actor":{"display_login":"ShinyVerse"}}