O'Reilly logo

Beginning iPhone Games Development by Peter Bakhirev, Ben Britten Smith, Ian Marsh, Scott Penberthy, PJ Cabrera, Eric Wing

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

Chapter 14. Going Head to Head

In this chapter, you will learn how to create a game that lets two people play against each other using two iPhones or iPod touches. To accomplish this, we will use the GameKit framework, which allows iPhone apps to communicate using a wireless technology called Bluetooth.

Hello Pong!

A great place to begin our journey is the "Hello World" of computer games: Pong. It's a perfect example to use in this chapter for two reasons. If you have never played this game before, this is your chance to get acquainted with and be inspired by one of the great classics. And what's even more important, the simplicity of its rules allows us to avoid spending too much time on trying to understand the game mechanics, so we can focus ...

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