Game Development Reference
In-Depth Information
8 - Flow Charts
Branching from a Flowchart Box
There are two possibilities: the letter will either be in the word or it won't be. This means
we need to add two new boxes to our flowchart. From the "Ask player to guess a letter"
box, we can only move to the "Letter is in secret word" box or the "Letter is not in secret
word" box. This will create a branch (that is, a split) in the flow chart, as show in Figure 8-
4:
Figure 8-4: There are two different things that could happen after
the player guesses, so have two arrows going to separate boxes.
Search WWH ::




Custom Search