{"action":"created","comment":{"url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/comments/82965716","pull_request_review_id":3835223,"id":82965716,"diff_hunk":"@@ -112,28 +148,36 @@ def get_from_file(text)\n   end\n \n   def display_line(row)\n+    content = \" \"\n+\n     row.each_with_index do |e, index|\n       if index == row.size - 1\n-        write(\" #{e} \\n\")\n+        write(\"#{e}\".center(margin(row), content)  + \"\\n\")","path":"lib/cli_interface.rb","position":106,"original_position":106,"commit_id":"1f16740e4b82ebced6c33d0fe0fab987000f27d4","original_commit_id":"1f16740e4b82ebced6c33d0fe0fab987000f27d4","user":{"login":"sarahabimay","id":10097084,"avatar_url":"https://avatars.githubusercontent.com/u/10097084?v=3","gravatar_id":"","url":"https://api.github.com/users/sarahabimay","html_url":"https://github.com/sarahabimay","followers_url":"https://api.github.com/users/sarahabimay/followers","following_url":"https://api.github.com/users/sarahabimay/following{/other_user}","gists_url":"https://api.github.com/users/sarahabimay/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahabimay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahabimay/subscriptions","organizations_url":"https://api.github.com/users/sarahabimay/orgs","repos_url":"https://api.github.com/users/sarahabimay/repos","events_url":"https://api.github.com/users/sarahabimay/events{/privacy}","received_events_url":"https://api.github.com/users/sarahabimay/received_events","type":"User","site_admin":false},"body":"this is very complex to understand.","created_at":"2016-10-12T09:16:29Z","updated_at":"2016-10-12T09:16:29Z","html_url":"https://github.com/fabientownsend/tic-tac-toe/pull/12#discussion_r82965716","pull_request_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/comments/82965716"},"html":{"href":"https://github.com/fabientownsend/tic-tac-toe/pull/12#discussion_r82965716"},"pull_request":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12","id":88833977,"html_url":"https://github.com/fabientownsend/tic-tac-toe/pull/12","diff_url":"https://github.com/fabientownsend/tic-tac-toe/pull/12.diff","patch_url":"https://github.com/fabientownsend/tic-tac-toe/pull/12.patch","issue_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/12","number":12,"state":"open","locked":false,"title":"Refactoring of the interface","user":{"login":"fabientownsend","id":2458181,"avatar_url":"https://avatars.githubusercontent.com/u/2458181?v=3","gravatar_id":"","url":"https://api.github.com/users/fabientownsend","html_url":"https://github.com/fabientownsend","followers_url":"https://api.github.com/users/fabientownsend/followers","following_url":"https://api.github.com/users/fabientownsend/following{/other_user}","gists_url":"https://api.github.com/users/fabientownsend/gists{/gist_id}","starred_url":"https://api.github.com/users/fabientownsend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabientownsend/subscriptions","organizations_url":"https://api.github.com/users/fabientownsend/orgs","repos_url":"https://api.github.com/users/fabientownsend/repos","events_url":"https://api.github.com/users/fabientownsend/events{/privacy}","received_events_url":"https://api.github.com/users/fabientownsend/received_events","type":"User","site_admin":false},"body":"The interface now handle a default value if the player push enter without any value","created_at":"2016-10-11T13:38:30Z","updated_at":"2016-10-12T09:16:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7406bcff94b9539be135028b4fe1b8889f4724e7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12/commits","review_comments_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12/comments","review_comment_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/12/comments","statuses_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/statuses/1f16740e4b82ebced6c33d0fe0fab987000f27d4","head":{"label":"fabientownsend:interface","ref":"interface","sha":"1f16740e4b82ebced6c33d0fe0fab987000f27d4","user":{"login":"fabientownsend","id":2458181,"avatar_url":"https://avatars.githubusercontent.com/u/2458181?v=3","gravatar_id":"","url":"https://api.github.com/users/fabientownsend","html_url":"https://github.com/fabientownsend","followers_url":"https://api.github.com/users/fabientownsend/followers","following_url":"https://api.github.com/users/fabientownsend/following{/other_user}","gists_url":"https://api.github.com/users/fabientownsend/gists{/gist_id}","starred_url":"https://api.github.com/users/fabientownsend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabientownsend/subscriptions","organizations_url":"https://api.github.com/users/fabientownsend/orgs","repos_url":"https://api.github.com/users/fabientownsend/repos","events_url":"https://api.github.com/users/fabientownsend/events{/privacy}","received_events_url":"https://api.github.com/users/fabientownsend/received_events","type":"User","site_admin":false},"repo":{"id":67703835,"name":"tic-tac-toe","full_name":"fabientownsend/tic-tac-toe","owner":{"login":"fabientownsend","id":2458181,"avatar_url":"https://avatars.githubusercontent.com/u/2458181?v=3","gravatar_id":"","url":"https://api.github.com/users/fabientownsend","html_url":"https://github.com/fabientownsend","followers_url":"https://api.github.com/users/fabientownsend/followers","following_url":"https://api.github.com/users/fabientownsend/following{/other_user}","gists_url":"https://api.github.com/users/fabientownsend/gists{/gist_id}","starred_url":"https://api.github.com/users/fabientownsend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabientownsend/subscriptions","organizations_url":"https://api.github.com/users/fabientownsend/orgs","repos_url":"https://api.github.com/users/fabientownsend/repos","events_url":"https://api.github.com/users/fabientownsend/events{/privacy}","received_events_url":"https://api.github.com/users/fabientownsend/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabientownsend/tic-tac-toe","description":null,"fork":false,"url":"https://api.github.com/repos/fabientownsend/tic-tac-toe","forks_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/forks","keys_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/teams","hooks_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/hooks","issue_events_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/events{/number}","events_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/events","assignees_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/assignees{/user}","branches_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/branches{/branch}","tags_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/tags","blobs_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/statuses/{sha}","languages_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/languages","stargazers_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/stargazers","contributors_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/contributors","subscribers_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/subscribers","subscription_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/subscription","commits_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/contents/{+path}","compare_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/merges","archive_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/downloads","issues_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues{/number}","pulls_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls{/number}","milestones_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/milestones{/number}","notifications_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/labels{/name}","releases_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/releases{/id}","deployments_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/deployments","created_at":"2016-09-08T13:05:42Z","updated_at":"2016-09-08T13:12:23Z","pushed_at":"2016-10-11T15:45:50Z","git_url":"git://github.com/fabientownsend/tic-tac-toe.git","ssh_url":"git@github.com:fabientownsend/tic-tac-toe.git","clone_url":"https://github.com/fabientownsend/tic-tac-toe.git","svn_url":"https://github.com/fabientownsend/tic-tac-toe","homepage":null,"size":117,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"fabientownsend:master","ref":"master","sha":"34b3d52d30673e69b3949720743fa9e7a0e70498","user":{"login":"fabientownsend","id":2458181,"avatar_url":"https://avatars.githubusercontent.com/u/2458181?v=3","gravatar_id":"","url":"https://api.github.com/users/fabientownsend","html_url":"https://github.com/fabientownsend","followers_url":"https://api.github.com/users/fabientownsend/followers","following_url":"https://api.github.com/users/fabientownsend/following{/other_user}","gists_url":"https://api.github.com/users/fabientownsend/gists{/gist_id}","starred_url":"https://api.github.com/users/fabientownsend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabientownsend/subscriptions","organizations_url":"https://api.github.com/users/fabientownsend/orgs","repos_url":"https://api.github.com/users/fabientownsend/repos","events_url":"https://api.github.com/users/fabientownsend/events{/privacy}","received_events_url":"https://api.github.com/users/fabientownsend/received_events","type":"User","site_admin":false},"repo":{"id":67703835,"name":"tic-tac-toe","full_name":"fabientownsend/tic-tac-toe","owner":{"login":"fabientownsend","id":2458181,"avatar_url":"https://avatars.githubusercontent.com/u/2458181?v=3","gravatar_id":"","url":"https://api.github.com/users/fabientownsend","html_url":"https://github.com/fabientownsend","followers_url":"https://api.github.com/users/fabientownsend/followers","following_url":"https://api.github.com/users/fabientownsend/following{/other_user}","gists_url":"https://api.github.com/users/fabientownsend/gists{/gist_id}","starred_url":"https://api.github.com/users/fabientownsend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabientownsend/subscriptions","organizations_url":"https://api.github.com/users/fabientownsend/orgs","repos_url":"https://api.github.com/users/fabientownsend/repos","events_url":"https://api.github.com/users/fabientownsend/events{/privacy}","received_events_url":"https://api.github.com/users/fabientownsend/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabientownsend/tic-tac-toe","description":null,"fork":false,"url":"https://api.github.com/repos/fabientownsend/tic-tac-toe","forks_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/forks","keys_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/teams","hooks_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/hooks","issue_events_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/events{/number}","events_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/events","assignees_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/assignees{/user}","branches_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/branches{/branch}","tags_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/tags","blobs_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/statuses/{sha}","languages_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/languages","stargazers_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/stargazers","contributors_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/contributors","subscribers_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/subscribers","subscription_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/subscription","commits_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/contents/{+path}","compare_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/merges","archive_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/downloads","issues_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues{/number}","pulls_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls{/number}","milestones_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/milestones{/number}","notifications_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/labels{/name}","releases_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/releases{/id}","deployments_url":"https://api.github.com/repos/fabientownsend/tic-tac-toe/deployments","created_at":"2016-09-08T13:05:42Z","updated_at":"2016-09-08T13:12:23Z","pushed_at":"2016-10-11T15:45:50Z","git_url":"git://github.com/fabientownsend/tic-tac-toe.git","ssh_url":"git@github.com:fabientownsend/tic-tac-toe.git","clone_url":"https://github.com/fabientownsend/tic-tac-toe.git","svn_url":"https://github.com/fabientownsend/tic-tac-toe","homepage":null,"size":117,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12"},"html":{"href":"https://github.com/fabientownsend/tic-tac-toe/pull/12"},"issue":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/12"},"comments":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/fabientownsend/tic-tac-toe/statuses/1f16740e4b82ebced6c33d0fe0fab987000f27d4"}}}}
{"actor":{"display_login":"sarahabimay"}}