{"action":"created","comment":{"url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/comments/188337879","pull_request_review_id":120295633,"id":188337879,"diff_hunk":"@@ -25,4 +64,30 @@ public boolean isBoardFull() {\n         return true;\n     }\n \n+    public boolean isGameWon(List<String[]> lines) {\n+        for (String[] line : lines) {\n+            if (allAreX(line) || allAreO(line)) {","path":"src/main/java/Game.java","position":68,"original_position":53,"commit_id":"90f726998e041d16fa1306018e07e5452510d43e","original_commit_id":"316f60de761604b76b195cfc17ed984e82863eb6","user":{"login":"devlinglasman","id":30846026,"avatar_url":"https://avatars0.githubusercontent.com/u/30846026?v=4","gravatar_id":"","url":"https://api.github.com/users/devlinglasman","html_url":"https://github.com/devlinglasman","followers_url":"https://api.github.com/users/devlinglasman/followers","following_url":"https://api.github.com/users/devlinglasman/following{/other_user}","gists_url":"https://api.github.com/users/devlinglasman/gists{/gist_id}","starred_url":"https://api.github.com/users/devlinglasman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlinglasman/subscriptions","organizations_url":"https://api.github.com/users/devlinglasman/orgs","repos_url":"https://api.github.com/users/devlinglasman/repos","events_url":"https://api.github.com/users/devlinglasman/events{/privacy}","received_events_url":"https://api.github.com/users/devlinglasman/received_events","type":"User","site_admin":false},"body":"Thanks both! I have made this more generalised.","created_at":"2018-05-15T15:43:24Z","updated_at":"2018-05-15T15:43:24Z","html_url":"https://github.com/devlinglasman/tictactoejava/pull/1#discussion_r188337879","pull_request_url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/comments/188337879"},"html":{"href":"https://github.com/devlinglasman/tictactoejava/pull/1#discussion_r188337879"},"pull_request":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/1"}},"in_reply_to_id":188291914},"pull_request":{"url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/1","id":188117488,"html_url":"https://github.com/devlinglasman/tictactoejava/pull/1","diff_url":"https://github.com/devlinglasman/tictactoejava/pull/1.diff","patch_url":"https://github.com/devlinglasman/tictactoejava/pull/1.patch","issue_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/1","number":1,"state":"open","locked":false,"title":"Human vs human","user":{"login":"devlinglasman","id":30846026,"avatar_url":"https://avatars0.githubusercontent.com/u/30846026?v=4","gravatar_id":"","url":"https://api.github.com/users/devlinglasman","html_url":"https://github.com/devlinglasman","followers_url":"https://api.github.com/users/devlinglasman/followers","following_url":"https://api.github.com/users/devlinglasman/following{/other_user}","gists_url":"https://api.github.com/users/devlinglasman/gists{/gist_id}","starred_url":"https://api.github.com/users/devlinglasman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlinglasman/subscriptions","organizations_url":"https://api.github.com/users/devlinglasman/orgs","repos_url":"https://api.github.com/users/devlinglasman/repos","events_url":"https://api.github.com/users/devlinglasman/events{/privacy}","received_events_url":"https://api.github.com/users/devlinglasman/received_events","type":"User","site_admin":false},"body":"Adds 'gameiswon' method and creates a human-vs-human mode.","created_at":"2018-05-15T12:51:23Z","updated_at":"2018-05-15T15:43:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"620bd5d1d4afdbc282e9673211540c7bed3e3071","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/1/commits","review_comments_url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/1/comments","review_comment_url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/1/comments","statuses_url":"https://api.github.com/repos/devlinglasman/tictactoejava/statuses/90f726998e041d16fa1306018e07e5452510d43e","head":{"label":"devlinglasman:human-vs-human","ref":"human-vs-human","sha":"90f726998e041d16fa1306018e07e5452510d43e","user":{"login":"devlinglasman","id":30846026,"avatar_url":"https://avatars0.githubusercontent.com/u/30846026?v=4","gravatar_id":"","url":"https://api.github.com/users/devlinglasman","html_url":"https://github.com/devlinglasman","followers_url":"https://api.github.com/users/devlinglasman/followers","following_url":"https://api.github.com/users/devlinglasman/following{/other_user}","gists_url":"https://api.github.com/users/devlinglasman/gists{/gist_id}","starred_url":"https://api.github.com/users/devlinglasman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlinglasman/subscriptions","organizations_url":"https://api.github.com/users/devlinglasman/orgs","repos_url":"https://api.github.com/users/devlinglasman/repos","events_url":"https://api.github.com/users/devlinglasman/events{/privacy}","received_events_url":"https://api.github.com/users/devlinglasman/received_events","type":"User","site_admin":false},"repo":{"id":132948113,"name":"tictactoejava","full_name":"devlinglasman/tictactoejava","owner":{"login":"devlinglasman","id":30846026,"avatar_url":"https://avatars0.githubusercontent.com/u/30846026?v=4","gravatar_id":"","url":"https://api.github.com/users/devlinglasman","html_url":"https://github.com/devlinglasman","followers_url":"https://api.github.com/users/devlinglasman/followers","following_url":"https://api.github.com/users/devlinglasman/following{/other_user}","gists_url":"https://api.github.com/users/devlinglasman/gists{/gist_id}","starred_url":"https://api.github.com/users/devlinglasman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlinglasman/subscriptions","organizations_url":"https://api.github.com/users/devlinglasman/orgs","repos_url":"https://api.github.com/users/devlinglasman/repos","events_url":"https://api.github.com/users/devlinglasman/events{/privacy}","received_events_url":"https://api.github.com/users/devlinglasman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devlinglasman/tictactoejava","description":null,"fork":false,"url":"https://api.github.com/repos/devlinglasman/tictactoejava","forks_url":"https://api.github.com/repos/devlinglasman/tictactoejava/forks","keys_url":"https://api.github.com/repos/devlinglasman/tictactoejava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devlinglasman/tictactoejava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devlinglasman/tictactoejava/teams","hooks_url":"https://api.github.com/repos/devlinglasman/tictactoejava/hooks","issue_events_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/events{/number}","events_url":"https://api.github.com/repos/devlinglasman/tictactoejava/events","assignees_url":"https://api.github.com/repos/devlinglasman/tictactoejava/assignees{/user}","branches_url":"https://api.github.com/repos/devlinglasman/tictactoejava/branches{/branch}","tags_url":"https://api.github.com/repos/devlinglasman/tictactoejava/tags","blobs_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/refs{/sha}","trees_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devlinglasman/tictactoejava/statuses/{sha}","languages_url":"https://api.github.com/repos/devlinglasman/tictactoejava/languages","stargazers_url":"https://api.github.com/repos/devlinglasman/tictactoejava/stargazers","contributors_url":"https://api.github.com/repos/devlinglasman/tictactoejava/contributors","subscribers_url":"https://api.github.com/repos/devlinglasman/tictactoejava/subscribers","subscription_url":"https://api.github.com/repos/devlinglasman/tictactoejava/subscription","commits_url":"https://api.github.com/repos/devlinglasman/tictactoejava/commits{/sha}","git_commits_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/commits{/sha}","comments_url":"https://api.github.com/repos/devlinglasman/tictactoejava/comments{/number}","issue_comment_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/comments{/number}","contents_url":"https://api.github.com/repos/devlinglasman/tictactoejava/contents/{+path}","compare_url":"https://api.github.com/repos/devlinglasman/tictactoejava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devlinglasman/tictactoejava/merges","archive_url":"https://api.github.com/repos/devlinglasman/tictactoejava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devlinglasman/tictactoejava/downloads","issues_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues{/number}","pulls_url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls{/number}","milestones_url":"https://api.github.com/repos/devlinglasman/tictactoejava/milestones{/number}","notifications_url":"https://api.github.com/repos/devlinglasman/tictactoejava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devlinglasman/tictactoejava/labels{/name}","releases_url":"https://api.github.com/repos/devlinglasman/tictactoejava/releases{/id}","deployments_url":"https://api.github.com/repos/devlinglasman/tictactoejava/deployments","created_at":"2018-05-10T19:57:45Z","updated_at":"2018-05-14T19:25:47Z","pushed_at":"2018-05-15T15:26:11Z","git_url":"git://github.com/devlinglasman/tictactoejava.git","ssh_url":"git@github.com:devlinglasman/tictactoejava.git","clone_url":"https://github.com/devlinglasman/tictactoejava.git","svn_url":"https://github.com/devlinglasman/tictactoejava","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"devlinglasman:master","ref":"master","sha":"84e3555904b416a06143bfbd15354ab3412f81a7","user":{"login":"devlinglasman","id":30846026,"avatar_url":"https://avatars0.githubusercontent.com/u/30846026?v=4","gravatar_id":"","url":"https://api.github.com/users/devlinglasman","html_url":"https://github.com/devlinglasman","followers_url":"https://api.github.com/users/devlinglasman/followers","following_url":"https://api.github.com/users/devlinglasman/following{/other_user}","gists_url":"https://api.github.com/users/devlinglasman/gists{/gist_id}","starred_url":"https://api.github.com/users/devlinglasman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlinglasman/subscriptions","organizations_url":"https://api.github.com/users/devlinglasman/orgs","repos_url":"https://api.github.com/users/devlinglasman/repos","events_url":"https://api.github.com/users/devlinglasman/events{/privacy}","received_events_url":"https://api.github.com/users/devlinglasman/received_events","type":"User","site_admin":false},"repo":{"id":132948113,"name":"tictactoejava","full_name":"devlinglasman/tictactoejava","owner":{"login":"devlinglasman","id":30846026,"avatar_url":"https://avatars0.githubusercontent.com/u/30846026?v=4","gravatar_id":"","url":"https://api.github.com/users/devlinglasman","html_url":"https://github.com/devlinglasman","followers_url":"https://api.github.com/users/devlinglasman/followers","following_url":"https://api.github.com/users/devlinglasman/following{/other_user}","gists_url":"https://api.github.com/users/devlinglasman/gists{/gist_id}","starred_url":"https://api.github.com/users/devlinglasman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlinglasman/subscriptions","organizations_url":"https://api.github.com/users/devlinglasman/orgs","repos_url":"https://api.github.com/users/devlinglasman/repos","events_url":"https://api.github.com/users/devlinglasman/events{/privacy}","received_events_url":"https://api.github.com/users/devlinglasman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devlinglasman/tictactoejava","description":null,"fork":false,"url":"https://api.github.com/repos/devlinglasman/tictactoejava","forks_url":"https://api.github.com/repos/devlinglasman/tictactoejava/forks","keys_url":"https://api.github.com/repos/devlinglasman/tictactoejava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devlinglasman/tictactoejava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devlinglasman/tictactoejava/teams","hooks_url":"https://api.github.com/repos/devlinglasman/tictactoejava/hooks","issue_events_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/events{/number}","events_url":"https://api.github.com/repos/devlinglasman/tictactoejava/events","assignees_url":"https://api.github.com/repos/devlinglasman/tictactoejava/assignees{/user}","branches_url":"https://api.github.com/repos/devlinglasman/tictactoejava/branches{/branch}","tags_url":"https://api.github.com/repos/devlinglasman/tictactoejava/tags","blobs_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/refs{/sha}","trees_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devlinglasman/tictactoejava/statuses/{sha}","languages_url":"https://api.github.com/repos/devlinglasman/tictactoejava/languages","stargazers_url":"https://api.github.com/repos/devlinglasman/tictactoejava/stargazers","contributors_url":"https://api.github.com/repos/devlinglasman/tictactoejava/contributors","subscribers_url":"https://api.github.com/repos/devlinglasman/tictactoejava/subscribers","subscription_url":"https://api.github.com/repos/devlinglasman/tictactoejava/subscription","commits_url":"https://api.github.com/repos/devlinglasman/tictactoejava/commits{/sha}","git_commits_url":"https://api.github.com/repos/devlinglasman/tictactoejava/git/commits{/sha}","comments_url":"https://api.github.com/repos/devlinglasman/tictactoejava/comments{/number}","issue_comment_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/comments{/number}","contents_url":"https://api.github.com/repos/devlinglasman/tictactoejava/contents/{+path}","compare_url":"https://api.github.com/repos/devlinglasman/tictactoejava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devlinglasman/tictactoejava/merges","archive_url":"https://api.github.com/repos/devlinglasman/tictactoejava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devlinglasman/tictactoejava/downloads","issues_url":"https://api.github.com/repos/devlinglasman/tictactoejava/issues{/number}","pulls_url":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls{/number}","milestones_url":"https://api.github.com/repos/devlinglasman/tictactoejava/milestones{/number}","notifications_url":"https://api.github.com/repos/devlinglasman/tictactoejava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devlinglasman/tictactoejava/labels{/name}","releases_url":"https://api.github.com/repos/devlinglasman/tictactoejava/releases{/id}","deployments_url":"https://api.github.com/repos/devlinglasman/tictactoejava/deployments","created_at":"2018-05-10T19:57:45Z","updated_at":"2018-05-14T19:25:47Z","pushed_at":"2018-05-15T15:26:11Z","git_url":"git://github.com/devlinglasman/tictactoejava.git","ssh_url":"git@github.com:devlinglasman/tictactoejava.git","clone_url":"https://github.com/devlinglasman/tictactoejava.git","svn_url":"https://github.com/devlinglasman/tictactoejava","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Java","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/devlinglasman/tictactoejava/pulls/1"},"html":{"href":"https://github.com/devlinglasman/tictactoejava/pull/1"},"issue":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/1"},"comments":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/devlinglasman/tictactoejava/statuses/90f726998e041d16fa1306018e07e5452510d43e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"devlinglasman"}}