All games have a certain flow; this defines what the players can do in a certain part of the game. It is called a game-screen flow diagram. A game-screen flow is an overall flow of the game that shows everything the player can do in the game. An example of a game-screen flow diagram is as follows:
The preceding diagram is a flowchart that represents the flow of a game from start to finish.
It might look confusing at first, so let me walk you through it.
Every diagram starts at the... Start node (surprise!), and the Start node always branches out into one screen, and never more than one.
The first screen is what is presented to the player for the first time; in our previous diagram, it is the title screen, but you can show other screens if you want (an intro animation, maybe?).
After that, we are presented with a question: does the player click on the quit button or not? If yes, then the game quits; if not, then the game still continues.