Chapter 9

Turned-Based Gaming with Game Center

Apple announced iOS 5 at its own World Wide Developers Conference (WWDC) in 2011. In addition to a number of smaller enhancements that this new SDK brought to Game Center, it included one very important new feature: turned-based gaming is the newest addition to the Game Center platform. With turn-based gaming, you can now provide your users with asynchronous gaming. Turned-based games are simply any game in which players take turns playing, such as in tic-tac-toe, chess, Battleship, and Monopoly.

Turned-based gaming on iOS has become very popular in the past few years, starting with Words with Friends. Words with Friends, shown in Figure 9–1, is an asynchronous word game similar to Scrabble. Each ...

Get Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch 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.