{"action":"created","comment":{"url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/comments/208841689","pull_request_review_id":144732709,"id":208841689,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODg0MTY4OQ==","diff_hunk":"@@ -0,0 +1,62 @@\n+require 'outcomes'\n+class AI\n+  def initialize(mark_gateway:)\n+    @mark_gateway = mark_gateway\n+    @depth = 0\n+    @outcome = Outcomes.new(mark_gateway: @mark_gateway)\n+  end \n+\n+  def execute(*)","path":"lib/AI.rb","position":null,"original_position":9,"commit_id":"d05012588cb938339f2769d9905ba5628143d0ac","original_commit_id":"61149bb8963a63542ba8fc36d412fe97d0efaaca","user":{"login":"Renny4Real","id":32823756,"node_id":"MDQ6VXNlcjMyODIzNzU2","avatar_url":"https://avatars1.githubusercontent.com/u/32823756?v=4","gravatar_id":"","url":"https://api.github.com/users/Renny4Real","html_url":"https://github.com/Renny4Real","followers_url":"https://api.github.com/users/Renny4Real/followers","following_url":"https://api.github.com/users/Renny4Real/following{/other_user}","gists_url":"https://api.github.com/users/Renny4Real/gists{/gist_id}","starred_url":"https://api.github.com/users/Renny4Real/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Renny4Real/subscriptions","organizations_url":"https://api.github.com/users/Renny4Real/orgs","repos_url":"https://api.github.com/users/Renny4Real/repos","events_url":"https://api.github.com/users/Renny4Real/events{/privacy}","received_events_url":"https://api.github.com/users/Renny4Real/received_events","type":"User","site_admin":false},"body":"Have you tried putting a name with your splat operator e.g. execute(*marks)? Just to help with reading and understanding the code better.","created_at":"2018-08-09T08:14:07Z","updated_at":"2018-08-09T08:14:07Z","html_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe/pull/3#discussion_r208841689","pull_request_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/comments/208841689"},"html":{"href":"https://github.com/rebeccafitzsimmons1/tic-tac-toe/pull/3#discussion_r208841689"},"pull_request":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/3","id":207048598,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MDQ4NTk4","html_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe/pull/3","diff_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe/pull/3.diff","patch_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe/pull/3.patch","issue_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/3","number":3,"state":"open","locked":false,"title":"Tree approach to ai player","user":{"login":"jpmaHub","id":17250560,"node_id":"MDQ6VXNlcjE3MjUwNTYw","avatar_url":"https://avatars0.githubusercontent.com/u/17250560?v=4","gravatar_id":"","url":"https://api.github.com/users/jpmaHub","html_url":"https://github.com/jpmaHub","followers_url":"https://api.github.com/users/jpmaHub/followers","following_url":"https://api.github.com/users/jpmaHub/following{/other_user}","gists_url":"https://api.github.com/users/jpmaHub/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmaHub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmaHub/subscriptions","organizations_url":"https://api.github.com/users/jpmaHub/orgs","repos_url":"https://api.github.com/users/jpmaHub/repos","events_url":"https://api.github.com/users/jpmaHub/events{/privacy}","received_events_url":"https://api.github.com/users/jpmaHub/received_events","type":"User","site_admin":false},"body":"Created tree for the AI implementation ","created_at":"2018-08-08T15:30:55Z","updated_at":"2018-08-09T08:14:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"feb3b4c2aec96ed38d6353611de46eb3d696556f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/3/commits","review_comments_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/3/comments","review_comment_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/3/comments","statuses_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/statuses/d05012588cb938339f2769d9905ba5628143d0ac","head":{"label":"rebeccafitzsimmons1:tree-approach-to-AI-player","ref":"tree-approach-to-AI-player","sha":"d05012588cb938339f2769d9905ba5628143d0ac","user":{"login":"rebeccafitzsimmons1","id":40759410,"node_id":"MDQ6VXNlcjQwNzU5NDEw","avatar_url":"https://avatars0.githubusercontent.com/u/40759410?v=4","gravatar_id":"","url":"https://api.github.com/users/rebeccafitzsimmons1","html_url":"https://github.com/rebeccafitzsimmons1","followers_url":"https://api.github.com/users/rebeccafitzsimmons1/followers","following_url":"https://api.github.com/users/rebeccafitzsimmons1/following{/other_user}","gists_url":"https://api.github.com/users/rebeccafitzsimmons1/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccafitzsimmons1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccafitzsimmons1/subscriptions","organizations_url":"https://api.github.com/users/rebeccafitzsimmons1/orgs","repos_url":"https://api.github.com/users/rebeccafitzsimmons1/repos","events_url":"https://api.github.com/users/rebeccafitzsimmons1/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccafitzsimmons1/received_events","type":"User","site_admin":false},"repo":{"id":142851378,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI4NTEzNzg=","name":"tic-tac-toe","full_name":"rebeccafitzsimmons1/tic-tac-toe","owner":{"login":"rebeccafitzsimmons1","id":40759410,"node_id":"MDQ6VXNlcjQwNzU5NDEw","avatar_url":"https://avatars0.githubusercontent.com/u/40759410?v=4","gravatar_id":"","url":"https://api.github.com/users/rebeccafitzsimmons1","html_url":"https://github.com/rebeccafitzsimmons1","followers_url":"https://api.github.com/users/rebeccafitzsimmons1/followers","following_url":"https://api.github.com/users/rebeccafitzsimmons1/following{/other_user}","gists_url":"https://api.github.com/users/rebeccafitzsimmons1/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccafitzsimmons1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccafitzsimmons1/subscriptions","organizations_url":"https://api.github.com/users/rebeccafitzsimmons1/orgs","repos_url":"https://api.github.com/users/rebeccafitzsimmons1/repos","events_url":"https://api.github.com/users/rebeccafitzsimmons1/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccafitzsimmons1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe","description":null,"fork":true,"url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe","forks_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/forks","keys_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/teams","hooks_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/hooks","issue_events_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/events{/number}","events_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/events","assignees_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/assignees{/user}","branches_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/branches{/branch}","tags_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/tags","blobs_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/statuses/{sha}","languages_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/languages","stargazers_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/stargazers","contributors_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/contributors","subscribers_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/subscribers","subscription_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/subscription","commits_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/contents/{+path}","compare_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/merges","archive_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/downloads","issues_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues{/number}","pulls_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls{/number}","milestones_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/milestones{/number}","notifications_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/labels{/name}","releases_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/releases{/id}","deployments_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/deployments","created_at":"2018-07-30T09:03:35Z","updated_at":"2018-08-01T09:15:49Z","pushed_at":"2018-08-08T15:35:27Z","git_url":"git://github.com/rebeccafitzsimmons1/tic-tac-toe.git","ssh_url":"git@github.com:rebeccafitzsimmons1/tic-tac-toe.git","clone_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe.git","svn_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe","homepage":null,"size":52,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rebeccafitzsimmons1:master","ref":"master","sha":"4041f36bca46ce8998b6011c24c33f474cee08ba","user":{"login":"rebeccafitzsimmons1","id":40759410,"node_id":"MDQ6VXNlcjQwNzU5NDEw","avatar_url":"https://avatars0.githubusercontent.com/u/40759410?v=4","gravatar_id":"","url":"https://api.github.com/users/rebeccafitzsimmons1","html_url":"https://github.com/rebeccafitzsimmons1","followers_url":"https://api.github.com/users/rebeccafitzsimmons1/followers","following_url":"https://api.github.com/users/rebeccafitzsimmons1/following{/other_user}","gists_url":"https://api.github.com/users/rebeccafitzsimmons1/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccafitzsimmons1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccafitzsimmons1/subscriptions","organizations_url":"https://api.github.com/users/rebeccafitzsimmons1/orgs","repos_url":"https://api.github.com/users/rebeccafitzsimmons1/repos","events_url":"https://api.github.com/users/rebeccafitzsimmons1/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccafitzsimmons1/received_events","type":"User","site_admin":false},"repo":{"id":142851378,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI4NTEzNzg=","name":"tic-tac-toe","full_name":"rebeccafitzsimmons1/tic-tac-toe","owner":{"login":"rebeccafitzsimmons1","id":40759410,"node_id":"MDQ6VXNlcjQwNzU5NDEw","avatar_url":"https://avatars0.githubusercontent.com/u/40759410?v=4","gravatar_id":"","url":"https://api.github.com/users/rebeccafitzsimmons1","html_url":"https://github.com/rebeccafitzsimmons1","followers_url":"https://api.github.com/users/rebeccafitzsimmons1/followers","following_url":"https://api.github.com/users/rebeccafitzsimmons1/following{/other_user}","gists_url":"https://api.github.com/users/rebeccafitzsimmons1/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccafitzsimmons1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccafitzsimmons1/subscriptions","organizations_url":"https://api.github.com/users/rebeccafitzsimmons1/orgs","repos_url":"https://api.github.com/users/rebeccafitzsimmons1/repos","events_url":"https://api.github.com/users/rebeccafitzsimmons1/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccafitzsimmons1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe","description":null,"fork":true,"url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe","forks_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/forks","keys_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/teams","hooks_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/hooks","issue_events_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/events{/number}","events_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/events","assignees_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/assignees{/user}","branches_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/branches{/branch}","tags_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/tags","blobs_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/statuses/{sha}","languages_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/languages","stargazers_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/stargazers","contributors_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/contributors","subscribers_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/subscribers","subscription_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/subscription","commits_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/contents/{+path}","compare_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/merges","archive_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/downloads","issues_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues{/number}","pulls_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls{/number}","milestones_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/milestones{/number}","notifications_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/labels{/name}","releases_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/releases{/id}","deployments_url":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/deployments","created_at":"2018-07-30T09:03:35Z","updated_at":"2018-08-01T09:15:49Z","pushed_at":"2018-08-08T15:35:27Z","git_url":"git://github.com/rebeccafitzsimmons1/tic-tac-toe.git","ssh_url":"git@github.com:rebeccafitzsimmons1/tic-tac-toe.git","clone_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe.git","svn_url":"https://github.com/rebeccafitzsimmons1/tic-tac-toe","homepage":null,"size":52,"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,"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/rebeccafitzsimmons1/tic-tac-toe/pulls/3"},"html":{"href":"https://github.com/rebeccafitzsimmons1/tic-tac-toe/pull/3"},"issue":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/3"},"comments":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/rebeccafitzsimmons1/tic-tac-toe/statuses/d05012588cb938339f2769d9905ba5628143d0ac"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Renny4Real"}}