Per Andrew Plotkin's blog entry on the game, they used the Sugarcube plug-in for Twine as the starting point, so you're essentially correct!