Summary

You accomplished a lot in this chapter. As it stands, TabletPaddle is a decent game that has a lot of room for development and improvement. The difficult and core functionality is present, the physics handles collisions fluidly, and the game responds quickly and correctly. I have compiled a list of some ideas to add to the game that may spark your interest. None of them involve Android touch programming, but they do involve logic and creativity:

  • Reset the game when the ball hits the ground: Right now, the ball just continues to bounce. What if an image with the words “Game Over” appears?
  • Keep score: You can detect when a ball is hit, so why not track the number of hits? Users can then see how well they’re doing.
  • Add levels: This task ...

Get Beginning Android Tablet Games Programming 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.