O'Reilly logo

Beginning Android Tablet Games Programming by Jeremy Kerfs

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Planning a One-Player Game: AllTogether

For your first playable game, you create a field of unexploded bombs and a character whose goal is to get from one side to the other without touching one off. To make the game more challenging, you set the bombs in motion. Let’s call this game AllTogether because it incorporates everything you’ve done so far.

Before you get to the code, you need to do some planning. For example, here are some common elements found in most playable games. Not every game has all of these, but for the most part, you can expect them in a typical game:

  • A user-controlled character (the protagonist) who faces the game’s obstacles and challenges and must overcome them
  • Dire consequences, which are the repercussions the protagonist ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required