-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hello,
I'm participating in the Interact-IF jam. My team decided to use yarn, and I'm now trying to make a python web-based storytelling app.
My current challenge is that I need to preserve state across web requests. One naive option is to memorise the state as a sequence of player choices and re-run the narrative up to the current point. Clearly, this is suboptimal, even if the story is deterministic (not sure for how long this would be a given in a storytelling context).
A better solution would be to be able to initialise the runner with an optional state. Clearly this would not only be a node, but also variables, etc. I'd appreciate a comment on whether such an approach is consistent with your vision and wouldn't mind giving it a try aiming for a pull request.
Thanks a lot!
Martin