Skip to content

JosePedroDias/twine-ff

Repository files navigation

Twine Fighting Fantasy

purpose

To be able to adapt fighting fantasy stories or create new ones using twine. I'm using twee2 and Snowman for the purposes of the book adaptation. The utility belt I created is twine-ff.js, which should work just fine with other twine-related engines.

The API is briefly described in API.md. A smaller twine example can be found in Test.tw2, but may be outdated. Refer to TheSleepingDragon.tw2 for the book code.

All writing credits of the original adventure - The Sleeping Dragon - belong to the original author, Tammy Badowski. I adapted the book from here. 🙇‍

If you lose yourself, take a peek at the graph I'm annotating as I adapt the book here.

setting up twee2 (on windows)

choco install ruby
gem install twee2

setting up twee2 (on mac)

gem install twee2

creating a book w/ twee2

twee2 build TheSleepingDragon.tw2 TheSleepingDragon.html

Then visit the resulting HTML file.

TODO LIST

  • for this book
    • adapt the whole book
    • finish graphviz graph
    • test drive the thing
  • later, maybe...
    • expand fighting to support optional luck tests, escaping and beatemup mode (several foes at the same time)