Chapter    14

Game Kit Recipes

Game Center is an iOS service that increases the “replay factor” of your games. It provides an easy way to implement features such as leaderboards, game achievements tracking and multiplayer gameplay, which can greatly enhance the social aspect of the games you make.

In this chapter, we’ll go through some of the basics of the Game Kit framework, which is what you use to make your games Game Center aware.

Recipe 14-1: Making Your App Game Center Aware

In this recipe you create a very simple game and connect it to Game Center. The game consists of four buttons. When the player taps a button, one of two things may happen: It’s either a “safe” button in which case the player’s score is increased by one and he or she ...

Get iOS 6 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.