WebFund 2013F: Tutorial 6
In this tutorial you will be playing with adventure-demo. Its key features are that it:
- keeps track of player state (what room the player is in), and
- generates room web pages (including routes) using a simple JSON description of rooms.
To get credit for this tutorial, make a non-trivial (but still simple) modification/extension to the adventure. Ideas for possible extensions:
- Add a few rooms that are properly connected to the rest.
- Make the text of the room links the title of the rooms (rather than their JSON property name).
- Make it so that the player ends up in the secret room 25% of the time when they click on a new link.
- Add an object that you can pick up and move to another room.
- Use the player name in the descriptions of the world.
- Implement game save/restore (persistent as long as the server is running.)
This list of course is far from exhaustive. Feel free to be creative!
Note you need to show a TA a version that works. So, first make very simple changes then go on to make more complex ones.
Have fun!