{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/comments/87628720","pull_request_review_id":8237020,"id":87628720,"diff_hunk":"@@ -0,0 +1,54 @@\n+#data and logic of the Tic Tac Toe game board\n+#board state held in @cells(Array)\n+\n+class Board\n+  attr_accessor :cells\n+\n+  def initialize\n+    @cells = [\" \", \" \", \" \", \" \", \" \", \" \", \" \", \" \", \" \"] #holds the current state of the game @cells\n+  end\n+\n+  def reset!\n+   self.cells = [\" \", \" \", \" \", \" \", \" \", \" \", \" \", \" \", \" \"] #clears all tokens from the game @cells","path":"lib/board.rb","position":12,"original_position":12,"commit_id":"7ed596178d1e5b0d246e2170712e103cfd30785d","original_commit_id":"7ed596178d1e5b0d246e2170712e103cfd30785d","user":{"login":"Lukeghenco","id":15013243,"avatar_url":"https://avatars.githubusercontent.com/u/15013243?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukeghenco","html_url":"https://github.com/Lukeghenco","followers_url":"https://api.github.com/users/Lukeghenco/followers","following_url":"https://api.github.com/users/Lukeghenco/following{/other_user}","gists_url":"https://api.github.com/users/Lukeghenco/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukeghenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukeghenco/subscriptions","organizations_url":"https://api.github.com/users/Lukeghenco/orgs","repos_url":"https://api.github.com/users/Lukeghenco/repos","events_url":"https://api.github.com/users/Lukeghenco/events{/privacy}","received_events_url":"https://api.github.com/users/Lukeghenco/received_events","type":"User","site_admin":false},"body":"Another way to instantiate an Array with `i` values is `Array.new(9, \" \")` (see [Array.new](http://ruby-doc.org/core-2.2.0/Array.html#method-c-new)), where `9` is the number of elements in the array and `\" \"` is the default value for the elements. It's more concise and will prevent errors from repeatedly typing `\" \"`.\r\n","created_at":"2016-11-11T17:50:06Z","updated_at":"2016-11-11T17:54:08Z","html_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/332#discussion_r87628720","pull_request_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332","_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/comments/87628720"},"html":{"href":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/332#discussion_r87628720"},"pull_request":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332","id":92842282,"html_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/332","diff_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/332.diff","patch_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/332.patch","issue_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/332","number":332,"state":"open","locked":false,"title":"Done","user":{"login":"eskayio","id":11575968,"avatar_url":"https://avatars.githubusercontent.com/u/11575968?v=3","gravatar_id":"","url":"https://api.github.com/users/eskayio","html_url":"https://github.com/eskayio","followers_url":"https://api.github.com/users/eskayio/followers","following_url":"https://api.github.com/users/eskayio/following{/other_user}","gists_url":"https://api.github.com/users/eskayio/gists{/gist_id}","starred_url":"https://api.github.com/users/eskayio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskayio/subscriptions","organizations_url":"https://api.github.com/users/eskayio/orgs","repos_url":"https://api.github.com/users/eskayio/repos","events_url":"https://api.github.com/users/eskayio/events{/privacy}","received_events_url":"https://api.github.com/users/eskayio/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-11-08T19:24:32Z","updated_at":"2016-11-11T17:54:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46ad4f4883faaad70e910b7a43dd0bbfe0d61bdf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332/commits","review_comments_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332/comments","review_comment_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/332/comments","statuses_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/statuses/7ed596178d1e5b0d246e2170712e103cfd30785d","head":{"label":"eskayio:master","ref":"master","sha":"7ed596178d1e5b0d246e2170712e103cfd30785d","user":{"login":"eskayio","id":11575968,"avatar_url":"https://avatars.githubusercontent.com/u/11575968?v=3","gravatar_id":"","url":"https://api.github.com/users/eskayio","html_url":"https://github.com/eskayio","followers_url":"https://api.github.com/users/eskayio/followers","following_url":"https://api.github.com/users/eskayio/following{/other_user}","gists_url":"https://api.github.com/users/eskayio/gists{/gist_id}","starred_url":"https://api.github.com/users/eskayio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskayio/subscriptions","organizations_url":"https://api.github.com/users/eskayio/orgs","repos_url":"https://api.github.com/users/eskayio/repos","events_url":"https://api.github.com/users/eskayio/events{/privacy}","received_events_url":"https://api.github.com/users/eskayio/received_events","type":"User","site_admin":false},"repo":{"id":72874342,"name":"ttt-with-ai-project-v-000","full_name":"eskayio/ttt-with-ai-project-v-000","owner":{"login":"eskayio","id":11575968,"avatar_url":"https://avatars.githubusercontent.com/u/11575968?v=3","gravatar_id":"","url":"https://api.github.com/users/eskayio","html_url":"https://github.com/eskayio","followers_url":"https://api.github.com/users/eskayio/followers","following_url":"https://api.github.com/users/eskayio/following{/other_user}","gists_url":"https://api.github.com/users/eskayio/gists{/gist_id}","starred_url":"https://api.github.com/users/eskayio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskayio/subscriptions","organizations_url":"https://api.github.com/users/eskayio/orgs","repos_url":"https://api.github.com/users/eskayio/repos","events_url":"https://api.github.com/users/eskayio/events{/privacy}","received_events_url":"https://api.github.com/users/eskayio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eskayio/ttt-with-ai-project-v-000","description":null,"fork":true,"url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000","forks_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/forks","keys_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/teams","hooks_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/hooks","issue_events_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/issues/events{/number}","events_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/events","assignees_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/assignees{/user}","branches_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/branches{/branch}","tags_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/tags","blobs_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/git/refs{/sha}","trees_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/statuses/{sha}","languages_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/languages","stargazers_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/stargazers","contributors_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/contributors","subscribers_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/subscribers","subscription_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/subscription","commits_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/commits{/sha}","git_commits_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/git/commits{/sha}","comments_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/comments{/number}","issue_comment_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/issues/comments{/number}","contents_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/contents/{+path}","compare_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/merges","archive_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/downloads","issues_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/issues{/number}","pulls_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/pulls{/number}","milestones_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/milestones{/number}","notifications_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/labels{/name}","releases_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/releases{/id}","deployments_url":"https://api.github.com/repos/eskayio/ttt-with-ai-project-v-000/deployments","created_at":"2016-11-04T18:22:23Z","updated_at":"2016-11-04T18:22:25Z","pushed_at":"2016-11-08T19:24:02Z","git_url":"git://github.com/eskayio/ttt-with-ai-project-v-000.git","ssh_url":"git@github.com:eskayio/ttt-with-ai-project-v-000.git","clone_url":"https://github.com/eskayio/ttt-with-ai-project-v-000.git","svn_url":"https://github.com/eskayio/ttt-with-ai-project-v-000","homepage":null,"size":35,"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":"learn-co-students:master","ref":"master","sha":"5125e4cb97899b63a0cb27351e3a712b15ff8c87","user":{"login":"learn-co-students","id":8825476,"avatar_url":"https://avatars.githubusercontent.com/u/8825476?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-students","html_url":"https://github.com/learn-co-students","followers_url":"https://api.github.com/users/learn-co-students/followers","following_url":"https://api.github.com/users/learn-co-students/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-students/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-students/subscriptions","organizations_url":"https://api.github.com/users/learn-co-students/orgs","repos_url":"https://api.github.com/users/learn-co-students/repos","events_url":"https://api.github.com/users/learn-co-students/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-students/received_events","type":"Organization","site_admin":false},"repo":{"id":46080145,"name":"ttt-with-ai-project-v-000","full_name":"learn-co-students/ttt-with-ai-project-v-000","owner":{"login":"learn-co-students","id":8825476,"avatar_url":"https://avatars.githubusercontent.com/u/8825476?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-students","html_url":"https://github.com/learn-co-students","followers_url":"https://api.github.com/users/learn-co-students/followers","following_url":"https://api.github.com/users/learn-co-students/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-students/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-students/subscriptions","organizations_url":"https://api.github.com/users/learn-co-students/orgs","repos_url":"https://api.github.com/users/learn-co-students/repos","events_url":"https://api.github.com/users/learn-co-students/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-students/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000","description":null,"fork":false,"url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000","forks_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/forks","keys_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/teams","hooks_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/hooks","issue_events_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/events","assignees_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/tags","blobs_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/languages","stargazers_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/stargazers","contributors_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/contributors","subscribers_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/subscribers","subscription_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/subscription","commits_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/merges","archive_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/downloads","issues_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/releases{/id}","deployments_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/deployments","created_at":"2015-11-12T20:52:43Z","updated_at":"2016-11-11T01:59:49Z","pushed_at":"2016-11-10T02:50:28Z","git_url":"git://github.com/learn-co-students/ttt-with-ai-project-v-000.git","ssh_url":"git@github.com:learn-co-students/ttt-with-ai-project-v-000.git","clone_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000.git","svn_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000","homepage":null,"size":3370,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":344,"mirror_url":null,"open_issues_count":162,"forks":344,"open_issues":162,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332"},"html":{"href":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/332"},"issue":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/332"},"comments":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/statuses/7ed596178d1e5b0d246e2170712e103cfd30785d"}}}}
{"actor":{"display_login":"Lukeghenco"}}