{"action":"created","comment":{"url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/comments/203175566","pull_request_review_id":138015021,"id":203175566,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzE3NTU2Ng==","diff_hunk":"@@ -0,0 +1,64 @@\n+require_relative \"./messages\"\n+class Mastermind\n+  attr_reader :secret_code\n+  \n+  COLOR_OPTIONS = [\"r\", \"b\", \"g\", \"y\", \"o\", \"p\"]\n+\n+  def initialize\n+    @messages = Messages.new","path":"lib/mastermind.rb","position":null,"original_position":8,"commit_id":"499714a8d6efe3b61abedf661df903a028eab18d","original_commit_id":"9e5d790c8af8f3f62179c15e32697217465d9afa","user":{"login":"KingCCJ","id":24322581,"node_id":"MDQ6VXNlcjI0MzIyNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/24322581?v=4","gravatar_id":"","url":"https://api.github.com/users/KingCCJ","html_url":"https://github.com/KingCCJ","followers_url":"https://api.github.com/users/KingCCJ/followers","following_url":"https://api.github.com/users/KingCCJ/following{/other_user}","gists_url":"https://api.github.com/users/KingCCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/KingCCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingCCJ/subscriptions","organizations_url":"https://api.github.com/users/KingCCJ/orgs","repos_url":"https://api.github.com/users/KingCCJ/repos","events_url":"https://api.github.com/users/KingCCJ/events{/privacy}","received_events_url":"https://api.github.com/users/KingCCJ/received_events","type":"User","site_admin":false},"body":"OH!!! That makes sense now that I understand more about passing arguments. Lol!\r\n","created_at":"2018-07-17T20:56:26Z","updated_at":"2018-07-17T20:57:41Z","html_url":"https://github.com/KingCCJ/Mastermind/pull/4#discussion_r203175566","pull_request_url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/comments/203175566"},"html":{"href":"https://github.com/KingCCJ/Mastermind/pull/4#discussion_r203175566"},"pull_request":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4"}},"in_reply_to_id":203039315},"pull_request":{"url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4","id":201777442,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNzc3NDQy","html_url":"https://github.com/KingCCJ/Mastermind/pull/4","diff_url":"https://github.com/KingCCJ/Mastermind/pull/4.diff","patch_url":"https://github.com/KingCCJ/Mastermind/pull/4.patch","issue_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues/4","number":4,"state":"open","locked":false,"title":"Game condition","user":{"login":"KingCCJ","id":24322581,"node_id":"MDQ6VXNlcjI0MzIyNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/24322581?v=4","gravatar_id":"","url":"https://api.github.com/users/KingCCJ","html_url":"https://github.com/KingCCJ","followers_url":"https://api.github.com/users/KingCCJ/followers","following_url":"https://api.github.com/users/KingCCJ/following{/other_user}","gists_url":"https://api.github.com/users/KingCCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/KingCCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingCCJ/subscriptions","organizations_url":"https://api.github.com/users/KingCCJ/orgs","repos_url":"https://api.github.com/users/KingCCJ/repos","events_url":"https://api.github.com/users/KingCCJ/events{/privacy}","received_events_url":"https://api.github.com/users/KingCCJ/received_events","type":"User","site_admin":false},"body":"I made some good headway with my code to where I'm finally able to implement some game logic. Currently, the player is able to win and see the remaining amount of guesses they have left.","created_at":"2018-07-16T22:28:22Z","updated_at":"2018-07-17T20:57:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"300c7be31b9f2de0133903452f1c2f83a3bce31f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tamminhdao","id":11000026,"node_id":"MDQ6VXNlcjExMDAwMDI2","avatar_url":"https://avatars0.githubusercontent.com/u/11000026?v=4","gravatar_id":"","url":"https://api.github.com/users/tamminhdao","html_url":"https://github.com/tamminhdao","followers_url":"https://api.github.com/users/tamminhdao/followers","following_url":"https://api.github.com/users/tamminhdao/following{/other_user}","gists_url":"https://api.github.com/users/tamminhdao/gists{/gist_id}","starred_url":"https://api.github.com/users/tamminhdao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamminhdao/subscriptions","organizations_url":"https://api.github.com/users/tamminhdao/orgs","repos_url":"https://api.github.com/users/tamminhdao/repos","events_url":"https://api.github.com/users/tamminhdao/events{/privacy}","received_events_url":"https://api.github.com/users/tamminhdao/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4/commits","review_comments_url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4/comments","review_comment_url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues/4/comments","statuses_url":"https://api.github.com/repos/KingCCJ/Mastermind/statuses/499714a8d6efe3b61abedf661df903a028eab18d","head":{"label":"KingCCJ:game_condition","ref":"game_condition","sha":"499714a8d6efe3b61abedf661df903a028eab18d","user":{"login":"KingCCJ","id":24322581,"node_id":"MDQ6VXNlcjI0MzIyNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/24322581?v=4","gravatar_id":"","url":"https://api.github.com/users/KingCCJ","html_url":"https://github.com/KingCCJ","followers_url":"https://api.github.com/users/KingCCJ/followers","following_url":"https://api.github.com/users/KingCCJ/following{/other_user}","gists_url":"https://api.github.com/users/KingCCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/KingCCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingCCJ/subscriptions","organizations_url":"https://api.github.com/users/KingCCJ/orgs","repos_url":"https://api.github.com/users/KingCCJ/repos","events_url":"https://api.github.com/users/KingCCJ/events{/privacy}","received_events_url":"https://api.github.com/users/KingCCJ/received_events","type":"User","site_admin":false},"repo":{"id":137115431,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxMTU0MzE=","name":"Mastermind","full_name":"KingCCJ/Mastermind","owner":{"login":"KingCCJ","id":24322581,"node_id":"MDQ6VXNlcjI0MzIyNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/24322581?v=4","gravatar_id":"","url":"https://api.github.com/users/KingCCJ","html_url":"https://github.com/KingCCJ","followers_url":"https://api.github.com/users/KingCCJ/followers","following_url":"https://api.github.com/users/KingCCJ/following{/other_user}","gists_url":"https://api.github.com/users/KingCCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/KingCCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingCCJ/subscriptions","organizations_url":"https://api.github.com/users/KingCCJ/orgs","repos_url":"https://api.github.com/users/KingCCJ/repos","events_url":"https://api.github.com/users/KingCCJ/events{/privacy}","received_events_url":"https://api.github.com/users/KingCCJ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KingCCJ/Mastermind","description":null,"fork":false,"url":"https://api.github.com/repos/KingCCJ/Mastermind","forks_url":"https://api.github.com/repos/KingCCJ/Mastermind/forks","keys_url":"https://api.github.com/repos/KingCCJ/Mastermind/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KingCCJ/Mastermind/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KingCCJ/Mastermind/teams","hooks_url":"https://api.github.com/repos/KingCCJ/Mastermind/hooks","issue_events_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues/events{/number}","events_url":"https://api.github.com/repos/KingCCJ/Mastermind/events","assignees_url":"https://api.github.com/repos/KingCCJ/Mastermind/assignees{/user}","branches_url":"https://api.github.com/repos/KingCCJ/Mastermind/branches{/branch}","tags_url":"https://api.github.com/repos/KingCCJ/Mastermind/tags","blobs_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/refs{/sha}","trees_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KingCCJ/Mastermind/statuses/{sha}","languages_url":"https://api.github.com/repos/KingCCJ/Mastermind/languages","stargazers_url":"https://api.github.com/repos/KingCCJ/Mastermind/stargazers","contributors_url":"https://api.github.com/repos/KingCCJ/Mastermind/contributors","subscribers_url":"https://api.github.com/repos/KingCCJ/Mastermind/subscribers","subscription_url":"https://api.github.com/repos/KingCCJ/Mastermind/subscription","commits_url":"https://api.github.com/repos/KingCCJ/Mastermind/commits{/sha}","git_commits_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/commits{/sha}","comments_url":"https://api.github.com/repos/KingCCJ/Mastermind/comments{/number}","issue_comment_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues/comments{/number}","contents_url":"https://api.github.com/repos/KingCCJ/Mastermind/contents/{+path}","compare_url":"https://api.github.com/repos/KingCCJ/Mastermind/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KingCCJ/Mastermind/merges","archive_url":"https://api.github.com/repos/KingCCJ/Mastermind/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KingCCJ/Mastermind/downloads","issues_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues{/number}","pulls_url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls{/number}","milestones_url":"https://api.github.com/repos/KingCCJ/Mastermind/milestones{/number}","notifications_url":"https://api.github.com/repos/KingCCJ/Mastermind/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KingCCJ/Mastermind/labels{/name}","releases_url":"https://api.github.com/repos/KingCCJ/Mastermind/releases{/id}","deployments_url":"https://api.github.com/repos/KingCCJ/Mastermind/deployments","created_at":"2018-06-12T19:00:14Z","updated_at":"2018-07-09T19:47:26Z","pushed_at":"2018-07-17T20:53:38Z","git_url":"git://github.com/KingCCJ/Mastermind.git","ssh_url":"git@github.com:KingCCJ/Mastermind.git","clone_url":"https://github.com/KingCCJ/Mastermind.git","svn_url":"https://github.com/KingCCJ/Mastermind","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KingCCJ:master","ref":"master","sha":"b1fa0d9c1bfdd43617b69f174955e0935dbb1f2b","user":{"login":"KingCCJ","id":24322581,"node_id":"MDQ6VXNlcjI0MzIyNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/24322581?v=4","gravatar_id":"","url":"https://api.github.com/users/KingCCJ","html_url":"https://github.com/KingCCJ","followers_url":"https://api.github.com/users/KingCCJ/followers","following_url":"https://api.github.com/users/KingCCJ/following{/other_user}","gists_url":"https://api.github.com/users/KingCCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/KingCCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingCCJ/subscriptions","organizations_url":"https://api.github.com/users/KingCCJ/orgs","repos_url":"https://api.github.com/users/KingCCJ/repos","events_url":"https://api.github.com/users/KingCCJ/events{/privacy}","received_events_url":"https://api.github.com/users/KingCCJ/received_events","type":"User","site_admin":false},"repo":{"id":137115431,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxMTU0MzE=","name":"Mastermind","full_name":"KingCCJ/Mastermind","owner":{"login":"KingCCJ","id":24322581,"node_id":"MDQ6VXNlcjI0MzIyNTgx","avatar_url":"https://avatars3.githubusercontent.com/u/24322581?v=4","gravatar_id":"","url":"https://api.github.com/users/KingCCJ","html_url":"https://github.com/KingCCJ","followers_url":"https://api.github.com/users/KingCCJ/followers","following_url":"https://api.github.com/users/KingCCJ/following{/other_user}","gists_url":"https://api.github.com/users/KingCCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/KingCCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KingCCJ/subscriptions","organizations_url":"https://api.github.com/users/KingCCJ/orgs","repos_url":"https://api.github.com/users/KingCCJ/repos","events_url":"https://api.github.com/users/KingCCJ/events{/privacy}","received_events_url":"https://api.github.com/users/KingCCJ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KingCCJ/Mastermind","description":null,"fork":false,"url":"https://api.github.com/repos/KingCCJ/Mastermind","forks_url":"https://api.github.com/repos/KingCCJ/Mastermind/forks","keys_url":"https://api.github.com/repos/KingCCJ/Mastermind/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KingCCJ/Mastermind/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KingCCJ/Mastermind/teams","hooks_url":"https://api.github.com/repos/KingCCJ/Mastermind/hooks","issue_events_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues/events{/number}","events_url":"https://api.github.com/repos/KingCCJ/Mastermind/events","assignees_url":"https://api.github.com/repos/KingCCJ/Mastermind/assignees{/user}","branches_url":"https://api.github.com/repos/KingCCJ/Mastermind/branches{/branch}","tags_url":"https://api.github.com/repos/KingCCJ/Mastermind/tags","blobs_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/refs{/sha}","trees_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KingCCJ/Mastermind/statuses/{sha}","languages_url":"https://api.github.com/repos/KingCCJ/Mastermind/languages","stargazers_url":"https://api.github.com/repos/KingCCJ/Mastermind/stargazers","contributors_url":"https://api.github.com/repos/KingCCJ/Mastermind/contributors","subscribers_url":"https://api.github.com/repos/KingCCJ/Mastermind/subscribers","subscription_url":"https://api.github.com/repos/KingCCJ/Mastermind/subscription","commits_url":"https://api.github.com/repos/KingCCJ/Mastermind/commits{/sha}","git_commits_url":"https://api.github.com/repos/KingCCJ/Mastermind/git/commits{/sha}","comments_url":"https://api.github.com/repos/KingCCJ/Mastermind/comments{/number}","issue_comment_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues/comments{/number}","contents_url":"https://api.github.com/repos/KingCCJ/Mastermind/contents/{+path}","compare_url":"https://api.github.com/repos/KingCCJ/Mastermind/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KingCCJ/Mastermind/merges","archive_url":"https://api.github.com/repos/KingCCJ/Mastermind/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KingCCJ/Mastermind/downloads","issues_url":"https://api.github.com/repos/KingCCJ/Mastermind/issues{/number}","pulls_url":"https://api.github.com/repos/KingCCJ/Mastermind/pulls{/number}","milestones_url":"https://api.github.com/repos/KingCCJ/Mastermind/milestones{/number}","notifications_url":"https://api.github.com/repos/KingCCJ/Mastermind/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KingCCJ/Mastermind/labels{/name}","releases_url":"https://api.github.com/repos/KingCCJ/Mastermind/releases{/id}","deployments_url":"https://api.github.com/repos/KingCCJ/Mastermind/deployments","created_at":"2018-06-12T19:00:14Z","updated_at":"2018-07-09T19:47:26Z","pushed_at":"2018-07-17T20:53:38Z","git_url":"git://github.com/KingCCJ/Mastermind.git","ssh_url":"git@github.com:KingCCJ/Mastermind.git","clone_url":"https://github.com/KingCCJ/Mastermind.git","svn_url":"https://github.com/KingCCJ/Mastermind","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4"},"html":{"href":"https://github.com/KingCCJ/Mastermind/pull/4"},"issue":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/issues/4"},"comments":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/KingCCJ/Mastermind/statuses/499714a8d6efe3b61abedf661df903a028eab18d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"KingCCJ"}}