Hello Swift forums! I just released the first version of Narratore, a Swift package that can be used to create interactive stories, like narrative games. The stories are written in Swift using a simple DSL, and a story in Narratore
is a Swift package. The base engine is modular and easily extensible, thanks to heavy usage of types and generics to express the relationships between the various components.
The library comes with a companion package that works as a showcase of the main features of Narratore
, and contains a full interactive story that can be run from the command line.
I hope you'll enjoy it!