Software
Text Based Gamev1.0
An original text based adventure game prototype written in Python.
About
This is a text based adventure game prototype which I have written using Python. I designed the code so that the game could easily be extended (i.e. have rooms, items, etc. added) by way of only requiring one or two function calls. It also has an event system where the programmer can make special things happen in certain situations when a normal action is performed (picking up an object, for example).
The full source code, complete with a lot of comments, is available on this page and there is also a short evaluation of the project if you are interested.
Requirements
This program requires Python 3 to be installed. Python 2 or earlier is not supported.
- Type 'north', 'south', 'east' or 'west' to go in their respective directions or, if you prefer, 'n', 's', 'e' or 'w'.
- Type 'take' followed by the name of an object to pick it up (if you can).
- Type 'drop' followed by the name of an object in your inventory to drop it.
- To unlock something, such as a door, use the following syntax: 'unlock (thing) with (object)'.
- Type 'open' to open something, such as a door.
- Type 'use' to use something.
- Type 'inventory' or 'i' to view your inventory.
- Type 'look' or 'l' to look at the room you are in.
- Type 'save' to save your progress. Note: Only available in the C Version.
- Type 'quit' or 'q' to quit.
