choose your own adventure

Etymology
From the  series of children's gamebooks which introduced this format.

Noun

 * 1) An interactive book or visual novel written from a second-person point of view, with the reader assuming the role of the protagonist and making choices that determine the main character's actions and the plot's outcome.