{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/comments/31849759","id":31849759,"diff_hunk":"@@ -0,0 +1,195 @@\n+require 'colorize'\n+\n+class Hangman\n+\tdef initialize\n+\t\t@words = [\"method\", \"index\", \"bracket\", \"braces\", \"gem\", \"git\", \"terminal\", \"length\", \n+\t\t\t\t\t\t\t\"count\", \"push\", \"class\", \"hash\", \"comment\", \"colorize\", \"mastermind\", \"orange\", \n+\t\t\t\t\t\t\t\"online\", \"dragon\", \"seattle\", \"rubric\"]\n+\t\t@word = @words.sample\n+\t\t@blank_spaces = \"_ -\" * @word.length\n+\t\t@blank_array = @blank_spaces.split(\"-\")\n+\t\t@answer_letters = @word.split(//)\n+\t\t@wrong_answers = 0\n+\t\t@guess_array = []\n+\t\t@alphabet = %w(a b c d e f g h i j k l m n o p q r s t u v w x y z)","path":"hangman.rb","position":14,"original_position":14,"commit_id":"5993cb9de67a483d455358981742865310e84718","original_commit_id":"5993cb9de67a483d455358981742865310e84718","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":"Nice use of this literal","created_at":"2015-06-05T20:43:55Z","updated_at":"2015-06-05T20:43:55Z","html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/3#discussion_r31849759","pull_request_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/comments/31849759"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/3#discussion_r31849759"},"pull_request":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/3","id":35592245,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/3","diff_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/3.diff","patch_url":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/3.patch","issue_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/3","number":3,"state":"open","locked":false,"title":"Complete Hangman Project","user":{"login":"acmei","id":8615571,"avatar_url":"https://avatars.githubusercontent.com/u/8615571?v=3","gravatar_id":"","url":"https://api.github.com/users/acmei","html_url":"https://github.com/acmei","followers_url":"https://api.github.com/users/acmei/followers","following_url":"https://api.github.com/users/acmei/following{/other_user}","gists_url":"https://api.github.com/users/acmei/gists{/gist_id}","starred_url":"https://api.github.com/users/acmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmei/subscriptions","organizations_url":"https://api.github.com/users/acmei/orgs","repos_url":"https://api.github.com/users/acmei/repos","events_url":"https://api.github.com/users/acmei/events{/privacy}","received_events_url":"https://api.github.com/users/acmei/received_events","type":"User","site_admin":false},"body":"Finished Lunch. The colorize gem is required for this program. Each part of the hangman will be a different color, apart from the scaffold. Also, a colorized error message will display if the user attempts to make a guess that is not a letter of the alphabet. I worked on this project with Kyna.","created_at":"2015-05-17T19:54:23Z","updated_at":"2015-06-05T20:43:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57fdda2911f82d5d1963836086eec7d5ea62232e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/3/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/3/comments","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/statuses/5993cb9de67a483d455358981742865310e84718","head":{"label":"acmei:acw/master","ref":"acw/master","sha":"5993cb9de67a483d455358981742865310e84718","user":{"login":"acmei","id":8615571,"avatar_url":"https://avatars.githubusercontent.com/u/8615571?v=3","gravatar_id":"","url":"https://api.github.com/users/acmei","html_url":"https://github.com/acmei","followers_url":"https://api.github.com/users/acmei/followers","following_url":"https://api.github.com/users/acmei/following{/other_user}","gists_url":"https://api.github.com/users/acmei/gists{/gist_id}","starred_url":"https://api.github.com/users/acmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmei/subscriptions","organizations_url":"https://api.github.com/users/acmei/orgs","repos_url":"https://api.github.com/users/acmei/repos","events_url":"https://api.github.com/users/acmei/events{/privacy}","received_events_url":"https://api.github.com/users/acmei/received_events","type":"User","site_admin":false},"repo":{"id":35780352,"name":"C3Projects--Hangman","full_name":"acmei/C3Projects--Hangman","owner":{"login":"acmei","id":8615571,"avatar_url":"https://avatars.githubusercontent.com/u/8615571?v=3","gravatar_id":"","url":"https://api.github.com/users/acmei","html_url":"https://github.com/acmei","followers_url":"https://api.github.com/users/acmei/followers","following_url":"https://api.github.com/users/acmei/following{/other_user}","gists_url":"https://api.github.com/users/acmei/gists{/gist_id}","starred_url":"https://api.github.com/users/acmei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmei/subscriptions","organizations_url":"https://api.github.com/users/acmei/orgs","repos_url":"https://api.github.com/users/acmei/repos","events_url":"https://api.github.com/users/acmei/events{/privacy}","received_events_url":"https://api.github.com/users/acmei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acmei/C3Projects--Hangman","description":"","fork":true,"url":"https://api.github.com/repos/acmei/C3Projects--Hangman","forks_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/forks","keys_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/teams","hooks_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/hooks","issue_events_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/issues/events{/number}","events_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/events","assignees_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/assignees{/user}","branches_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/branches{/branch}","tags_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/tags","blobs_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/git/refs{/sha}","trees_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/statuses/{sha}","languages_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/languages","stargazers_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/stargazers","contributors_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/contributors","subscribers_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/subscribers","subscription_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/subscription","commits_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/commits{/sha}","git_commits_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/git/commits{/sha}","comments_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/comments{/number}","issue_comment_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/issues/comments{/number}","contents_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/contents/{+path}","compare_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/merges","archive_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/downloads","issues_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/issues{/number}","pulls_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/pulls{/number}","milestones_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/milestones{/number}","notifications_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/labels{/name}","releases_url":"https://api.github.com/repos/acmei/C3Projects--Hangman/releases{/id}","created_at":"2015-05-17T19:49:31Z","updated_at":"2015-05-15T16:49:54Z","pushed_at":"2015-05-17T19:51:27Z","git_url":"git://github.com/acmei/C3Projects--Hangman.git","ssh_url":"git@github.com:acmei/C3Projects--Hangman.git","clone_url":"https://github.com/acmei/C3Projects--Hangman.git","svn_url":"https://github.com/acmei/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:acw/master","ref":"acw/master","sha":"056ad34da9d95849284234c0400b03c63d670466","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-05-19T00:09:02Z","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":529,"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":24,"forks":25,"open_issues":24,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/3"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--Hangman/pull/3"},"issue":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/3"},"comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/pulls/3/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/3/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Hangman/statuses/5993cb9de67a483d455358981742865310e84718"}}}}