Building an Interactive Storytelling Framework in Elm
summary
An open source interactive storytelling framework called Elm Narrative Engine uses Elm and the Elm Architecture to run point-and-click stories in HTML/mobile, implements rollback/export like Elm’s time-travel debugger, and exposes a declarative DSL of rule sets plus helper constructors so authors write manuscript-like text and a few rules instead of code. The engine shifts complexity into typed Elm code (splitting items/locations/characters) to keep authoring simple; the framework exists and indeed runs the example story.
AI-written summary · about
chapters (8)
- 0:00Interactive story demo
- 5:32Design goals and inspiration
- 7:12Choosing Elm for the tool
- 9:31Initial API approach
- 11:05Developing declarative rules
- 12:28Creating a DSL for authors
- 14:54Managing type complexity
- 17:18Final thoughts and conclusion
related talks
51mAdventures in Elm
54mBeyond JavaScript Frameworks: Writing Reliable Web Apps With Elm
27mElm, a Truly Innovative Language for the Web
47mElm or how I learned to love front end development
47mHighway to Elm
39mDeveloper Happiness on the Front End with Elm
44mShipping a Production Web App in Elm
50mBeyond JavaScript Frameworks: Writing Reliable Web Apps With Elm
