Narratore: a library that can be used to create and run interactive stories and narrative games

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! :wink:

11 Likes

This seems quite nifty!

I wrote a StoryNexus client in Swift a few years back, and it was quite fun. Never wrote a comprehensive implementation, though.