{"action":"created","comment":{"url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/comments/44880212","id":44880212,"diff_hunk":"@@ -19,20 +19,30 @@ const GAMES = require('../constants/games');\n const Disk = require('../utils/disk');\n \n export default class DefaultConfig {\n-  constructor() {\n+  constructor({\n+      username=\"\",\n+      user0=\"sculpture0\",\n+      user1=\"sculpture1\",\n+      user2=\"sculpture2\"\n+  } = {}) {","path":"src/config/default-config.js","position":10,"original_position":10,"commit_id":"d85009268ad8c3f613078c9512773760ec5ece92","original_commit_id":"d85009268ad8c3f613078c9512773760ec5ece92","user":{"login":"sunjay","id":530939,"avatar_url":"https://avatars.githubusercontent.com/u/530939?v=3","gravatar_id":"","url":"https://api.github.com/users/sunjay","html_url":"https://github.com/sunjay","followers_url":"https://api.github.com/users/sunjay/followers","following_url":"https://api.github.com/users/sunjay/following{/other_user}","gists_url":"https://api.github.com/users/sunjay/gists{/gist_id}","starred_url":"https://api.github.com/users/sunjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunjay/subscriptions","organizations_url":"https://api.github.com/users/sunjay/orgs","repos_url":"https://api.github.com/users/sunjay/repos","events_url":"https://api.github.com/users/sunjay/events{/privacy}","received_events_url":"https://api.github.com/users/sunjay/received_events","type":"User","site_admin":false},"body":"Note the `= {}` this technique is a weird quirk that is absolutely necessary if you want to be able to pass no object into this constructor. It doesn't matter if every argument has a default value, you still need `= {}` to make the parameter optional. Causes some really weird errors if you leave that out.","created_at":"2015-11-15T23:48:42Z","updated_at":"2015-11-15T23:48:42Z","html_url":"https://github.com/anyWareSculpture/game-logic/pull/2#discussion_r44880212","pull_request_url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/comments/44880212"},"html":{"href":"https://github.com/anyWareSculpture/game-logic/pull/2#discussion_r44880212"},"pull_request":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/2","id":50760374,"html_url":"https://github.com/anyWareSculpture/game-logic/pull/2","diff_url":"https://github.com/anyWareSculpture/game-logic/pull/2.diff","patch_url":"https://github.com/anyWareSculpture/game-logic/pull/2.patch","issue_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/2","number":2,"state":"open","locked":false,"title":"Handshake + Handshake Game Implementation (game logic)","user":{"login":"sunjay","id":530939,"avatar_url":"https://avatars.githubusercontent.com/u/530939?v=3","gravatar_id":"","url":"https://api.github.com/users/sunjay","html_url":"https://github.com/sunjay","followers_url":"https://api.github.com/users/sunjay/followers","following_url":"https://api.github.com/users/sunjay/following{/other_user}","gists_url":"https://api.github.com/users/sunjay/gists{/gist_id}","starred_url":"https://api.github.com/users/sunjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunjay/subscriptions","organizations_url":"https://api.github.com/users/sunjay/orgs","repos_url":"https://api.github.com/users/sunjay/repos","events_url":"https://api.github.com/users/sunjay/events{/privacy}","received_events_url":"https://api.github.com/users/sunjay/received_events","type":"User","site_admin":false},"body":"The complete game logic implementation\r\n\r\n(See example view implementation in https://github.com/anyWareSculpture/text-emulator/pull/1)","created_at":"2015-11-15T23:45:42Z","updated_at":"2015-11-15T23:48:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc6e970eaf4f9b46ec65ae0fbd5626975f2bfcaa","assignee":{"login":"kintel","id":186094,"avatar_url":"https://avatars.githubusercontent.com/u/186094?v=3","gravatar_id":"","url":"https://api.github.com/users/kintel","html_url":"https://github.com/kintel","followers_url":"https://api.github.com/users/kintel/followers","following_url":"https://api.github.com/users/kintel/following{/other_user}","gists_url":"https://api.github.com/users/kintel/gists{/gist_id}","starred_url":"https://api.github.com/users/kintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kintel/subscriptions","organizations_url":"https://api.github.com/users/kintel/orgs","repos_url":"https://api.github.com/users/kintel/repos","events_url":"https://api.github.com/users/kintel/events{/privacy}","received_events_url":"https://api.github.com/users/kintel/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/2/commits","review_comments_url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/2/comments","review_comment_url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/2/comments","statuses_url":"https://api.github.com/repos/anyWareSculpture/game-logic/statuses/d85009268ad8c3f613078c9512773760ec5ece92","head":{"label":"anyWareSculpture:handshake","ref":"handshake","sha":"d85009268ad8c3f613078c9512773760ec5ece92","user":{"login":"anyWareSculpture","id":9117429,"avatar_url":"https://avatars.githubusercontent.com/u/9117429?v=3","gravatar_id":"","url":"https://api.github.com/users/anyWareSculpture","html_url":"https://github.com/anyWareSculpture","followers_url":"https://api.github.com/users/anyWareSculpture/followers","following_url":"https://api.github.com/users/anyWareSculpture/following{/other_user}","gists_url":"https://api.github.com/users/anyWareSculpture/gists{/gist_id}","starred_url":"https://api.github.com/users/anyWareSculpture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anyWareSculpture/subscriptions","organizations_url":"https://api.github.com/users/anyWareSculpture/orgs","repos_url":"https://api.github.com/users/anyWareSculpture/repos","events_url":"https://api.github.com/users/anyWareSculpture/events{/privacy}","received_events_url":"https://api.github.com/users/anyWareSculpture/received_events","type":"Organization","site_admin":false},"repo":{"id":36253643,"name":"game-logic","full_name":"anyWareSculpture/game-logic","owner":{"login":"anyWareSculpture","id":9117429,"avatar_url":"https://avatars.githubusercontent.com/u/9117429?v=3","gravatar_id":"","url":"https://api.github.com/users/anyWareSculpture","html_url":"https://github.com/anyWareSculpture","followers_url":"https://api.github.com/users/anyWareSculpture/followers","following_url":"https://api.github.com/users/anyWareSculpture/following{/other_user}","gists_url":"https://api.github.com/users/anyWareSculpture/gists{/gist_id}","starred_url":"https://api.github.com/users/anyWareSculpture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anyWareSculpture/subscriptions","organizations_url":"https://api.github.com/users/anyWareSculpture/orgs","repos_url":"https://api.github.com/users/anyWareSculpture/repos","events_url":"https://api.github.com/users/anyWareSculpture/events{/privacy}","received_events_url":"https://api.github.com/users/anyWareSculpture/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anyWareSculpture/game-logic","description":"Game logic for anyWare","fork":false,"url":"https://api.github.com/repos/anyWareSculpture/game-logic","forks_url":"https://api.github.com/repos/anyWareSculpture/game-logic/forks","keys_url":"https://api.github.com/repos/anyWareSculpture/game-logic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anyWareSculpture/game-logic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anyWareSculpture/game-logic/teams","hooks_url":"https://api.github.com/repos/anyWareSculpture/game-logic/hooks","issue_events_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/events{/number}","events_url":"https://api.github.com/repos/anyWareSculpture/game-logic/events","assignees_url":"https://api.github.com/repos/anyWareSculpture/game-logic/assignees{/user}","branches_url":"https://api.github.com/repos/anyWareSculpture/game-logic/branches{/branch}","tags_url":"https://api.github.com/repos/anyWareSculpture/game-logic/tags","blobs_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/refs{/sha}","trees_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anyWareSculpture/game-logic/statuses/{sha}","languages_url":"https://api.github.com/repos/anyWareSculpture/game-logic/languages","stargazers_url":"https://api.github.com/repos/anyWareSculpture/game-logic/stargazers","contributors_url":"https://api.github.com/repos/anyWareSculpture/game-logic/contributors","subscribers_url":"https://api.github.com/repos/anyWareSculpture/game-logic/subscribers","subscription_url":"https://api.github.com/repos/anyWareSculpture/game-logic/subscription","commits_url":"https://api.github.com/repos/anyWareSculpture/game-logic/commits{/sha}","git_commits_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/commits{/sha}","comments_url":"https://api.github.com/repos/anyWareSculpture/game-logic/comments{/number}","issue_comment_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/comments{/number}","contents_url":"https://api.github.com/repos/anyWareSculpture/game-logic/contents/{+path}","compare_url":"https://api.github.com/repos/anyWareSculpture/game-logic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anyWareSculpture/game-logic/merges","archive_url":"https://api.github.com/repos/anyWareSculpture/game-logic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anyWareSculpture/game-logic/downloads","issues_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues{/number}","pulls_url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls{/number}","milestones_url":"https://api.github.com/repos/anyWareSculpture/game-logic/milestones{/number}","notifications_url":"https://api.github.com/repos/anyWareSculpture/game-logic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anyWareSculpture/game-logic/labels{/name}","releases_url":"https://api.github.com/repos/anyWareSculpture/game-logic/releases{/id}","created_at":"2015-05-25T20:45:10Z","updated_at":"2015-05-25T20:46:56Z","pushed_at":"2015-11-15T23:45:43Z","git_url":"git://github.com/anyWareSculpture/game-logic.git","ssh_url":"git@github.com:anyWareSculpture/game-logic.git","clone_url":"https://github.com/anyWareSculpture/game-logic.git","svn_url":"https://github.com/anyWareSculpture/game-logic","homepage":null,"size":436,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"anyWareSculpture:master","ref":"master","sha":"28747ed6f5deedb3897c53b25ed1728601d5dbaf","user":{"login":"anyWareSculpture","id":9117429,"avatar_url":"https://avatars.githubusercontent.com/u/9117429?v=3","gravatar_id":"","url":"https://api.github.com/users/anyWareSculpture","html_url":"https://github.com/anyWareSculpture","followers_url":"https://api.github.com/users/anyWareSculpture/followers","following_url":"https://api.github.com/users/anyWareSculpture/following{/other_user}","gists_url":"https://api.github.com/users/anyWareSculpture/gists{/gist_id}","starred_url":"https://api.github.com/users/anyWareSculpture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anyWareSculpture/subscriptions","organizations_url":"https://api.github.com/users/anyWareSculpture/orgs","repos_url":"https://api.github.com/users/anyWareSculpture/repos","events_url":"https://api.github.com/users/anyWareSculpture/events{/privacy}","received_events_url":"https://api.github.com/users/anyWareSculpture/received_events","type":"Organization","site_admin":false},"repo":{"id":36253643,"name":"game-logic","full_name":"anyWareSculpture/game-logic","owner":{"login":"anyWareSculpture","id":9117429,"avatar_url":"https://avatars.githubusercontent.com/u/9117429?v=3","gravatar_id":"","url":"https://api.github.com/users/anyWareSculpture","html_url":"https://github.com/anyWareSculpture","followers_url":"https://api.github.com/users/anyWareSculpture/followers","following_url":"https://api.github.com/users/anyWareSculpture/following{/other_user}","gists_url":"https://api.github.com/users/anyWareSculpture/gists{/gist_id}","starred_url":"https://api.github.com/users/anyWareSculpture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anyWareSculpture/subscriptions","organizations_url":"https://api.github.com/users/anyWareSculpture/orgs","repos_url":"https://api.github.com/users/anyWareSculpture/repos","events_url":"https://api.github.com/users/anyWareSculpture/events{/privacy}","received_events_url":"https://api.github.com/users/anyWareSculpture/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anyWareSculpture/game-logic","description":"Game logic for anyWare","fork":false,"url":"https://api.github.com/repos/anyWareSculpture/game-logic","forks_url":"https://api.github.com/repos/anyWareSculpture/game-logic/forks","keys_url":"https://api.github.com/repos/anyWareSculpture/game-logic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anyWareSculpture/game-logic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anyWareSculpture/game-logic/teams","hooks_url":"https://api.github.com/repos/anyWareSculpture/game-logic/hooks","issue_events_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/events{/number}","events_url":"https://api.github.com/repos/anyWareSculpture/game-logic/events","assignees_url":"https://api.github.com/repos/anyWareSculpture/game-logic/assignees{/user}","branches_url":"https://api.github.com/repos/anyWareSculpture/game-logic/branches{/branch}","tags_url":"https://api.github.com/repos/anyWareSculpture/game-logic/tags","blobs_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/refs{/sha}","trees_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anyWareSculpture/game-logic/statuses/{sha}","languages_url":"https://api.github.com/repos/anyWareSculpture/game-logic/languages","stargazers_url":"https://api.github.com/repos/anyWareSculpture/game-logic/stargazers","contributors_url":"https://api.github.com/repos/anyWareSculpture/game-logic/contributors","subscribers_url":"https://api.github.com/repos/anyWareSculpture/game-logic/subscribers","subscription_url":"https://api.github.com/repos/anyWareSculpture/game-logic/subscription","commits_url":"https://api.github.com/repos/anyWareSculpture/game-logic/commits{/sha}","git_commits_url":"https://api.github.com/repos/anyWareSculpture/game-logic/git/commits{/sha}","comments_url":"https://api.github.com/repos/anyWareSculpture/game-logic/comments{/number}","issue_comment_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/comments{/number}","contents_url":"https://api.github.com/repos/anyWareSculpture/game-logic/contents/{+path}","compare_url":"https://api.github.com/repos/anyWareSculpture/game-logic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anyWareSculpture/game-logic/merges","archive_url":"https://api.github.com/repos/anyWareSculpture/game-logic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anyWareSculpture/game-logic/downloads","issues_url":"https://api.github.com/repos/anyWareSculpture/game-logic/issues{/number}","pulls_url":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls{/number}","milestones_url":"https://api.github.com/repos/anyWareSculpture/game-logic/milestones{/number}","notifications_url":"https://api.github.com/repos/anyWareSculpture/game-logic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anyWareSculpture/game-logic/labels{/name}","releases_url":"https://api.github.com/repos/anyWareSculpture/game-logic/releases{/id}","created_at":"2015-05-25T20:45:10Z","updated_at":"2015-05-25T20:46:56Z","pushed_at":"2015-11-15T23:45:43Z","git_url":"git://github.com/anyWareSculpture/game-logic.git","ssh_url":"git@github.com:anyWareSculpture/game-logic.git","clone_url":"https://github.com/anyWareSculpture/game-logic.git","svn_url":"https://github.com/anyWareSculpture/game-logic","homepage":null,"size":436,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/anyWareSculpture/game-logic/pulls/2"},"html":{"href":"https://github.com/anyWareSculpture/game-logic/pull/2"},"issue":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/2"},"comments":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/anyWareSculpture/game-logic/statuses/d85009268ad8c3f613078c9512773760ec5ece92"}}}}