-
Book Overview & Buying
-
Table Of Contents
Practical C# Projects with .NET
By :
Now that we have a good understanding of the application we’re trying to build and a simple prototype, we can start exploring what it would take to build a better solution.While our prototype was functional, expanding our story in length would necessitate a significant amount of duplication through copying and pasting code. Handling branching by increasing the number of choices the user could choose or giving those subsequent story nodes choices of their own would quickly result in a mess of unmaintainable code.Instead, we want a system that is modular and maintainable and can support stories of any size without duplicating key logic.To accomplish this, we’ll design a series of classes to represent the various parts of our story engine
Change the font size
Change margin width
Change background colour