Beginning iPhone Games Development
by Eric Wing, PJ Cabrera, Scott Penberthy, Ian Marsh, Ben Britten Smith, Peter Bakhirev
Chapter 15. Party Time
Being able to play a computer game with or against one other human is definitely an improvement over going at it alone. But wouldn't it be better if we could invite even more of our friends to participate? That's exactly what we are going to do in this chapter. You will learn how to use sockets, streams, and Bonjour to create games that several people can play at once over Bluetooth or a local Wi-Fi network.
8 × 3 = ?
Just as in the previous chapter, we need to pick a game idea to implement before we can plunge into coding. This time we want as many people as possible playing together, coming and going as they please without interrupting the game play—like a real party that you might throw at your house. Pong is limited to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access