{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/comments/32264136","id":32264136,"diff_hunk":"@@ -0,0 +1,202 @@\n+# Wang & I finished the  breakfast & lunch requirements & part of dinner together.\n+# We weren't sure we'd have time to finish the dinner requirements, so we focused\n+# on not penalizing the user for guessing the same letter twice & at the same time\n+# handling guesses that weren't qualified letters. We did not add difficulty levels.\n+\n+# This morning, I also added a couple lines to handle guessing the whole word, but\n+# it's not a fully implemented feature: it doesn't add a piece to the hangman for\n+# bad guesses. But it does let you skip ahead to winning if you already know the\n+# word, which is what I was going for. It also throws some errors. >_>\n+\n+# -*- coding: utf-8 -*-\n+require \"colorize\"\n+\n+# pair project w/ Wang :)\n+\n+class Hangman\n+# 1. {0}\n+# 2. (\\\n+# 3. /)\n+# 4. ~\n+# 5. (:)\n+# 6. _/\n+# 7. \\_\n+\n+  def initialize\n+    # hangman board:\n+    @first        = \"     ______       \"\n+    @second       = \"    |      |      \"\n+    @third        = \"           |      \"\n+    @fourth       = \"           |      \"\n+    @fifth        = \"           |      \"\n+    @sixth        = \"           |      \"\n+    @seventh      = \"    _______|___   \"\n+    @eighth       = \"   |           |  \"\n+    @ninth        = \"                  \"\n+    @tenth        = \"  H A N G M A N   \" # change based on how many letters, etc\n+\n+    # start game\n+    start\n+  end\n+\n+\n+  def display_board\n+    @hangman = [@first, @second, @third, @fourth, @fifth,\n+                @sixth, @seventh, @eighth, @ninth, @tenth]\n+\n+\n+    @hangman.each do |line|\n+      puts line\n+    end\n+\n+    puts \"\\n\"\n+  end\n+\n+\n+  def set_answer\n+    possible_answers = [ \"potato\", \"broccoli\", \"animal\", \"hotdog\",","path":"hangman.rb","position":57,"original_position":57,"commit_id":"bf97c8c9e91c16c4d95a0a7a344c193127960a44","original_commit_id":"bf97c8c9e91c16c4d95a0a7a344c193127960a44","user":{"login":"kariabancroft","id":7269204,"avatar_url":"https://avatars.githubusercontent.com/u/7269204?v=3","gravatar_id":"","url":"https://api.github.com/users/kariabancroft","html_url":"https://github.com/kariabancroft","followers_url":"https://api.github.com/users/kariabancroft/followers","following_url":"https://api.github.com/users/kariabancroft/following{/other_user}","gists_url":"https://api.github.com/users/kariabancroft/gists{/gist_id}","starred_url":"https://api.github.com/users/kariabancroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kariabancroft/subscriptions","organizations_url":"https://api.github.com/users/kariabancroft/orgs","repos_url":"https://api.github.com/users/kariabancroft/repos","events_url":"https://api.github.com/users/kariabancroft/events{/privacy}","received_events_url":"https://api.github.com/users/kariabancroft/received_events","type":"User","site_admin":false},"body":"This would be a nice use of a constant now that we have more practice with these","created_at":"2015-06-11T20:26:07Z","updated_at":"2015-06-11T20:26:07Z","html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/2#discussion_r32264136","pull_request_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/comments/32264136"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/2#discussion_r32264136"},"pull_request":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2","id":35590791,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/2","diff_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/2.diff","patch_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/2.patch","issue_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/2","number":2,"state":"open","locked":false,"title":"Js/master","user":{"login":"drvonnjerryxlii","id":10818509,"avatar_url":"https://avatars.githubusercontent.com/u/10818509?v=3","gravatar_id":"","url":"https://api.github.com/users/drvonnjerryxlii","html_url":"https://github.com/drvonnjerryxlii","followers_url":"https://api.github.com/users/drvonnjerryxlii/followers","following_url":"https://api.github.com/users/drvonnjerryxlii/following{/other_user}","gists_url":"https://api.github.com/users/drvonnjerryxlii/gists{/gist_id}","starred_url":"https://api.github.com/users/drvonnjerryxlii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drvonnjerryxlii/subscriptions","organizations_url":"https://api.github.com/users/drvonnjerryxlii/orgs","repos_url":"https://api.github.com/users/drvonnjerryxlii/repos","events_url":"https://api.github.com/users/drvonnjerryxlii/events{/privacy}","received_events_url":"https://api.github.com/users/drvonnjerryxlii/received_events","type":"User","site_admin":false},"body":"Wang & I finished the breakfast & lunch requirements & part of dinner together. We weren't sure we'd have time to finish the dinner requirements, so we focused on not penalizing the user for guessing the same letter twice & at the same time handling guesses that weren't qualified letters. We did not add difficulty levels.\r\n\r\nThis morning, I also added a couple lines to handle guessing the whole word, but it's not a fully implemented feature: it doesn't add a piece to the hangman for bad guesses. But it does let you skip ahead to winning if you already know the word, which is what I was going for. It also throws some errors. >_>","created_at":"2015-05-17T18:09:10Z","updated_at":"2015-06-11T20:26:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd011504535e290405bd7dc53326d348ecce1879","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/2/comments","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/statuses/bf97c8c9e91c16c4d95a0a7a344c193127960a44","head":{"label":"drvonnjerryxlii:js/master","ref":"js/master","sha":"bf97c8c9e91c16c4d95a0a7a344c193127960a44","user":{"login":"drvonnjerryxlii","id":10818509,"avatar_url":"https://avatars.githubusercontent.com/u/10818509?v=3","gravatar_id":"","url":"https://api.github.com/users/drvonnjerryxlii","html_url":"https://github.com/drvonnjerryxlii","followers_url":"https://api.github.com/users/drvonnjerryxlii/followers","following_url":"https://api.github.com/users/drvonnjerryxlii/following{/other_user}","gists_url":"https://api.github.com/users/drvonnjerryxlii/gists{/gist_id}","starred_url":"https://api.github.com/users/drvonnjerryxlii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drvonnjerryxlii/subscriptions","organizations_url":"https://api.github.com/users/drvonnjerryxlii/orgs","repos_url":"https://api.github.com/users/drvonnjerryxlii/repos","events_url":"https://api.github.com/users/drvonnjerryxlii/events{/privacy}","received_events_url":"https://api.github.com/users/drvonnjerryxlii/received_events","type":"User","site_admin":false},"repo":{"id":35700879,"name":"C3Projects--Hangman","full_name":"drvonnjerryxlii/C3Projects--Hangman","owner":{"login":"drvonnjerryxlii","id":10818509,"avatar_url":"https://avatars.githubusercontent.com/u/10818509?v=3","gravatar_id":"","url":"https://api.github.com/users/drvonnjerryxlii","html_url":"https://github.com/drvonnjerryxlii","followers_url":"https://api.github.com/users/drvonnjerryxlii/followers","following_url":"https://api.github.com/users/drvonnjerryxlii/following{/other_user}","gists_url":"https://api.github.com/users/drvonnjerryxlii/gists{/gist_id}","starred_url":"https://api.github.com/users/drvonnjerryxlii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drvonnjerryxlii/subscriptions","organizations_url":"https://api.github.com/users/drvonnjerryxlii/orgs","repos_url":"https://api.github.com/users/drvonnjerryxlii/repos","events_url":"https://api.github.com/users/drvonnjerryxlii/events{/privacy}","received_events_url":"https://api.github.com/users/drvonnjerryxlii/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drvonnjerryxlii/C3Projects--Hangman","description":"","fork":true,"url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman","forks_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/forks","keys_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/teams","hooks_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/hooks","issue_events_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/issues/events{/number}","events_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/events","assignees_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/assignees{/user}","branches_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/branches{/branch}","tags_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/tags","blobs_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/git/refs{/sha}","trees_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/statuses/{sha}","languages_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/languages","stargazers_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/stargazers","contributors_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/contributors","subscribers_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/subscribers","subscription_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/subscription","commits_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/commits{/sha}","git_commits_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/git/commits{/sha}","comments_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/comments{/number}","issue_comment_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/issues/comments{/number}","contents_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/contents/{+path}","compare_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/merges","archive_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/downloads","issues_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/issues{/number}","pulls_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/pulls{/number}","milestones_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/milestones{/number}","notifications_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/labels{/name}","releases_url":"https://api.github.com/repos/drvonnjerryxlii/C3Projects--Hangman/releases{/id}","created_at":"2015-05-15T22:58:07Z","updated_at":"2015-05-15T16:49:54Z","pushed_at":"2015-05-17T18:05:17Z","git_url":"git://github.com/drvonnjerryxlii/C3Projects--Hangman.git","ssh_url":"git@github.com:drvonnjerryxlii/C3Projects--Hangman.git","clone_url":"https://github.com/drvonnjerryxlii/C3Projects--Hangman.git","svn_url":"https://github.com/drvonnjerryxlii/C3Projects--Hangman","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":null,"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":"Ada-Developers-Academy:js/master","ref":"js/master","sha":"c9d654f78fc3ed3afc05077d5a697a4332f77fbb","user":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"repo":{"id":35685519,"name":"C3Projects--Hangman","full_name":"Ada-Developers-Academy/C3Projects--Hangman","owner":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman","description":"","fork":false,"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman","forks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/forks","keys_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/teams","hooks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/hooks","issue_events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/events","assignees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/tags","blobs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/languages","stargazers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/stargazers","contributors_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/contributors","subscribers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/subscribers","subscription_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/subscription","commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/merges","archive_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/downloads","issues_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/labels{/name}","releases_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/releases{/id}","created_at":"2015-05-15T16:49:54Z","updated_at":"2015-05-15T16:49:54Z","pushed_at":"2015-06-11T18:34:41Z","git_url":"git://github.com/Ada-Developers-Academy/C3Projects--Hangman.git","ssh_url":"git@github.com:Ada-Developers-Academy/C3Projects--Hangman.git","clone_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman.git","svn_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman","homepage":null,"size":523,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":16,"forks":25,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/2"},"issue":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/2"},"comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/statuses/bf97c8c9e91c16c4d95a0a7a344c193127960a44"}}}}