Complex robotics domains are handled with a task and motion planning system. The low level motion planning is less important, only the task planner works on a symbolic level. A game engine which can handle high level natural language instructions is called a text engine. The human player sends a command like “open door” to the textadeventure and the internal state of the system is changed.
Most text adventure consists of rooms, an inventory, possible actions and a description written in English to introduce the human player into a scene. On a programming level, such a game is realized with Python classes which accepts parameters. In the overall mainloop, the actions of the player are requested and the internal state of the system is written to the command line.
- Johnson, Phillip. Make Your Own Python Text Adventure. Apress, 2018.
- Python 3 text adventure game, https://codereview.stackexchange.com/questions/194971/python-3-text-adventure-game