{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/comments/78477889","id":78477889,"diff_hunk":"@@ -0,0 +1,56 @@\n+class Board\n+  attr_accessor :cells\n+\n+  def reset!\n+    @cells = Array.new(9, \" \")\n+  end\n+\n+  def initialize\n+    @cells = Array.new(9, \" \")\n+  end\n+\n+  def display\n+    puts  \" #{@cells[0]} | #{@cells[1]} | #{@cells[2]} \"\n+    puts  \"-----------\"\n+    puts  \" #{@cells[3]} | #{@cells[4]} | #{@cells[5]} \"\n+    puts  \"-----------\"\n+    puts  \" #{@cells[6]} | #{@cells[7]} | #{@cells[8]} \"\n+  end\n+\n+  def index(location)\n+    location.to_i - 1\n+  end\n+\n+  def position(location)\n+\n+    @cells[self.index(location)]\n+  end\n+\n+  def full?\n+    !(@cells.include?(\" \" || nil))\n+  end\n+\n+  def turn_count\n+      count = 9","path":"lib/board.rb","position":null,"original_position":34,"commit_id":"6ea86bb3c9663c7a0c652dc820ea5daf3ec64ee0","original_commit_id":"031963d51f0202fb421596119cf2909a8c0d44b3","user":{"login":"jminterwebs","id":5741418,"avatar_url":"https://avatars.githubusercontent.com/u/5741418?v=3","gravatar_id":"","url":"https://api.github.com/users/jminterwebs","html_url":"https://github.com/jminterwebs","followers_url":"https://api.github.com/users/jminterwebs/followers","following_url":"https://api.github.com/users/jminterwebs/following{/other_user}","gists_url":"https://api.github.com/users/jminterwebs/gists{/gist_id}","starred_url":"https://api.github.com/users/jminterwebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jminterwebs/subscriptions","organizations_url":"https://api.github.com/users/jminterwebs/orgs","repos_url":"https://api.github.com/users/jminterwebs/repos","events_url":"https://api.github.com/users/jminterwebs/events{/privacy}","received_events_url":"https://api.github.com/users/jminterwebs/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-09-13T00:14:28Z","updated_at":"2016-09-13T00:14:28Z","html_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/289#discussion_r78477889","pull_request_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/289","_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/comments/78477889"},"html":{"href":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/289#discussion_r78477889"},"pull_request":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/289"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/289","id":84739737,"html_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/289","diff_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/289.diff","patch_url":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/289.patch","issue_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/289","number":289,"state":"open","locked":false,"title":"Project submitted","user":{"login":"jminterwebs","id":5741418,"avatar_url":"https://avatars.githubusercontent.com/u/5741418?v=3","gravatar_id":"","url":"https://api.github.com/users/jminterwebs","html_url":"https://github.com/jminterwebs","followers_url":"https://api.github.com/users/jminterwebs/followers","following_url":"https://api.github.com/users/jminterwebs/following{/other_user}","gists_url":"https://api.github.com/users/jminterwebs/gists{/gist_id}","starred_url":"https://api.github.com/users/jminterwebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jminterwebs/subscriptions","organizations_url":"https://api.github.com/users/jminterwebs/orgs","repos_url":"https://api.github.com/users/jminterwebs/repos","events_url":"https://api.github.com/users/jminterwebs/events{/privacy}","received_events_url":"https://api.github.com/users/jminterwebs/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-10T01:15:30Z","updated_at":"2016-09-13T00:14:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7180688df8a9e1db4db08cd0f964192cf004ec84","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/289/commits","review_comments_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/289/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/289/comments","statuses_url":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/statuses/6ea86bb3c9663c7a0c652dc820ea5daf3ec64ee0","head":{"label":"jminterwebs:master","ref":"master","sha":"6ea86bb3c9663c7a0c652dc820ea5daf3ec64ee0","user":{"login":"jminterwebs","id":5741418,"avatar_url":"https://avatars.githubusercontent.com/u/5741418?v=3","gravatar_id":"","url":"https://api.github.com/users/jminterwebs","html_url":"https://github.com/jminterwebs","followers_url":"https://api.github.com/users/jminterwebs/followers","following_url":"https://api.github.com/users/jminterwebs/following{/other_user}","gists_url":"https://api.github.com/users/jminterwebs/gists{/gist_id}","starred_url":"https://api.github.com/users/jminterwebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jminterwebs/subscriptions","organizations_url":"https://api.github.com/users/jminterwebs/orgs","repos_url":"https://api.github.com/users/jminterwebs/repos","events_url":"https://api.github.com/users/jminterwebs/events{/privacy}","received_events_url":"https://api.github.com/users/jminterwebs/received_events","type":"User","site_admin":false},"repo":{"id":67552072,"name":"ttt-with-ai-project-v-000","full_name":"jminterwebs/ttt-with-ai-project-v-000","owner":{"login":"jminterwebs","id":5741418,"avatar_url":"https://avatars.githubusercontent.com/u/5741418?v=3","gravatar_id":"","url":"https://api.github.com/users/jminterwebs","html_url":"https://github.com/jminterwebs","followers_url":"https://api.github.com/users/jminterwebs/followers","following_url":"https://api.github.com/users/jminterwebs/following{/other_user}","gists_url":"https://api.github.com/users/jminterwebs/gists{/gist_id}","starred_url":"https://api.github.com/users/jminterwebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jminterwebs/subscriptions","organizations_url":"https://api.github.com/users/jminterwebs/orgs","repos_url":"https://api.github.com/users/jminterwebs/repos","events_url":"https://api.github.com/users/jminterwebs/events{/privacy}","received_events_url":"https://api.github.com/users/jminterwebs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jminterwebs/ttt-with-ai-project-v-000","description":null,"fork":true,"url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000","forks_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/forks","keys_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/teams","hooks_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/hooks","issue_events_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/issues/events{/number}","events_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/events","assignees_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/assignees{/user}","branches_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/branches{/branch}","tags_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/tags","blobs_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/git/refs{/sha}","trees_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/statuses/{sha}","languages_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/languages","stargazers_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/stargazers","contributors_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/contributors","subscribers_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/subscribers","subscription_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/subscription","commits_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/commits{/sha}","git_commits_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/git/commits{/sha}","comments_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/comments{/number}","issue_comment_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/issues/comments{/number}","contents_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/contents/{+path}","compare_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/merges","archive_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/downloads","issues_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/issues{/number}","pulls_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/pulls{/number}","milestones_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/milestones{/number}","notifications_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/labels{/name}","releases_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/releases{/id}","deployments_url":"https://api.github.com/repos/jminterwebs/ttt-with-ai-project-v-000/deployments","created_at":"2016-09-06T22:41:16Z","updated_at":"2016-09-06T22:41:18Z","pushed_at":"2016-09-13T00:12:25Z","git_url":"git://github.com/jminterwebs/ttt-with-ai-project-v-000.git","ssh_url":"git@github.com:jminterwebs/ttt-with-ai-project-v-000.git","clone_url":"https://github.com/jminterwebs/ttt-with-ai-project-v-000.git","svn_url":"https://github.com/jminterwebs/ttt-with-ai-project-v-000","homepage":null,"size":51,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"learn-co-students:master","ref":"master","sha":"daf7f013941b5b3ed16a41810a434cc63768d0d4","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-02-14T16:23:06Z","pushed_at":"2016-09-13T00:12:25Z","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":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":315,"mirror_url":null,"open_issues_count":127,"forks":315,"open_issues":127,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/289"},"html":{"href":"https://github.com/learn-co-students/ttt-with-ai-project-v-000/pull/289"},"issue":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/289"},"comments":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/issues/289/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/pulls/289/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/289/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-students/ttt-with-ai-project-v-000/statuses/6ea86bb3c9663c7a0c652dc820ea5daf3ec64ee0"}}}}
{"actor":{"display_login":"jminterwebs"}}