Funny, I was thinking of writing precisely that kind of book. Less like an interactive game than a maze story (aka "choose your own adventure"). a hypertext adventure.
BTW, here's some fascinating background about the choose-your-own-adventure book series.
http://www.tcj.com/hoodedutilitarian/2010/09/9447/
http://samizdat.cc/cyoa/
the main problem with such hypertext fiction is that it seems too "gamey" and that it requires a lot of time to set up all the branches. Even then, the payoff is relatively small. The writer can take days or weeks, and the reader can fly through the hypertext in 5 minutes....
Still, there are lots of possibilities.