WebFund 2013F: Assignment 4: Difference between revisions
Replaced content with "'''This assignment is not yet finalized.'''" |
No edit summary |
||
Line 1: | Line 1: | ||
'''This assignment is not yet finalized.''' | '''This assignment is not yet finalized.''' | ||
In this assignment you will be extending <tt>adventure-ajax-demo</tt> covered in [[WebFund 2013F: Tutorial 9|Tutorial 9]] with a simple editor interface and a persistent MongoDB datastore. Your modifications should be as follows: | |||
# [5] Store the rooms data in a MongoDB collection entitled "2406rooms" and have the game use this collection rather than the in-memory rooms object. | |||
# [5] Make the starting room configurable by adding a special room structure called "start" that has only one property, "roomName", that is the name of the room to start in. Make sure the rest of the game does not accidentally use the start room as a room. | |||
# [ | |||
Add code to the game that detects if there are | |||
# [2] Have <tt>/editor</tt> be the URL of your editor (just as <tt>/game</tt> is the URL for the game), and add a link to it |
Revision as of 20:12, 22 November 2013
This assignment is not yet finalized.
In this assignment you will be extending adventure-ajax-demo covered in Tutorial 9 with a simple editor interface and a persistent MongoDB datastore. Your modifications should be as follows:
- [5] Store the rooms data in a MongoDB collection entitled "2406rooms" and have the game use this collection rather than the in-memory rooms object.
- [5] Make the starting room configurable by adding a special room structure called "start" that has only one property, "roomName", that is the name of the room to start in. Make sure the rest of the game does not accidentally use the start room as a room.
- [
Add code to the game that detects if there are
- [2] Have /editor be the URL of your editor (just as /game is the URL for the game), and add a link to it