{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/23","id":118204949,"html_url":"https://github.com/iron-adventures/iron-adventure-game/pull/23","diff_url":"https://github.com/iron-adventures/iron-adventure-game/pull/23.diff","patch_url":"https://github.com/iron-adventures/iron-adventure-game/pull/23.patch","issue_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/23","number":23,"state":"open","locked":false,"title":"Choices can route to the next scene, from first to last, via lastScene()","user":{"login":"davidasteed","id":11969672,"avatar_url":"https://avatars1.githubusercontent.com/u/11969672?v=3","gravatar_id":"","url":"https://api.github.com/users/davidasteed","html_url":"https://github.com/davidasteed","followers_url":"https://api.github.com/users/davidasteed/followers","following_url":"https://api.github.com/users/davidasteed/following{/other_user}","gists_url":"https://api.github.com/users/davidasteed/gists{/gist_id}","starred_url":"https://api.github.com/users/davidasteed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidasteed/subscriptions","organizations_url":"https://api.github.com/users/davidasteed/orgs","repos_url":"https://api.github.com/users/davidasteed/repos","events_url":"https://api.github.com/users/davidasteed/events{/privacy}","received_events_url":"https://api.github.com/users/davidasteed/received_events","type":"User","site_admin":false},"body":"Each scene is populated with scene data pulled from MongoDB.  Note:  I'm using test data:\r\nvm.playerEmail address in scene.controller.js.  I can either show you how the lastScene() works on my machine, or feel free to build your MondoDB and have the Scene.sceneNext property in each Scene instance set with the _id of the next scene.  \r\n\r\nNote:  the \"end\" Scene will need to the nextScene of the *first* screen in order to loop over all scenes.","created_at":"2017-04-28T18:06:42Z","updated_at":"2017-04-28T18:06:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/23/commits","review_comments_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/23/comments","review_comment_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/23/comments","statuses_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/statuses/a72b7f798967fc39c9e850648824892ab684ad9c","head":{"label":"iron-adventures:advance-to-winscreen","ref":"advance-to-winscreen","sha":"a72b7f798967fc39c9e850648824892ab684ad9c","user":{"login":"iron-adventures","id":27694784,"avatar_url":"https://avatars2.githubusercontent.com/u/27694784?v=3","gravatar_id":"","url":"https://api.github.com/users/iron-adventures","html_url":"https://github.com/iron-adventures","followers_url":"https://api.github.com/users/iron-adventures/followers","following_url":"https://api.github.com/users/iron-adventures/following{/other_user}","gists_url":"https://api.github.com/users/iron-adventures/gists{/gist_id}","starred_url":"https://api.github.com/users/iron-adventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron-adventures/subscriptions","organizations_url":"https://api.github.com/users/iron-adventures/orgs","repos_url":"https://api.github.com/users/iron-adventures/repos","events_url":"https://api.github.com/users/iron-adventures/events{/privacy}","received_events_url":"https://api.github.com/users/iron-adventures/received_events","type":"Organization","site_admin":false},"repo":{"id":88526803,"name":"iron-adventure-game","full_name":"iron-adventures/iron-adventure-game","owner":{"login":"iron-adventures","id":27694784,"avatar_url":"https://avatars2.githubusercontent.com/u/27694784?v=3","gravatar_id":"","url":"https://api.github.com/users/iron-adventures","html_url":"https://github.com/iron-adventures","followers_url":"https://api.github.com/users/iron-adventures/followers","following_url":"https://api.github.com/users/iron-adventures/following{/other_user}","gists_url":"https://api.github.com/users/iron-adventures/gists{/gist_id}","starred_url":"https://api.github.com/users/iron-adventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron-adventures/subscriptions","organizations_url":"https://api.github.com/users/iron-adventures/orgs","repos_url":"https://api.github.com/users/iron-adventures/repos","events_url":"https://api.github.com/users/iron-adventures/events{/privacy}","received_events_url":"https://api.github.com/users/iron-adventures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iron-adventures/iron-adventure-game","description":"Iron Yard final project adventure game","fork":false,"url":"https://api.github.com/repos/iron-adventures/iron-adventure-game","forks_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/forks","keys_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/teams","hooks_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/hooks","issue_events_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/events{/number}","events_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/events","assignees_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/assignees{/user}","branches_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/branches{/branch}","tags_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/tags","blobs_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/refs{/sha}","trees_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/statuses/{sha}","languages_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/languages","stargazers_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/stargazers","contributors_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/contributors","subscribers_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/subscribers","subscription_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/subscription","commits_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/commits{/sha}","git_commits_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/commits{/sha}","comments_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/comments{/number}","issue_comment_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/comments{/number}","contents_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/contents/{+path}","compare_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/merges","archive_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/downloads","issues_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues{/number}","pulls_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls{/number}","milestones_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/milestones{/number}","notifications_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/labels{/name}","releases_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/releases{/id}","deployments_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/deployments","created_at":"2017-04-17T16:20:40Z","updated_at":"2017-04-19T15:11:01Z","pushed_at":"2017-04-28T18:02:57Z","git_url":"git://github.com/iron-adventures/iron-adventure-game.git","ssh_url":"git@github.com:iron-adventures/iron-adventure-game.git","clone_url":"https://github.com/iron-adventures/iron-adventure-game.git","svn_url":"https://github.com/iron-adventures/iron-adventure-game","homepage":null,"size":752,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"iron-adventures:master","ref":"master","sha":"4308737b2680640076a72bde1636b790ae579171","user":{"login":"iron-adventures","id":27694784,"avatar_url":"https://avatars2.githubusercontent.com/u/27694784?v=3","gravatar_id":"","url":"https://api.github.com/users/iron-adventures","html_url":"https://github.com/iron-adventures","followers_url":"https://api.github.com/users/iron-adventures/followers","following_url":"https://api.github.com/users/iron-adventures/following{/other_user}","gists_url":"https://api.github.com/users/iron-adventures/gists{/gist_id}","starred_url":"https://api.github.com/users/iron-adventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron-adventures/subscriptions","organizations_url":"https://api.github.com/users/iron-adventures/orgs","repos_url":"https://api.github.com/users/iron-adventures/repos","events_url":"https://api.github.com/users/iron-adventures/events{/privacy}","received_events_url":"https://api.github.com/users/iron-adventures/received_events","type":"Organization","site_admin":false},"repo":{"id":88526803,"name":"iron-adventure-game","full_name":"iron-adventures/iron-adventure-game","owner":{"login":"iron-adventures","id":27694784,"avatar_url":"https://avatars2.githubusercontent.com/u/27694784?v=3","gravatar_id":"","url":"https://api.github.com/users/iron-adventures","html_url":"https://github.com/iron-adventures","followers_url":"https://api.github.com/users/iron-adventures/followers","following_url":"https://api.github.com/users/iron-adventures/following{/other_user}","gists_url":"https://api.github.com/users/iron-adventures/gists{/gist_id}","starred_url":"https://api.github.com/users/iron-adventures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iron-adventures/subscriptions","organizations_url":"https://api.github.com/users/iron-adventures/orgs","repos_url":"https://api.github.com/users/iron-adventures/repos","events_url":"https://api.github.com/users/iron-adventures/events{/privacy}","received_events_url":"https://api.github.com/users/iron-adventures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iron-adventures/iron-adventure-game","description":"Iron Yard final project adventure game","fork":false,"url":"https://api.github.com/repos/iron-adventures/iron-adventure-game","forks_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/forks","keys_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/teams","hooks_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/hooks","issue_events_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/events{/number}","events_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/events","assignees_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/assignees{/user}","branches_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/branches{/branch}","tags_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/tags","blobs_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/refs{/sha}","trees_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/statuses/{sha}","languages_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/languages","stargazers_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/stargazers","contributors_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/contributors","subscribers_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/subscribers","subscription_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/subscription","commits_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/commits{/sha}","git_commits_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/git/commits{/sha}","comments_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/comments{/number}","issue_comment_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/comments{/number}","contents_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/contents/{+path}","compare_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/merges","archive_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/downloads","issues_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues{/number}","pulls_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls{/number}","milestones_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/milestones{/number}","notifications_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/labels{/name}","releases_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/releases{/id}","deployments_url":"https://api.github.com/repos/iron-adventures/iron-adventure-game/deployments","created_at":"2017-04-17T16:20:40Z","updated_at":"2017-04-19T15:11:01Z","pushed_at":"2017-04-28T18:02:57Z","git_url":"git://github.com/iron-adventures/iron-adventure-game.git","ssh_url":"git@github.com:iron-adventures/iron-adventure-game.git","clone_url":"https://github.com/iron-adventures/iron-adventure-game.git","svn_url":"https://github.com/iron-adventures/iron-adventure-game","homepage":null,"size":752,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/23"},"html":{"href":"https://github.com/iron-adventures/iron-adventure-game/pull/23"},"issue":{"href":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/23"},"comments":{"href":"https://api.github.com/repos/iron-adventures/iron-adventure-game/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iron-adventures/iron-adventure-game/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/iron-adventures/iron-adventure-game/statuses/a72b7f798967fc39c9e850648824892ab684ad9c"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":118,"deletions":139,"changed_files":6}}
{"actor":{"display_login":"davidasteed"}}