A text adventure game featuring time travel.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
web
.gitignore
LICENSE
README.md
TODO.rst
adventure.py
content.py
exc.py
new_map.yaml
requirements.txt
sprites.py
tests.py
tools.py
world_map.yaml

README.md

Adventure

A text adventure game featuring time travel.

This project is not really in a playable state. I am still working on the framework, so the actual story needs a lot of work.

Installation

This game was written for python 3.

I usually use a virtual env, like so: virtualenv -p /path/to/python/bin/python3.4 .
. bin/activate
Then install the requirements:
pip install -r requirements.txt

To play, simply run python adventure.py

Map Layout

we create a world for each timezone past/present each room has a set of coordinates indicating its place in three dimensions

present: x-y-z: title: str description: [long, short] blocked: bool blocked_reason: str blocked_description: str unblocked: str room_items: title: str description: str use_location: [x, y, z]


Further info:

  • blocked_description: This is added to the description if the room is blocked.

  • unblocked: This is printed when the room is unlocked.

  • use_location Where this is item needed.