Python text adventure API