In this chapter, we will get straight down to designing and implementing a clone of the highly addictive Snake game. We will look at the design of the game and learn how to animate some bitmaps. Then we will look at a few aspects of the code that are new, such as our coordinate system. After that, we will whiz through the implementation of the game. Finally, we will look at how we could enhance our game.
In this chapter, we will cover the following topics:
Examine the design of our game
Look at the coordinate system of our Snake game
Examine the code structure so that when we come to implement the game, it will be more straightforward
Learn about animation with sprite sheets at the same time as implementing the home screen of our game
Break the code for the Snake game into manageable chunks and run through its full implementation
Enhance the game a little