Story game using binary tree

I want to make a story game with multiple endings using binary tree. Is it possible? If yes, how to implement it?
Bump
Yes, it's possible. Any way you'd like.

Do you have any more specific questions?
Will it work using this logic? http://www.geeksforgeeks.org/given-a-binary-tree-print-out-all-of-its-root-to-leaf-paths-one-per-line/
And if i were to use this, how can i add the "choice" part?
Will it work using this logic?

Will what work?

And if i were to use this, how can i add the "choice" part?

There are many ways to do one thing. You decide how you want to do it.
Ok, thank you! I'll try coding and make another thread if i had a problem on a particular set of codes.
Topic archived. No new replies allowed.