{"action":"created","comment":{"url":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/comments/86463372","pull_request_review_id":7122787,"id":86463372,"diff_hunk":"@@ -0,0 +1,151 @@\n+// This is the NPlayer game RPC. It ensures round-robin turn taking with N players.\n+\n+'use strict';\n+\n+var R = require('ramda'),\n+    debug = require('debug'),\n+    log = debug('NetsBlox:RPCManager:NPlayer:log'),\n+    trace = debug('NetsBlox:RPCManager:NPlayer:trace'),\n+    Constants = require('../../../../common/Constants'),\n+    info = debug('NetsBlox:RPCManager:NPlayer:info');\n+\n+/**\n+ * NPlayerRPC - This constructor is called on the first request to an RPC\n+ * from a given room\n+ *\n+ * @constructor\n+ * @return {undefined}\n+ */\n+var NPlayerRPC = function() {","path":"src/server/rpc/procedures/NPlayer/NPlayer.js","position":19,"original_position":19,"commit_id":"cca54ade769c6798696ff5b0a804a72348a93cc4","original_commit_id":"cca54ade769c6798696ff5b0a804a72348a93cc4","user":{"login":"brollb","id":4982789,"avatar_url":"https://avatars.githubusercontent.com/u/4982789?v=3","gravatar_id":"","url":"https://api.github.com/users/brollb","html_url":"https://github.com/brollb","followers_url":"https://api.github.com/users/brollb/followers","following_url":"https://api.github.com/users/brollb/following{/other_user}","gists_url":"https://api.github.com/users/brollb/gists{/gist_id}","starred_url":"https://api.github.com/users/brollb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brollb/subscriptions","organizations_url":"https://api.github.com/users/brollb/orgs","repos_url":"https://api.github.com/users/brollb/repos","events_url":"https://api.github.com/users/brollb/events{/privacy}","received_events_url":"https://api.github.com/users/brollb/received_events","type":"User","site_admin":false},"body":"Do you mind changing the name of this to just `NPlayer`? It should be clear that it is an RPC from the location and comments, etc.","created_at":"2016-11-03T23:15:48Z","updated_at":"2016-11-03T23:15:48Z","html_url":"https://github.com/NetsBlox/NetsBlox/pull/537#discussion_r86463372","pull_request_url":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537","_links":{"self":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/comments/86463372"},"html":{"href":"https://github.com/NetsBlox/NetsBlox/pull/537#discussion_r86463372"},"pull_request":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537"}}},"pull_request":{"url":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537","id":92224603,"html_url":"https://github.com/NetsBlox/NetsBlox/pull/537","diff_url":"https://github.com/NetsBlox/NetsBlox/pull/537.diff","patch_url":"https://github.com/NetsBlox/NetsBlox/pull/537.patch","issue_url":"https://api.github.com/repos/NetsBlox/NetsBlox/issues/537","number":537,"state":"open","locked":false,"title":"N-player game rpc and example","user":{"login":"sallai","id":962187,"avatar_url":"https://avatars.githubusercontent.com/u/962187?v=3","gravatar_id":"","url":"https://api.github.com/users/sallai","html_url":"https://github.com/sallai","followers_url":"https://api.github.com/users/sallai/followers","following_url":"https://api.github.com/users/sallai/following{/other_user}","gists_url":"https://api.github.com/users/sallai/gists{/gist_id}","starred_url":"https://api.github.com/users/sallai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallai/subscriptions","organizations_url":"https://api.github.com/users/sallai/orgs","repos_url":"https://api.github.com/users/sallai/repos","events_url":"https://api.github.com/users/sallai/events{/privacy}","received_events_url":"https://api.github.com/users/sallai/received_events","type":"User","site_admin":false},"body":"This PR adds an n-player game RPC, as well as a story making game example that demonstrates this functionality.","created_at":"2016-11-03T19:33:40Z","updated_at":"2016-11-03T23:26:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad92f53a8174128eac7b03a101e31a9b4e211a94","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537/commits","review_comments_url":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537/comments","review_comment_url":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NetsBlox/NetsBlox/issues/537/comments","statuses_url":"https://api.github.com/repos/NetsBlox/NetsBlox/statuses/cca54ade769c6798696ff5b0a804a72348a93cc4","head":{"label":"sallai:master","ref":"master","sha":"cca54ade769c6798696ff5b0a804a72348a93cc4","user":{"login":"sallai","id":962187,"avatar_url":"https://avatars.githubusercontent.com/u/962187?v=3","gravatar_id":"","url":"https://api.github.com/users/sallai","html_url":"https://github.com/sallai","followers_url":"https://api.github.com/users/sallai/followers","following_url":"https://api.github.com/users/sallai/following{/other_user}","gists_url":"https://api.github.com/users/sallai/gists{/gist_id}","starred_url":"https://api.github.com/users/sallai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallai/subscriptions","organizations_url":"https://api.github.com/users/sallai/orgs","repos_url":"https://api.github.com/users/sallai/repos","events_url":"https://api.github.com/users/sallai/events{/privacy}","received_events_url":"https://api.github.com/users/sallai/received_events","type":"User","site_admin":false},"repo":{"id":72779275,"name":"NetsBlox","full_name":"sallai/NetsBlox","owner":{"login":"sallai","id":962187,"avatar_url":"https://avatars.githubusercontent.com/u/962187?v=3","gravatar_id":"","url":"https://api.github.com/users/sallai","html_url":"https://github.com/sallai","followers_url":"https://api.github.com/users/sallai/followers","following_url":"https://api.github.com/users/sallai/following{/other_user}","gists_url":"https://api.github.com/users/sallai/gists{/gist_id}","starred_url":"https://api.github.com/users/sallai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallai/subscriptions","organizations_url":"https://api.github.com/users/sallai/orgs","repos_url":"https://api.github.com/users/sallai/repos","events_url":"https://api.github.com/users/sallai/events{/privacy}","received_events_url":"https://api.github.com/users/sallai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sallai/NetsBlox","description":"a networked visual programming language based on Snap!","fork":true,"url":"https://api.github.com/repos/sallai/NetsBlox","forks_url":"https://api.github.com/repos/sallai/NetsBlox/forks","keys_url":"https://api.github.com/repos/sallai/NetsBlox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sallai/NetsBlox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sallai/NetsBlox/teams","hooks_url":"https://api.github.com/repos/sallai/NetsBlox/hooks","issue_events_url":"https://api.github.com/repos/sallai/NetsBlox/issues/events{/number}","events_url":"https://api.github.com/repos/sallai/NetsBlox/events","assignees_url":"https://api.github.com/repos/sallai/NetsBlox/assignees{/user}","branches_url":"https://api.github.com/repos/sallai/NetsBlox/branches{/branch}","tags_url":"https://api.github.com/repos/sallai/NetsBlox/tags","blobs_url":"https://api.github.com/repos/sallai/NetsBlox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sallai/NetsBlox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sallai/NetsBlox/git/refs{/sha}","trees_url":"https://api.github.com/repos/sallai/NetsBlox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sallai/NetsBlox/statuses/{sha}","languages_url":"https://api.github.com/repos/sallai/NetsBlox/languages","stargazers_url":"https://api.github.com/repos/sallai/NetsBlox/stargazers","contributors_url":"https://api.github.com/repos/sallai/NetsBlox/contributors","subscribers_url":"https://api.github.com/repos/sallai/NetsBlox/subscribers","subscription_url":"https://api.github.com/repos/sallai/NetsBlox/subscription","commits_url":"https://api.github.com/repos/sallai/NetsBlox/commits{/sha}","git_commits_url":"https://api.github.com/repos/sallai/NetsBlox/git/commits{/sha}","comments_url":"https://api.github.com/repos/sallai/NetsBlox/comments{/number}","issue_comment_url":"https://api.github.com/repos/sallai/NetsBlox/issues/comments{/number}","contents_url":"https://api.github.com/repos/sallai/NetsBlox/contents/{+path}","compare_url":"https://api.github.com/repos/sallai/NetsBlox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sallai/NetsBlox/merges","archive_url":"https://api.github.com/repos/sallai/NetsBlox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sallai/NetsBlox/downloads","issues_url":"https://api.github.com/repos/sallai/NetsBlox/issues{/number}","pulls_url":"https://api.github.com/repos/sallai/NetsBlox/pulls{/number}","milestones_url":"https://api.github.com/repos/sallai/NetsBlox/milestones{/number}","notifications_url":"https://api.github.com/repos/sallai/NetsBlox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sallai/NetsBlox/labels{/name}","releases_url":"https://api.github.com/repos/sallai/NetsBlox/releases{/id}","deployments_url":"https://api.github.com/repos/sallai/NetsBlox/deployments","created_at":"2016-11-03T19:24:51Z","updated_at":"2016-11-03T19:24:52Z","pushed_at":"2016-11-03T19:31:32Z","git_url":"git://github.com/sallai/NetsBlox.git","ssh_url":"git@github.com:sallai/NetsBlox.git","clone_url":"https://github.com/sallai/NetsBlox.git","svn_url":"https://github.com/sallai/NetsBlox","homepage":"https://www.netsblox.org","size":28317,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"NetsBlox:master","ref":"master","sha":"252d2cd379c69218f9596071eb8ee8d9d97922c9","user":{"login":"NetsBlox","id":11653971,"avatar_url":"https://avatars.githubusercontent.com/u/11653971?v=3","gravatar_id":"","url":"https://api.github.com/users/NetsBlox","html_url":"https://github.com/NetsBlox","followers_url":"https://api.github.com/users/NetsBlox/followers","following_url":"https://api.github.com/users/NetsBlox/following{/other_user}","gists_url":"https://api.github.com/users/NetsBlox/gists{/gist_id}","starred_url":"https://api.github.com/users/NetsBlox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetsBlox/subscriptions","organizations_url":"https://api.github.com/users/NetsBlox/orgs","repos_url":"https://api.github.com/users/NetsBlox/repos","events_url":"https://api.github.com/users/NetsBlox/events{/privacy}","received_events_url":"https://api.github.com/users/NetsBlox/received_events","type":"Organization","site_admin":false},"repo":{"id":32888294,"name":"NetsBlox","full_name":"NetsBlox/NetsBlox","owner":{"login":"NetsBlox","id":11653971,"avatar_url":"https://avatars.githubusercontent.com/u/11653971?v=3","gravatar_id":"","url":"https://api.github.com/users/NetsBlox","html_url":"https://github.com/NetsBlox","followers_url":"https://api.github.com/users/NetsBlox/followers","following_url":"https://api.github.com/users/NetsBlox/following{/other_user}","gists_url":"https://api.github.com/users/NetsBlox/gists{/gist_id}","starred_url":"https://api.github.com/users/NetsBlox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetsBlox/subscriptions","organizations_url":"https://api.github.com/users/NetsBlox/orgs","repos_url":"https://api.github.com/users/NetsBlox/repos","events_url":"https://api.github.com/users/NetsBlox/events{/privacy}","received_events_url":"https://api.github.com/users/NetsBlox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NetsBlox/NetsBlox","description":"a networked visual programming language based on Snap!","fork":false,"url":"https://api.github.com/repos/NetsBlox/NetsBlox","forks_url":"https://api.github.com/repos/NetsBlox/NetsBlox/forks","keys_url":"https://api.github.com/repos/NetsBlox/NetsBlox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetsBlox/NetsBlox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetsBlox/NetsBlox/teams","hooks_url":"https://api.github.com/repos/NetsBlox/NetsBlox/hooks","issue_events_url":"https://api.github.com/repos/NetsBlox/NetsBlox/issues/events{/number}","events_url":"https://api.github.com/repos/NetsBlox/NetsBlox/events","assignees_url":"https://api.github.com/repos/NetsBlox/NetsBlox/assignees{/user}","branches_url":"https://api.github.com/repos/NetsBlox/NetsBlox/branches{/branch}","tags_url":"https://api.github.com/repos/NetsBlox/NetsBlox/tags","blobs_url":"https://api.github.com/repos/NetsBlox/NetsBlox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetsBlox/NetsBlox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetsBlox/NetsBlox/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetsBlox/NetsBlox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetsBlox/NetsBlox/statuses/{sha}","languages_url":"https://api.github.com/repos/NetsBlox/NetsBlox/languages","stargazers_url":"https://api.github.com/repos/NetsBlox/NetsBlox/stargazers","contributors_url":"https://api.github.com/repos/NetsBlox/NetsBlox/contributors","subscribers_url":"https://api.github.com/repos/NetsBlox/NetsBlox/subscribers","subscription_url":"https://api.github.com/repos/NetsBlox/NetsBlox/subscription","commits_url":"https://api.github.com/repos/NetsBlox/NetsBlox/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetsBlox/NetsBlox/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetsBlox/NetsBlox/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetsBlox/NetsBlox/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetsBlox/NetsBlox/contents/{+path}","compare_url":"https://api.github.com/repos/NetsBlox/NetsBlox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetsBlox/NetsBlox/merges","archive_url":"https://api.github.com/repos/NetsBlox/NetsBlox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetsBlox/NetsBlox/downloads","issues_url":"https://api.github.com/repos/NetsBlox/NetsBlox/issues{/number}","pulls_url":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls{/number}","milestones_url":"https://api.github.com/repos/NetsBlox/NetsBlox/milestones{/number}","notifications_url":"https://api.github.com/repos/NetsBlox/NetsBlox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetsBlox/NetsBlox/labels{/name}","releases_url":"https://api.github.com/repos/NetsBlox/NetsBlox/releases{/id}","deployments_url":"https://api.github.com/repos/NetsBlox/NetsBlox/deployments","created_at":"2015-03-25T20:13:41Z","updated_at":"2016-10-27T17:14:14Z","pushed_at":"2016-11-03T23:14:20Z","git_url":"git://github.com/NetsBlox/NetsBlox.git","ssh_url":"git@github.com:NetsBlox/NetsBlox.git","clone_url":"https://github.com/NetsBlox/NetsBlox.git","svn_url":"https://github.com/NetsBlox/NetsBlox","homepage":"https://www.netsblox.org","size":28508,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":33,"forks":4,"open_issues":33,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537"},"html":{"href":"https://github.com/NetsBlox/NetsBlox/pull/537"},"issue":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/issues/537"},"comments":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/issues/537/comments"},"review_comments":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537/comments"},"review_comment":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/pulls/537/commits"},"statuses":{"href":"https://api.github.com/repos/NetsBlox/NetsBlox/statuses/cca54ade769c6798696ff5b0a804a72348a93cc4"}}}}
{"actor":{"display_login":"brollb"}}