The example included in this document is a simple game.
The objective of the game is to act as the titular sheepdog, herding the sheep into the fold as quickly as possible. The sheep won't leave the fold once they've entered it. If they're not behaving to the your liking, bark using the Fire key.
As the flow of the game is dependant on the individual player, the relevant screenshots are included with the code comments in the next section.
The figure below illustrates some screen shots of the Sheepdog game included with this tutorial:
Figure: Sheepdog screen shots