A text-based adventure game engine