-
Book Overview & Buying
-
Table Of Contents
Practical C# Projects with .NET
By :
Over the course of the chapter we’re going to create an interactive “gamebook” style system that tells branching stories using object oriented programming techniques with C#. These branching stories are formally called gamebooks, but are more popularly known under the name of their most popular success: a line of stories from Bantam Books sold under the title of Choose Your Own Adventure books.
If you’re not familiar with this concept or would like a refresher, here’s the introduction from a short story we’ll be looking at as we prototype our system in this chapter:
Your time machine is ready to go. Do you dare turn it on?
This text represents a node in a branching story, specifically the starting node of our extremely short story.Each story node will have two or more choices associated with it, aside from story nodes representing the end of a story (typically these are either “you...