{"action":"closed","number":149,"pull_request":{"url":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/149","id":109151200,"html_url":"https://github.com/TeamFarce/MIRCH/pull/149","diff_url":"https://github.com/TeamFarce/MIRCH/pull/149.diff","patch_url":"https://github.com/TeamFarce/MIRCH/pull/149.patch","issue_url":"https://api.github.com/repos/TeamFarce/MIRCH/issues/149","number":149,"state":"closed","locked":false,"title":"Refactored to allow for multiple players","user":{"login":"jacobsax","id":3986555,"avatar_url":"https://avatars0.githubusercontent.com/u/3986555?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobsax","html_url":"https://github.com/jacobsax","followers_url":"https://api.github.com/users/jacobsax/followers","following_url":"https://api.github.com/users/jacobsax/following{/other_user}","gists_url":"https://api.github.com/users/jacobsax/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobsax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobsax/subscriptions","organizations_url":"https://api.github.com/users/jacobsax/orgs","repos_url":"https://api.github.com/users/jacobsax/repos","events_url":"https://api.github.com/users/jacobsax/events{/privacy}","received_events_url":"https://api.github.com/users/jacobsax/received_events","type":"User","site_admin":false},"body":"Refactored to allow for multiple players. Player, Rooms (this is odd as\r\nthey had two Room lists, so I’ve given each a distinct name) and\r\nCharacters have been moved into gameSnapshot. An array of gameSnapshots\r\nnow exists in MIRCH, with two new functions - one to access the current\r\ngame snapshot (getCurrentGameSnapshot()) and one to move to the next\r\ngame snapshot in the list. Two game snapshots are created, although i\r\ncan not guarantee that these are identical (we can’t copy across the\r\nobjects due to Java’s lack of functional deep copy) so this has to be\r\nmanaged in the game generation class. Currently only the 1st game\r\nsnapshot is played - the second is fully populated but is never used, its up to peter to sort\r\nout transitions from one to the other.","created_at":"2017-03-05T14:55:56Z","updated_at":"2017-03-05T15:24:55Z","closed_at":"2017-03-05T15:24:55Z","merged_at":"2017-03-05T15:24:55Z","merge_commit_sha":"0a94b16d92a03ad958ae8109c493198d80481d17","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/149/commits","review_comments_url":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/149/comments","review_comment_url":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TeamFarce/MIRCH/issues/149/comments","statuses_url":"https://api.github.com/repos/TeamFarce/MIRCH/statuses/2af12253f8915b55d681df228d9c1bff14f7bf78","head":{"label":"jacobsax:master","ref":"master","sha":"2af12253f8915b55d681df228d9c1bff14f7bf78","user":{"login":"jacobsax","id":3986555,"avatar_url":"https://avatars0.githubusercontent.com/u/3986555?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobsax","html_url":"https://github.com/jacobsax","followers_url":"https://api.github.com/users/jacobsax/followers","following_url":"https://api.github.com/users/jacobsax/following{/other_user}","gists_url":"https://api.github.com/users/jacobsax/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobsax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobsax/subscriptions","organizations_url":"https://api.github.com/users/jacobsax/orgs","repos_url":"https://api.github.com/users/jacobsax/repos","events_url":"https://api.github.com/users/jacobsax/events{/privacy}","received_events_url":"https://api.github.com/users/jacobsax/received_events","type":"User","site_admin":false},"repo":{"id":83969975,"name":"MIRCH","full_name":"jacobsax/MIRCH","owner":{"login":"jacobsax","id":3986555,"avatar_url":"https://avatars0.githubusercontent.com/u/3986555?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobsax","html_url":"https://github.com/jacobsax","followers_url":"https://api.github.com/users/jacobsax/followers","following_url":"https://api.github.com/users/jacobsax/following{/other_user}","gists_url":"https://api.github.com/users/jacobsax/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobsax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobsax/subscriptions","organizations_url":"https://api.github.com/users/jacobsax/orgs","repos_url":"https://api.github.com/users/jacobsax/repos","events_url":"https://api.github.com/users/jacobsax/events{/privacy}","received_events_url":"https://api.github.com/users/jacobsax/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacobsax/MIRCH","description":"Repo for the MIRCH SEPR game","fork":true,"url":"https://api.github.com/repos/jacobsax/MIRCH","forks_url":"https://api.github.com/repos/jacobsax/MIRCH/forks","keys_url":"https://api.github.com/repos/jacobsax/MIRCH/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacobsax/MIRCH/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacobsax/MIRCH/teams","hooks_url":"https://api.github.com/repos/jacobsax/MIRCH/hooks","issue_events_url":"https://api.github.com/repos/jacobsax/MIRCH/issues/events{/number}","events_url":"https://api.github.com/repos/jacobsax/MIRCH/events","assignees_url":"https://api.github.com/repos/jacobsax/MIRCH/assignees{/user}","branches_url":"https://api.github.com/repos/jacobsax/MIRCH/branches{/branch}","tags_url":"https://api.github.com/repos/jacobsax/MIRCH/tags","blobs_url":"https://api.github.com/repos/jacobsax/MIRCH/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacobsax/MIRCH/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacobsax/MIRCH/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacobsax/MIRCH/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacobsax/MIRCH/statuses/{sha}","languages_url":"https://api.github.com/repos/jacobsax/MIRCH/languages","stargazers_url":"https://api.github.com/repos/jacobsax/MIRCH/stargazers","contributors_url":"https://api.github.com/repos/jacobsax/MIRCH/contributors","subscribers_url":"https://api.github.com/repos/jacobsax/MIRCH/subscribers","subscription_url":"https://api.github.com/repos/jacobsax/MIRCH/subscription","commits_url":"https://api.github.com/repos/jacobsax/MIRCH/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacobsax/MIRCH/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacobsax/MIRCH/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacobsax/MIRCH/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacobsax/MIRCH/contents/{+path}","compare_url":"https://api.github.com/repos/jacobsax/MIRCH/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacobsax/MIRCH/merges","archive_url":"https://api.github.com/repos/jacobsax/MIRCH/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacobsax/MIRCH/downloads","issues_url":"https://api.github.com/repos/jacobsax/MIRCH/issues{/number}","pulls_url":"https://api.github.com/repos/jacobsax/MIRCH/pulls{/number}","milestones_url":"https://api.github.com/repos/jacobsax/MIRCH/milestones{/number}","notifications_url":"https://api.github.com/repos/jacobsax/MIRCH/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacobsax/MIRCH/labels{/name}","releases_url":"https://api.github.com/repos/jacobsax/MIRCH/releases{/id}","deployments_url":"https://api.github.com/repos/jacobsax/MIRCH/deployments","created_at":"2017-03-05T12:57:13Z","updated_at":"2017-03-05T12:57:14Z","pushed_at":"2017-03-05T15:19:29Z","git_url":"git://github.com/jacobsax/MIRCH.git","ssh_url":"git@github.com:jacobsax/MIRCH.git","clone_url":"https://github.com/jacobsax/MIRCH.git","svn_url":"https://github.com/jacobsax/MIRCH","homepage":"https://teamfarce.github.io/MIRCH/","size":96531,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"TeamFarce:master","ref":"master","sha":"b412cb4a3bd57212ac859216441caccf33682722","user":{"login":"TeamFarce","id":23315223,"avatar_url":"https://avatars3.githubusercontent.com/u/23315223?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamFarce","html_url":"https://github.com/TeamFarce","followers_url":"https://api.github.com/users/TeamFarce/followers","following_url":"https://api.github.com/users/TeamFarce/following{/other_user}","gists_url":"https://api.github.com/users/TeamFarce/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamFarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamFarce/subscriptions","organizations_url":"https://api.github.com/users/TeamFarce/orgs","repos_url":"https://api.github.com/users/TeamFarce/repos","events_url":"https://api.github.com/users/TeamFarce/events{/privacy}","received_events_url":"https://api.github.com/users/TeamFarce/received_events","type":"Organization","site_admin":false},"repo":{"id":70139732,"name":"MIRCH","full_name":"TeamFarce/MIRCH","owner":{"login":"TeamFarce","id":23315223,"avatar_url":"https://avatars3.githubusercontent.com/u/23315223?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamFarce","html_url":"https://github.com/TeamFarce","followers_url":"https://api.github.com/users/TeamFarce/followers","following_url":"https://api.github.com/users/TeamFarce/following{/other_user}","gists_url":"https://api.github.com/users/TeamFarce/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamFarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamFarce/subscriptions","organizations_url":"https://api.github.com/users/TeamFarce/orgs","repos_url":"https://api.github.com/users/TeamFarce/repos","events_url":"https://api.github.com/users/TeamFarce/events{/privacy}","received_events_url":"https://api.github.com/users/TeamFarce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TeamFarce/MIRCH","description":"Repo for the MIRCH SEPR game","fork":false,"url":"https://api.github.com/repos/TeamFarce/MIRCH","forks_url":"https://api.github.com/repos/TeamFarce/MIRCH/forks","keys_url":"https://api.github.com/repos/TeamFarce/MIRCH/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeamFarce/MIRCH/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeamFarce/MIRCH/teams","hooks_url":"https://api.github.com/repos/TeamFarce/MIRCH/hooks","issue_events_url":"https://api.github.com/repos/TeamFarce/MIRCH/issues/events{/number}","events_url":"https://api.github.com/repos/TeamFarce/MIRCH/events","assignees_url":"https://api.github.com/repos/TeamFarce/MIRCH/assignees{/user}","branches_url":"https://api.github.com/repos/TeamFarce/MIRCH/branches{/branch}","tags_url":"https://api.github.com/repos/TeamFarce/MIRCH/tags","blobs_url":"https://api.github.com/repos/TeamFarce/MIRCH/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeamFarce/MIRCH/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeamFarce/MIRCH/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeamFarce/MIRCH/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeamFarce/MIRCH/statuses/{sha}","languages_url":"https://api.github.com/repos/TeamFarce/MIRCH/languages","stargazers_url":"https://api.github.com/repos/TeamFarce/MIRCH/stargazers","contributors_url":"https://api.github.com/repos/TeamFarce/MIRCH/contributors","subscribers_url":"https://api.github.com/repos/TeamFarce/MIRCH/subscribers","subscription_url":"https://api.github.com/repos/TeamFarce/MIRCH/subscription","commits_url":"https://api.github.com/repos/TeamFarce/MIRCH/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeamFarce/MIRCH/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeamFarce/MIRCH/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeamFarce/MIRCH/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeamFarce/MIRCH/contents/{+path}","compare_url":"https://api.github.com/repos/TeamFarce/MIRCH/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeamFarce/MIRCH/merges","archive_url":"https://api.github.com/repos/TeamFarce/MIRCH/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeamFarce/MIRCH/downloads","issues_url":"https://api.github.com/repos/TeamFarce/MIRCH/issues{/number}","pulls_url":"https://api.github.com/repos/TeamFarce/MIRCH/pulls{/number}","milestones_url":"https://api.github.com/repos/TeamFarce/MIRCH/milestones{/number}","notifications_url":"https://api.github.com/repos/TeamFarce/MIRCH/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeamFarce/MIRCH/labels{/name}","releases_url":"https://api.github.com/repos/TeamFarce/MIRCH/releases{/id}","deployments_url":"https://api.github.com/repos/TeamFarce/MIRCH/deployments","created_at":"2016-10-06T09:20:29Z","updated_at":"2017-02-25T18:29:00Z","pushed_at":"2017-03-05T15:24:55Z","git_url":"git://github.com/TeamFarce/MIRCH.git","ssh_url":"git@github.com:TeamFarce/MIRCH.git","clone_url":"https://github.com/TeamFarce/MIRCH.git","svn_url":"https://github.com/TeamFarce/MIRCH","homepage":"https://teamfarce.github.io/MIRCH/","size":96531,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/149"},"html":{"href":"https://github.com/TeamFarce/MIRCH/pull/149"},"issue":{"href":"https://api.github.com/repos/TeamFarce/MIRCH/issues/149"},"comments":{"href":"https://api.github.com/repos/TeamFarce/MIRCH/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TeamFarce/MIRCH/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/TeamFarce/MIRCH/statuses/2af12253f8915b55d681df228d9c1bff14f7bf78"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Comprs","id":6759740,"avatar_url":"https://avatars2.githubusercontent.com/u/6759740?v=3","gravatar_id":"","url":"https://api.github.com/users/Comprs","html_url":"https://github.com/Comprs","followers_url":"https://api.github.com/users/Comprs/followers","following_url":"https://api.github.com/users/Comprs/following{/other_user}","gists_url":"https://api.github.com/users/Comprs/gists{/gist_id}","starred_url":"https://api.github.com/users/Comprs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Comprs/subscriptions","organizations_url":"https://api.github.com/users/Comprs/orgs","repos_url":"https://api.github.com/users/Comprs/repos","events_url":"https://api.github.com/users/Comprs/events{/privacy}","received_events_url":"https://api.github.com/users/Comprs/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":205,"deletions":136,"changed_files":21}}
{"actor":{"display_login":"Comprs"}}