A Python text adventure engine