O'Reilly logo

Microsoft®C# Programming for the absolute beginner by Andy Harris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching the Mini Adventure

You now know enough to write the adventure story mentioned at the beginning of this chapter. The program itself is reasonably simple. However, there is a process to building the program.

Planning the Story

To write this program, I started by writing the silly story on paper and circling the words I thought would be fun to replace with the user’s responses. I then created a variable for each of those words.

Because the code for this program is a little longer than the earlier programs, I have divided it into parts so that I can describe each part of the program individually. You can see the entire program on the CD-ROM that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required