Chapter 16 Adding Leaderboards and Achievements

Apple Game Frameworks and Technologies — by Tammy Coron (150 / 193)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Part 5 Build Social Games with GameKit | TOC | Add Game Center Capability Using Xcode 👉

Social gaming is nothing new — people have been playing online games together for quite a while now. When you stop to think about it, social gaming is a great way to build a community around your game, which can help make your game more popular on the App Store.

But social gaming was a lot more complicated to set up than it is today. Players needed to find a way to connect with other players, and game developers often had to create a robust back-end system to handle the gameplay and synchronization of data.

Today, however, social gaming is a lot easier thanks to Apple’s Game Center network and GameKit framework. Game Center is Apple’s social gaming network. With Game Center, players can compare leaderboard ranks, earn achievements, and enjoy multiplayer gaming experiences. With GameKit, developers can make all of that possible.

In this chapter, you’ll learn how to add Game Center support to an already fully-playable mobile dice game, Hog Dice. In this chapter, you’ll learn how to add Game Center support to an already fully-playable mobile dice game. Meet Hog Dice, shown in the following image:

images/AddingLeaderboardsAndAchievements/hog-dice-game.png

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.