In 2008-2009, I created a storybook engine that converts a story
file with variables and if-conditions into a statemachine, that is
rendered as a book, with each distinct state as its own page.
Here are some graduates of this engine:
- The Mop is The Key - 3289 page adventure game with inventory items.
- Towers of Hanoi - The classic puzzle game, two alternative solutions, the game tracks that you discover them both.
The source code:
Copyright © 1992,2010 Joel Yliluoma (
http://iki.fi/bisqwit/)