Python API for the creation of text adventure games