{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/comments/119094045","pull_request_review_id":40942229,"id":119094045,"diff_hunk":"@@ -3,3 +3,89 @@\n suits = [ \"hearts\", \"spades\", \"clubs\", \"diamonds\" ]\n \n players = []\n+deck = ranks.product(suits).shuffle!\n+\n+class Player\n+    attr_reader :card, :name\n+    @@player_count = []\n+    def initialize player_name\n+        @name = player_name\n+        @card = []\n+        @@player_count.push({name: \"#{@name}\"})\n+    end\n+\n+    def self.total_players\n+        \"#{@@player_count}\"\n+    end\n+\n+    def deal_cards deck\n+        @card = deck.sample\n+    end\n+end\n+\n+class Game < Player","path":"high_card.rb","position":24,"original_position":24,"commit_id":"e2b617f5dec11e9bfc9f83fd31d9cd70780f06f2","original_commit_id":"e2b617f5dec11e9bfc9f83fd31d9cd70780f06f2","user":{"login":"superbuggy","id":17716232,"avatar_url":"https://avatars1.githubusercontent.com/u/17716232?v=3","gravatar_id":"","url":"https://api.github.com/users/superbuggy","html_url":"https://github.com/superbuggy","followers_url":"https://api.github.com/users/superbuggy/followers","following_url":"https://api.github.com/users/superbuggy/following{/other_user}","gists_url":"https://api.github.com/users/superbuggy/gists{/gist_id}","starred_url":"https://api.github.com/users/superbuggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superbuggy/subscriptions","organizations_url":"https://api.github.com/users/superbuggy/orgs","repos_url":"https://api.github.com/users/superbuggy/repos","events_url":"https://api.github.com/users/superbuggy/events{/privacy}","received_events_url":"https://api.github.com/users/superbuggy/received_events","type":"User","site_admin":false},"body":"I'm not sure I would have Game inherit from Player. A Game would have a player name...","created_at":"2017-05-30T13:11:03Z","updated_at":"2017-05-30T13:12:53Z","html_url":"https://github.com/ga-wdi-exercises/high_card/pull/312#discussion_r119094045","pull_request_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/comments/119094045"},"html":{"href":"https://github.com/ga-wdi-exercises/high_card/pull/312#discussion_r119094045"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312","id":122426517,"html_url":"https://github.com/ga-wdi-exercises/high_card/pull/312","diff_url":"https://github.com/ga-wdi-exercises/high_card/pull/312.diff","patch_url":"https://github.com/ga-wdi-exercises/high_card/pull/312.patch","issue_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/312","number":312,"state":"open","locked":false,"title":"robert_lowe_solution","user":{"login":"RobLowe1992","id":21325472,"avatar_url":"https://avatars2.githubusercontent.com/u/21325472?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLowe1992","html_url":"https://github.com/RobLowe1992","followers_url":"https://api.github.com/users/RobLowe1992/followers","following_url":"https://api.github.com/users/RobLowe1992/following{/other_user}","gists_url":"https://api.github.com/users/RobLowe1992/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLowe1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLowe1992/subscriptions","organizations_url":"https://api.github.com/users/RobLowe1992/orgs","repos_url":"https://api.github.com/users/RobLowe1992/repos","events_url":"https://api.github.com/users/RobLowe1992/events{/privacy}","received_events_url":"https://api.github.com/users/RobLowe1992/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-25T12:00:53Z","updated_at":"2017-05-30T13:12:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0bf9cd3eed85b2695c99aa464ff20c0d41c4c08","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/312/comments","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/statuses/e2b617f5dec11e9bfc9f83fd31d9cd70780f06f2","head":{"label":"RobLowe1992:robert_lowe_solution","ref":"robert_lowe_solution","sha":"e2b617f5dec11e9bfc9f83fd31d9cd70780f06f2","user":{"login":"RobLowe1992","id":21325472,"avatar_url":"https://avatars2.githubusercontent.com/u/21325472?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLowe1992","html_url":"https://github.com/RobLowe1992","followers_url":"https://api.github.com/users/RobLowe1992/followers","following_url":"https://api.github.com/users/RobLowe1992/following{/other_user}","gists_url":"https://api.github.com/users/RobLowe1992/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLowe1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLowe1992/subscriptions","organizations_url":"https://api.github.com/users/RobLowe1992/orgs","repos_url":"https://api.github.com/users/RobLowe1992/repos","events_url":"https://api.github.com/users/RobLowe1992/events{/privacy}","received_events_url":"https://api.github.com/users/RobLowe1992/received_events","type":"User","site_admin":false},"repo":{"id":92399014,"name":"high_card","full_name":"RobLowe1992/high_card","owner":{"login":"RobLowe1992","id":21325472,"avatar_url":"https://avatars2.githubusercontent.com/u/21325472?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLowe1992","html_url":"https://github.com/RobLowe1992","followers_url":"https://api.github.com/users/RobLowe1992/followers","following_url":"https://api.github.com/users/RobLowe1992/following{/other_user}","gists_url":"https://api.github.com/users/RobLowe1992/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLowe1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLowe1992/subscriptions","organizations_url":"https://api.github.com/users/RobLowe1992/orgs","repos_url":"https://api.github.com/users/RobLowe1992/repos","events_url":"https://api.github.com/users/RobLowe1992/events{/privacy}","received_events_url":"https://api.github.com/users/RobLowe1992/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RobLowe1992/high_card","description":"[basics, ruby]","fork":true,"url":"https://api.github.com/repos/RobLowe1992/high_card","forks_url":"https://api.github.com/repos/RobLowe1992/high_card/forks","keys_url":"https://api.github.com/repos/RobLowe1992/high_card/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RobLowe1992/high_card/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RobLowe1992/high_card/teams","hooks_url":"https://api.github.com/repos/RobLowe1992/high_card/hooks","issue_events_url":"https://api.github.com/repos/RobLowe1992/high_card/issues/events{/number}","events_url":"https://api.github.com/repos/RobLowe1992/high_card/events","assignees_url":"https://api.github.com/repos/RobLowe1992/high_card/assignees{/user}","branches_url":"https://api.github.com/repos/RobLowe1992/high_card/branches{/branch}","tags_url":"https://api.github.com/repos/RobLowe1992/high_card/tags","blobs_url":"https://api.github.com/repos/RobLowe1992/high_card/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RobLowe1992/high_card/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RobLowe1992/high_card/git/refs{/sha}","trees_url":"https://api.github.com/repos/RobLowe1992/high_card/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RobLowe1992/high_card/statuses/{sha}","languages_url":"https://api.github.com/repos/RobLowe1992/high_card/languages","stargazers_url":"https://api.github.com/repos/RobLowe1992/high_card/stargazers","contributors_url":"https://api.github.com/repos/RobLowe1992/high_card/contributors","subscribers_url":"https://api.github.com/repos/RobLowe1992/high_card/subscribers","subscription_url":"https://api.github.com/repos/RobLowe1992/high_card/subscription","commits_url":"https://api.github.com/repos/RobLowe1992/high_card/commits{/sha}","git_commits_url":"https://api.github.com/repos/RobLowe1992/high_card/git/commits{/sha}","comments_url":"https://api.github.com/repos/RobLowe1992/high_card/comments{/number}","issue_comment_url":"https://api.github.com/repos/RobLowe1992/high_card/issues/comments{/number}","contents_url":"https://api.github.com/repos/RobLowe1992/high_card/contents/{+path}","compare_url":"https://api.github.com/repos/RobLowe1992/high_card/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RobLowe1992/high_card/merges","archive_url":"https://api.github.com/repos/RobLowe1992/high_card/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RobLowe1992/high_card/downloads","issues_url":"https://api.github.com/repos/RobLowe1992/high_card/issues{/number}","pulls_url":"https://api.github.com/repos/RobLowe1992/high_card/pulls{/number}","milestones_url":"https://api.github.com/repos/RobLowe1992/high_card/milestones{/number}","notifications_url":"https://api.github.com/repos/RobLowe1992/high_card/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RobLowe1992/high_card/labels{/name}","releases_url":"https://api.github.com/repos/RobLowe1992/high_card/releases{/id}","deployments_url":"https://api.github.com/repos/RobLowe1992/high_card/deployments","created_at":"2017-05-25T11:57:53Z","updated_at":"2017-05-25T11:57:54Z","pushed_at":"2017-05-25T12:00:26Z","git_url":"git://github.com/RobLowe1992/high_card.git","ssh_url":"git@github.com:RobLowe1992/high_card.git","clone_url":"https://github.com/RobLowe1992/high_card.git","svn_url":"https://github.com/RobLowe1992/high_card","homepage":"","size":11,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-wdi-exercises:master","ref":"master","sha":"35172d0166eea7fe9ea3df2814d98c2f70b7c972","user":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars1.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":37595801,"name":"high_card","full_name":"ga-wdi-exercises/high_card","owner":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars1.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-exercises/high_card","description":"[basics, ruby]","fork":false,"url":"https://api.github.com/repos/ga-wdi-exercises/high_card","forks_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/forks","keys_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/teams","hooks_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/events","assignees_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/tags","blobs_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/subscription","commits_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/merges","archive_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/downloads","issues_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/deployments","created_at":"2015-06-17T13:13:34Z","updated_at":"2017-04-20T14:47:52Z","pushed_at":"2017-05-25T16:05:44Z","git_url":"git://github.com/ga-wdi-exercises/high_card.git","ssh_url":"git@github.com:ga-wdi-exercises/high_card.git","clone_url":"https://github.com/ga-wdi-exercises/high_card.git","svn_url":"https://github.com/ga-wdi-exercises/high_card","homepage":"","size":712,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":301,"mirror_url":null,"open_issues_count":26,"forks":301,"open_issues":26,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312"},"html":{"href":"https://github.com/ga-wdi-exercises/high_card/pull/312"},"issue":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/312"},"comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/statuses/e2b617f5dec11e9bfc9f83fd31d9cd70780f06f2"}}}}
{"actor":{"display_login":"superbuggy"}}