We are finally moving up to the tough stuff. This chapter introduces the important and interesting subjects of loops, functions, arrays, and types. All of these are essential to any computer game program.
In this chapter, I’m going to explain each of the processes separately and then create a simple game that incorporates them all. By the time you get there, you will know how to use loops, functions, arrays, and types.