Escape from Tenopia #1 Tenopia Island
By Edward Packard, Illustrated by David Perry
This is, pretty much, a Choose Your Own Adventure book. The big difference, is that while there are many paths/choices you can make, there is only one ending (The End), and you have to make all the right choices to get to it.
Here's all the Tenopia books:
#1 Tenopia Island, by Edward Packard
#2 Trapped in the Sea Kingdom, by Richard Brightfield
#3 Terror on Kabran, by Richard Brightfield
#4 Star System Tenopia by Richard Brightfield