ChatGPT's sense of state and history is amazing. I've played a text-based adventure game which ended after 27 events/actions. I tell it I want to start over from the start, and it successfully prompts the original starting scenario.