For what it's worth telling GPT-4 you want it to simulate a text adventure game that lets the user enter their actions and dialogue, and pasting the setting and some characters works much better than AI Dungeon did when I tried it last year.
GPT-4's context size is much larger, and when it starts to misbehave, you can just remind it how the game works and it's good to go again.