Difference between revisions of "WebFund 2013F: Tutorial 6"

From Soma-notes
Jump to navigation Jump to search
(Created page with "In this tutorial you will be playing with [http://homeostasis.scs.carleton.ca/~soma/webfund-2013f/adventure-demo.zip adventure-demo]. Its key features are that it: * keeps tr...")
 
 
Line 10: Line 10:
* Use the player name in the descriptions of the world.
* Use the player name in the descriptions of the world.
* Implement game save/restore (persistent as long as the server is running.)
* Implement game save/restore (persistent as long as the server is running.)
Feel free to make your own editions. Have fun!
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!

Latest revision as of 00:25, 11 October 2013

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!