{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/comments/55845707","id":55845707,"diff_hunk":"@@ -1,5 +1,87 @@\n # Use these two arrays to generate a deck of cards.\n ranks = [\"A\", 2, 3, 4, 5, 6, 7, 8, 9, 10, \"J\", \"Q\", \"K\" ]\n suits = [ \"hearts\", \"spades\", \"clubs\", \"diamonds\" ]\n-\n players = []\n+#extra if you'd like to create your players\n+# class Person\n+#   def initialize(name, gender, age)\n+#     @name = name\n+#     @gender = gender\n+#     @age = age\n+#   end\n+# end\n+\n+\n+class HighCard\n+  def initialize(ranks, suits, players)\n+    @ranks = ranks\n+    @suits = suits\n+    @players = players\n+    @deck = []\n+    @winner = []\n+    @win = 0\n+    @highValue = []\n+    @cards\n+  end\n+\n+  def shuffleDeck()","path":"high_card.rb","position":28,"original_position":28,"commit_id":"fc85d6dc64871c3e244fe4d7190026b6762b7308","original_commit_id":"fc85d6dc64871c3e244fe4d7190026b6762b7308","user":{"login":"jshawl","id":3824954,"avatar_url":"https://avatars.githubusercontent.com/u/3824954?v=3","gravatar_id":"","url":"https://api.github.com/users/jshawl","html_url":"https://github.com/jshawl","followers_url":"https://api.github.com/users/jshawl/followers","following_url":"https://api.github.com/users/jshawl/following{/other_user}","gists_url":"https://api.github.com/users/jshawl/gists{/gist_id}","starred_url":"https://api.github.com/users/jshawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshawl/subscriptions","organizations_url":"https://api.github.com/users/jshawl/orgs","repos_url":"https://api.github.com/users/jshawl/repos","events_url":"https://api.github.com/users/jshawl/events{/privacy}","received_events_url":"https://api.github.com/users/jshawl/received_events","type":"User","site_admin":false},"body":"usually I leave out parens if there are no arguments","created_at":"2016-03-11T15:43:51Z","updated_at":"2016-03-11T15:43:51Z","html_url":"https://github.com/ga-wdi-exercises/high_card/pull/113#discussion_r55845707","pull_request_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/comments/55845707"},"html":{"href":"https://github.com/ga-wdi-exercises/high_card/pull/113#discussion_r55845707"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/113","id":62119242,"html_url":"https://github.com/ga-wdi-exercises/high_card/pull/113","diff_url":"https://github.com/ga-wdi-exercises/high_card/pull/113.diff","patch_url":"https://github.com/ga-wdi-exercises/high_card/pull/113.patch","issue_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/113","number":113,"state":"open","locked":false,"title":"done in classes","user":{"login":"Crunchwrap78","id":14954458,"avatar_url":"https://avatars.githubusercontent.com/u/14954458?v=3","gravatar_id":"","url":"https://api.github.com/users/Crunchwrap78","html_url":"https://github.com/Crunchwrap78","followers_url":"https://api.github.com/users/Crunchwrap78/followers","following_url":"https://api.github.com/users/Crunchwrap78/following{/other_user}","gists_url":"https://api.github.com/users/Crunchwrap78/gists{/gist_id}","starred_url":"https://api.github.com/users/Crunchwrap78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crunchwrap78/subscriptions","organizations_url":"https://api.github.com/users/Crunchwrap78/orgs","repos_url":"https://api.github.com/users/Crunchwrap78/repos","events_url":"https://api.github.com/users/Crunchwrap78/events{/privacy}","received_events_url":"https://api.github.com/users/Crunchwrap78/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-08T19:05:53Z","updated_at":"2016-03-11T15:43:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88f71bf2499de690f6bfec2a68a99c6710b38d26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/113/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/113/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/113/comments","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/high_card/statuses/fc85d6dc64871c3e244fe4d7190026b6762b7308","head":{"label":"Crunchwrap78:Isaac_solution","ref":"Isaac_solution","sha":"fc85d6dc64871c3e244fe4d7190026b6762b7308","user":{"login":"Crunchwrap78","id":14954458,"avatar_url":"https://avatars.githubusercontent.com/u/14954458?v=3","gravatar_id":"","url":"https://api.github.com/users/Crunchwrap78","html_url":"https://github.com/Crunchwrap78","followers_url":"https://api.github.com/users/Crunchwrap78/followers","following_url":"https://api.github.com/users/Crunchwrap78/following{/other_user}","gists_url":"https://api.github.com/users/Crunchwrap78/gists{/gist_id}","starred_url":"https://api.github.com/users/Crunchwrap78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crunchwrap78/subscriptions","organizations_url":"https://api.github.com/users/Crunchwrap78/orgs","repos_url":"https://api.github.com/users/Crunchwrap78/repos","events_url":"https://api.github.com/users/Crunchwrap78/events{/privacy}","received_events_url":"https://api.github.com/users/Crunchwrap78/received_events","type":"User","site_admin":false},"repo":{"id":53345716,"name":"high_card","full_name":"Crunchwrap78/high_card","owner":{"login":"Crunchwrap78","id":14954458,"avatar_url":"https://avatars.githubusercontent.com/u/14954458?v=3","gravatar_id":"","url":"https://api.github.com/users/Crunchwrap78","html_url":"https://github.com/Crunchwrap78","followers_url":"https://api.github.com/users/Crunchwrap78/followers","following_url":"https://api.github.com/users/Crunchwrap78/following{/other_user}","gists_url":"https://api.github.com/users/Crunchwrap78/gists{/gist_id}","starred_url":"https://api.github.com/users/Crunchwrap78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crunchwrap78/subscriptions","organizations_url":"https://api.github.com/users/Crunchwrap78/orgs","repos_url":"https://api.github.com/users/Crunchwrap78/repos","events_url":"https://api.github.com/users/Crunchwrap78/events{/privacy}","received_events_url":"https://api.github.com/users/Crunchwrap78/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Crunchwrap78/high_card","description":"[basics, ruby]","fork":true,"url":"https://api.github.com/repos/Crunchwrap78/high_card","forks_url":"https://api.github.com/repos/Crunchwrap78/high_card/forks","keys_url":"https://api.github.com/repos/Crunchwrap78/high_card/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Crunchwrap78/high_card/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Crunchwrap78/high_card/teams","hooks_url":"https://api.github.com/repos/Crunchwrap78/high_card/hooks","issue_events_url":"https://api.github.com/repos/Crunchwrap78/high_card/issues/events{/number}","events_url":"https://api.github.com/repos/Crunchwrap78/high_card/events","assignees_url":"https://api.github.com/repos/Crunchwrap78/high_card/assignees{/user}","branches_url":"https://api.github.com/repos/Crunchwrap78/high_card/branches{/branch}","tags_url":"https://api.github.com/repos/Crunchwrap78/high_card/tags","blobs_url":"https://api.github.com/repos/Crunchwrap78/high_card/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Crunchwrap78/high_card/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Crunchwrap78/high_card/git/refs{/sha}","trees_url":"https://api.github.com/repos/Crunchwrap78/high_card/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Crunchwrap78/high_card/statuses/{sha}","languages_url":"https://api.github.com/repos/Crunchwrap78/high_card/languages","stargazers_url":"https://api.github.com/repos/Crunchwrap78/high_card/stargazers","contributors_url":"https://api.github.com/repos/Crunchwrap78/high_card/contributors","subscribers_url":"https://api.github.com/repos/Crunchwrap78/high_card/subscribers","subscription_url":"https://api.github.com/repos/Crunchwrap78/high_card/subscription","commits_url":"https://api.github.com/repos/Crunchwrap78/high_card/commits{/sha}","git_commits_url":"https://api.github.com/repos/Crunchwrap78/high_card/git/commits{/sha}","comments_url":"https://api.github.com/repos/Crunchwrap78/high_card/comments{/number}","issue_comment_url":"https://api.github.com/repos/Crunchwrap78/high_card/issues/comments{/number}","contents_url":"https://api.github.com/repos/Crunchwrap78/high_card/contents/{+path}","compare_url":"https://api.github.com/repos/Crunchwrap78/high_card/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Crunchwrap78/high_card/merges","archive_url":"https://api.github.com/repos/Crunchwrap78/high_card/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Crunchwrap78/high_card/downloads","issues_url":"https://api.github.com/repos/Crunchwrap78/high_card/issues{/number}","pulls_url":"https://api.github.com/repos/Crunchwrap78/high_card/pulls{/number}","milestones_url":"https://api.github.com/repos/Crunchwrap78/high_card/milestones{/number}","notifications_url":"https://api.github.com/repos/Crunchwrap78/high_card/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Crunchwrap78/high_card/labels{/name}","releases_url":"https://api.github.com/repos/Crunchwrap78/high_card/releases{/id}","deployments_url":"https://api.github.com/repos/Crunchwrap78/high_card/deployments","created_at":"2016-03-07T17:43:07Z","updated_at":"2016-03-07T17:43:08Z","pushed_at":"2016-03-08T19:00:06Z","git_url":"git://github.com/Crunchwrap78/high_card.git","ssh_url":"git@github.com:Crunchwrap78/high_card.git","clone_url":"https://github.com/Crunchwrap78/high_card.git","svn_url":"https://github.com/Crunchwrap78/high_card","homepage":"","size":5,"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":"ga-wdi-exercises:master","ref":"master","sha":"886c2ce0de7acb4d76c894ff2cd12c001e5b07dc","user":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.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://avatars.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":"2016-02-02T23:46:50Z","pushed_at":"2016-03-10T20:42:34Z","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":166,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":31,"forks":127,"open_issues":31,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/113"},"html":{"href":"https://github.com/ga-wdi-exercises/high_card/pull/113"},"issue":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/113"},"comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/pulls/113/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/113/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-exercises/high_card/statuses/fc85d6dc64871c3e244fe4d7190026b6762b7308"}}}}