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 ...

Get Beginning iPhone Games Development 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.