I used Twinery.org to generate code for a choose-your-own-adventure story.