Chapter 8. The Snake Game

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 ...

Get Learning Java by Building Android Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.