A very basic text-adventure engine in Python