Twine: a tool for creating interactive stories
http://gimcrackd.com/etc/src
"Create your own interactive stories with Twine, the same tool used to produce the stories on this Web site."