{"action":"created","comment":{"url":"https://api.github.com/repos/puyoai/puyoai/pulls/comments/52892815","id":52892815,"diff_hunk":"@@ -12,23 +12,20 @@ struct FrameResponse;\n \n class HumanConnector : public Connector {\n public:\n+    HumanConnector(int player) : Connector(player) {}\n     virtual ~HumanConnector() {}","path":"src/core/server/connector/human_connector.h","position":5,"original_position":5,"commit_id":"ecf9d45c35bab2902aec521a82f5f5a344ff3960","original_commit_id":"ecf9d45c35bab2902aec521a82f5f5a344ff3960","user":{"login":"peria","id":1389353,"avatar_url":"https://avatars.githubusercontent.com/u/1389353?v=3","gravatar_id":"","url":"https://api.github.com/users/peria","html_url":"https://github.com/peria","followers_url":"https://api.github.com/users/peria/followers","following_url":"https://api.github.com/users/peria/following{/other_user}","gists_url":"https://api.github.com/users/peria/gists{/gist_id}","starred_url":"https://api.github.com/users/peria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peria/subscriptions","organizations_url":"https://api.github.com/users/peria/orgs","repos_url":"https://api.github.com/users/peria/repos","events_url":"https://api.github.com/users/peria/events{/privacy}","received_events_url":"https://api.github.com/users/peria/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-02-15T12:25:21Z","updated_at":"2016-02-15T12:25:21Z","html_url":"https://github.com/puyoai/puyoai/pull/218#discussion_r52892815","pull_request_url":"https://api.github.com/repos/puyoai/puyoai/pulls/218","_links":{"self":{"href":"https://api.github.com/repos/puyoai/puyoai/pulls/comments/52892815"},"html":{"href":"https://github.com/puyoai/puyoai/pull/218#discussion_r52892815"},"pull_request":{"href":"https://api.github.com/repos/puyoai/puyoai/pulls/218"}}},"pull_request":{"url":"https://api.github.com/repos/puyoai/puyoai/pulls/218","id":59299732,"html_url":"https://github.com/puyoai/puyoai/pull/218","diff_url":"https://github.com/puyoai/puyoai/pull/218.diff","patch_url":"https://github.com/puyoai/puyoai/pull/218.patch","issue_url":"https://api.github.com/repos/puyoai/puyoai/issues/218","number":218,"state":"open","locked":false,"title":"Redesign Connector and ConnectorManager","user":{"login":"peria","id":1389353,"avatar_url":"https://avatars.githubusercontent.com/u/1389353?v=3","gravatar_id":"","url":"https://api.github.com/users/peria","html_url":"https://github.com/peria","followers_url":"https://api.github.com/users/peria/followers","following_url":"https://api.github.com/users/peria/following{/other_user}","gists_url":"https://api.github.com/users/peria/gists{/gist_id}","starred_url":"https://api.github.com/users/peria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peria/subscriptions","organizations_url":"https://api.github.com/users/peria/orgs","repos_url":"https://api.github.com/users/peria/repos","events_url":"https://api.github.com/users/peria/events{/privacy}","received_events_url":"https://api.github.com/users/peria/received_events","type":"User","site_admin":false},"body":"There was ConnectorManagerPosix, but it logically does not have platform dependent parts.  On the other hand, Connector (PipeConnector) has many platform dependent parts.\r\n\r\nSo I change the design of them to make it easy to implement Windows versions.","created_at":"2016-02-14T16:54:28Z","updated_at":"2016-02-15T12:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4294258f42e0d7d2d3b25a02cbd4db45b95cc136","assignee":{"login":"peria","id":1389353,"avatar_url":"https://avatars.githubusercontent.com/u/1389353?v=3","gravatar_id":"","url":"https://api.github.com/users/peria","html_url":"https://github.com/peria","followers_url":"https://api.github.com/users/peria/followers","following_url":"https://api.github.com/users/peria/following{/other_user}","gists_url":"https://api.github.com/users/peria/gists{/gist_id}","starred_url":"https://api.github.com/users/peria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peria/subscriptions","organizations_url":"https://api.github.com/users/peria/orgs","repos_url":"https://api.github.com/users/peria/repos","events_url":"https://api.github.com/users/peria/events{/privacy}","received_events_url":"https://api.github.com/users/peria/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/puyoai/puyoai/pulls/218/commits","review_comments_url":"https://api.github.com/repos/puyoai/puyoai/pulls/218/comments","review_comment_url":"https://api.github.com/repos/puyoai/puyoai/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puyoai/puyoai/issues/218/comments","statuses_url":"https://api.github.com/repos/puyoai/puyoai/statuses/ecf9d45c35bab2902aec521a82f5f5a344ff3960","head":{"label":"puyoai:Connector","ref":"Connector","sha":"ecf9d45c35bab2902aec521a82f5f5a344ff3960","user":{"login":"puyoai","id":3463020,"avatar_url":"https://avatars.githubusercontent.com/u/3463020?v=3","gravatar_id":"","url":"https://api.github.com/users/puyoai","html_url":"https://github.com/puyoai","followers_url":"https://api.github.com/users/puyoai/followers","following_url":"https://api.github.com/users/puyoai/following{/other_user}","gists_url":"https://api.github.com/users/puyoai/gists{/gist_id}","starred_url":"https://api.github.com/users/puyoai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puyoai/subscriptions","organizations_url":"https://api.github.com/users/puyoai/orgs","repos_url":"https://api.github.com/users/puyoai/repos","events_url":"https://api.github.com/users/puyoai/events{/privacy}","received_events_url":"https://api.github.com/users/puyoai/received_events","type":"Organization","site_admin":false},"repo":{"id":7990116,"name":"puyoai","full_name":"puyoai/puyoai","owner":{"login":"puyoai","id":3463020,"avatar_url":"https://avatars.githubusercontent.com/u/3463020?v=3","gravatar_id":"","url":"https://api.github.com/users/puyoai","html_url":"https://github.com/puyoai","followers_url":"https://api.github.com/users/puyoai/followers","following_url":"https://api.github.com/users/puyoai/following{/other_user}","gists_url":"https://api.github.com/users/puyoai/gists{/gist_id}","starred_url":"https://api.github.com/users/puyoai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puyoai/subscriptions","organizations_url":"https://api.github.com/users/puyoai/orgs","repos_url":"https://api.github.com/users/puyoai/repos","events_url":"https://api.github.com/users/puyoai/events{/privacy}","received_events_url":"https://api.github.com/users/puyoai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puyoai/puyoai","description":"AI for puyo","fork":false,"url":"https://api.github.com/repos/puyoai/puyoai","forks_url":"https://api.github.com/repos/puyoai/puyoai/forks","keys_url":"https://api.github.com/repos/puyoai/puyoai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puyoai/puyoai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puyoai/puyoai/teams","hooks_url":"https://api.github.com/repos/puyoai/puyoai/hooks","issue_events_url":"https://api.github.com/repos/puyoai/puyoai/issues/events{/number}","events_url":"https://api.github.com/repos/puyoai/puyoai/events","assignees_url":"https://api.github.com/repos/puyoai/puyoai/assignees{/user}","branches_url":"https://api.github.com/repos/puyoai/puyoai/branches{/branch}","tags_url":"https://api.github.com/repos/puyoai/puyoai/tags","blobs_url":"https://api.github.com/repos/puyoai/puyoai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puyoai/puyoai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puyoai/puyoai/git/refs{/sha}","trees_url":"https://api.github.com/repos/puyoai/puyoai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puyoai/puyoai/statuses/{sha}","languages_url":"https://api.github.com/repos/puyoai/puyoai/languages","stargazers_url":"https://api.github.com/repos/puyoai/puyoai/stargazers","contributors_url":"https://api.github.com/repos/puyoai/puyoai/contributors","subscribers_url":"https://api.github.com/repos/puyoai/puyoai/subscribers","subscription_url":"https://api.github.com/repos/puyoai/puyoai/subscription","commits_url":"https://api.github.com/repos/puyoai/puyoai/commits{/sha}","git_commits_url":"https://api.github.com/repos/puyoai/puyoai/git/commits{/sha}","comments_url":"https://api.github.com/repos/puyoai/puyoai/comments{/number}","issue_comment_url":"https://api.github.com/repos/puyoai/puyoai/issues/comments{/number}","contents_url":"https://api.github.com/repos/puyoai/puyoai/contents/{+path}","compare_url":"https://api.github.com/repos/puyoai/puyoai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puyoai/puyoai/merges","archive_url":"https://api.github.com/repos/puyoai/puyoai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puyoai/puyoai/downloads","issues_url":"https://api.github.com/repos/puyoai/puyoai/issues{/number}","pulls_url":"https://api.github.com/repos/puyoai/puyoai/pulls{/number}","milestones_url":"https://api.github.com/repos/puyoai/puyoai/milestones{/number}","notifications_url":"https://api.github.com/repos/puyoai/puyoai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puyoai/puyoai/labels{/name}","releases_url":"https://api.github.com/repos/puyoai/puyoai/releases{/id}","deployments_url":"https://api.github.com/repos/puyoai/puyoai/deployments","created_at":"2013-02-03T12:18:16Z","updated_at":"2016-01-13T08:11:30Z","pushed_at":"2016-02-14T16:54:28Z","git_url":"git://github.com/puyoai/puyoai.git","ssh_url":"git@github.com:puyoai/puyoai.git","clone_url":"https://github.com/puyoai/puyoai.git","svn_url":"https://github.com/puyoai/puyoai","homepage":null,"size":545466,"stargazers_count":67,"watchers_count":67,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":44,"forks":20,"open_issues":44,"watchers":67,"default_branch":"master"}},"base":{"label":"puyoai:master","ref":"master","sha":"5fc9eb120da08e0654a436076fb73c65bfefa2aa","user":{"login":"puyoai","id":3463020,"avatar_url":"https://avatars.githubusercontent.com/u/3463020?v=3","gravatar_id":"","url":"https://api.github.com/users/puyoai","html_url":"https://github.com/puyoai","followers_url":"https://api.github.com/users/puyoai/followers","following_url":"https://api.github.com/users/puyoai/following{/other_user}","gists_url":"https://api.github.com/users/puyoai/gists{/gist_id}","starred_url":"https://api.github.com/users/puyoai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puyoai/subscriptions","organizations_url":"https://api.github.com/users/puyoai/orgs","repos_url":"https://api.github.com/users/puyoai/repos","events_url":"https://api.github.com/users/puyoai/events{/privacy}","received_events_url":"https://api.github.com/users/puyoai/received_events","type":"Organization","site_admin":false},"repo":{"id":7990116,"name":"puyoai","full_name":"puyoai/puyoai","owner":{"login":"puyoai","id":3463020,"avatar_url":"https://avatars.githubusercontent.com/u/3463020?v=3","gravatar_id":"","url":"https://api.github.com/users/puyoai","html_url":"https://github.com/puyoai","followers_url":"https://api.github.com/users/puyoai/followers","following_url":"https://api.github.com/users/puyoai/following{/other_user}","gists_url":"https://api.github.com/users/puyoai/gists{/gist_id}","starred_url":"https://api.github.com/users/puyoai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puyoai/subscriptions","organizations_url":"https://api.github.com/users/puyoai/orgs","repos_url":"https://api.github.com/users/puyoai/repos","events_url":"https://api.github.com/users/puyoai/events{/privacy}","received_events_url":"https://api.github.com/users/puyoai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puyoai/puyoai","description":"AI for puyo","fork":false,"url":"https://api.github.com/repos/puyoai/puyoai","forks_url":"https://api.github.com/repos/puyoai/puyoai/forks","keys_url":"https://api.github.com/repos/puyoai/puyoai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puyoai/puyoai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puyoai/puyoai/teams","hooks_url":"https://api.github.com/repos/puyoai/puyoai/hooks","issue_events_url":"https://api.github.com/repos/puyoai/puyoai/issues/events{/number}","events_url":"https://api.github.com/repos/puyoai/puyoai/events","assignees_url":"https://api.github.com/repos/puyoai/puyoai/assignees{/user}","branches_url":"https://api.github.com/repos/puyoai/puyoai/branches{/branch}","tags_url":"https://api.github.com/repos/puyoai/puyoai/tags","blobs_url":"https://api.github.com/repos/puyoai/puyoai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puyoai/puyoai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puyoai/puyoai/git/refs{/sha}","trees_url":"https://api.github.com/repos/puyoai/puyoai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puyoai/puyoai/statuses/{sha}","languages_url":"https://api.github.com/repos/puyoai/puyoai/languages","stargazers_url":"https://api.github.com/repos/puyoai/puyoai/stargazers","contributors_url":"https://api.github.com/repos/puyoai/puyoai/contributors","subscribers_url":"https://api.github.com/repos/puyoai/puyoai/subscribers","subscription_url":"https://api.github.com/repos/puyoai/puyoai/subscription","commits_url":"https://api.github.com/repos/puyoai/puyoai/commits{/sha}","git_commits_url":"https://api.github.com/repos/puyoai/puyoai/git/commits{/sha}","comments_url":"https://api.github.com/repos/puyoai/puyoai/comments{/number}","issue_comment_url":"https://api.github.com/repos/puyoai/puyoai/issues/comments{/number}","contents_url":"https://api.github.com/repos/puyoai/puyoai/contents/{+path}","compare_url":"https://api.github.com/repos/puyoai/puyoai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puyoai/puyoai/merges","archive_url":"https://api.github.com/repos/puyoai/puyoai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puyoai/puyoai/downloads","issues_url":"https://api.github.com/repos/puyoai/puyoai/issues{/number}","pulls_url":"https://api.github.com/repos/puyoai/puyoai/pulls{/number}","milestones_url":"https://api.github.com/repos/puyoai/puyoai/milestones{/number}","notifications_url":"https://api.github.com/repos/puyoai/puyoai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puyoai/puyoai/labels{/name}","releases_url":"https://api.github.com/repos/puyoai/puyoai/releases{/id}","deployments_url":"https://api.github.com/repos/puyoai/puyoai/deployments","created_at":"2013-02-03T12:18:16Z","updated_at":"2016-01-13T08:11:30Z","pushed_at":"2016-02-14T16:54:28Z","git_url":"git://github.com/puyoai/puyoai.git","ssh_url":"git@github.com:puyoai/puyoai.git","clone_url":"https://github.com/puyoai/puyoai.git","svn_url":"https://github.com/puyoai/puyoai","homepage":null,"size":545466,"stargazers_count":67,"watchers_count":67,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":44,"forks":20,"open_issues":44,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puyoai/puyoai/pulls/218"},"html":{"href":"https://github.com/puyoai/puyoai/pull/218"},"issue":{"href":"https://api.github.com/repos/puyoai/puyoai/issues/218"},"comments":{"href":"https://api.github.com/repos/puyoai/puyoai/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/puyoai/puyoai/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/puyoai/puyoai/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puyoai/puyoai/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/puyoai/puyoai/statuses/ecf9d45c35bab2902aec521a82f5f5a344ff3960"}}}}