This example shows Qt's ability to combine the animation framework and the state machine framework to create a game.
The purpose of the game is to destroy all submarines to win the current level. The boat can be controlled using left and right keys. To fire a bomb you can press up and down keys.
Files: