This post is a portion of Part 14 in my on going series about 2D Game Development using the Allegro 5 library. These posts are in course order. You can see all of the posts in this course by clicking the “2D Game Development” button at the top of this site.

In this video we take the game we have been playing before and add different states. We new have a title screen, and a “lost” screen as well as the ability to play again if we want to.

Full source code can be found here.