Pardon my intrusion here. If I'm not mistaken, Loren built this using JavaScript and HTML. If you're looking for a framework to create your own text adventure, you might try text-engine. The commands and interface are a bit different, but you could achieve the same look (and even animate the display of the text) with a bit of CSS.