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

C H A P T E R  7

Building a Two-Player Game

You have done some fantastic work on games for Android tablets. Now you’re going to add another level to the work by enabling one person to play against others who are nearby. This is a crucial step in making games that gather a huge following. If you look at the numerous popular games right now, the vast majority are played primarily for the ability to play friends and strangers from users’ own homes.

Adding the functionality that connects multiple devices gets fairly complicated. Luckily, the Android documentation provides samples that you can adapt to achieve your goals, so all you have to do is understand how the code works and then incorporate it into your games.

In this chapter, you work on ...

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