Haven't read this, but in case it isn't clear this is a "Choose Your Own Adventure" book, where you make decisions at certain points and turn to different pages. A perfect match for classic Infocom games, :)
Zork: The Malifestro Quest, What-Do-I-Do-Now Books #2
Number of Endings: 18
Plot Summary: The great hero Syovar is being held for ransom by Malifestro, an evil wizard. Bivotar and Juranda must rescue him with the help of two bumbling elves named Fred and Max.
Number of Endings: 18
Plot Summary: The great hero Syovar is being held for ransom by Malifestro, an evil wizard. Bivotar and Juranda must rescue him with the help of two bumbling elves named Fred and Max.