Just a random thought.
Remember the "books" you could get that would let you read until you got to a decision, and it was "To go left, turn to page 73, to turn right, goto page 6"?
I can't remember the name, but there was one that I remember from when I was little. It had several differant color keys you need to find to get through obsticals, a hedge maze that if you didn't go through just right would attack you, and finally a tower with a potion in it that you had to pick what to do with it that would either restore everything to the way it was supposed to be, or send you back to the start.
Dang, haven't thought of that book in years...