A text based game engine