Chapter 4
Here’s were we will put color versions of the images, updates, and other extras.
If you “look under the hood” of a computer simulation or game you will find that what drives the application is a set of computer programs. It is not necessary to understand any specific programming language or even to have ever written a program. Nonetheless in order to understand how simulations work, you need to understand how the algorithms that drive them work – at least well enough to be able to talk about what they are doing and how they are doing it. In order to do that you need a vocabulary for talking about algorithms. This chapter provides that vocabulary in the form of flowcharts which will be used throughout the remainder of the book to describe and outline the simulations and games you will develop.

-
Algorithms
-
Example 1: A Bad Algorithm and Basic Flowcharts
-
Example 2: Navigating an Automated Telephone Answering System: Decisions, Input, and Output
-
Re-Cap
-
Example 3: Mowing The Lawn: Modules
-
Example 4: Making an Egg Salad: Iteration, Complexity, and Parameters
-
Summary
-
Concepts
-
Terminology
-
-
References, Notes & Further Resources
Images
*Please note: all images are copyrighted, permission to use an image must be obtained from Wiley (and possibly also the original sources).










