Create experiences that keep players coming back to your game. Add leaderboards, achievements, matchmaking, challenges, and more.
Common Statements Assignment statements. You have already used an assignment statement, and it is probably the most commonly used part of any programming language. The Equal Symbol (=) is used to assign a value to a variable or array. Take the following examples. AppGameKit is a fantastic tool to use in the classroom to get students coding fast and producing professional looking games & apps quickly. The way the software handles sprites and graphics in general, and the simple user interface, allows students to pick up the basics quickly and keep them engaged whilst learning.
SDKs
- iOS 3.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Overview
GameKit offers features that you can use to create great social games.
GameKit Features
GameKit provides you with the ability to create apps that allow players to interact with each other. Multiplayer apps allow your game to create real-time network matches. Players can invite other players to join their game. Most importantly, players can receive invitations to join a match even when your game is not running. Your game is running on each device and the instances of your game exchange match and voice data with each other. Turn-Based Gaming provides store-and-forward network match infrastructure where the match is played out over a series of discrete turns. This kind of match can be played without requiring all of the players to be connected simultaneously.
Game Center offers a centralized game service that connects players to each other. Game Center implements many different features:
Achievements provide the ability to track a player’s accomplishments in your game.
Leaderboards allow your game to store and fetch player scores from Game Center.
Challenges allow a player to challenge other players to complete an achievement or to beat a leaderboard score.
Topics
class GKLocalPlayerAn object representing the authenticated Game Center player on a device.
class GKPlayerAn object that provides information about a player on Game Center.
class GKBasePlayerThe top-level player object containing basic identifying information for a player.
protocol GKLocalPlayerListenerGame Kit Klokhuis
A protocol that handles events for Game Center accounts.
Gamekit Scam
protocol GKInviteEventListenerA protocol that handles invite events from Game Center.
class GKLeaderboardAn object used to read data from a leaderboard stored on Game Center.
class GKLeaderboardSetAn object that organizes leaderboards into logical and coherent groups.
class GKScoreAn object containing information for a score that was earned by the player.
class GKAchievementAn object that communicates with Game Center about the local player’s progress toward completing an achievement.
class GKAchievementDescriptionAn object holding text and images used to describe an achievement for an app.
class GKChallengeAn object representing a challenge issued by the local player to another player.
class GKScoreChallengeAn object representing a challenge based on a score in a leaderboard.
class GKAchievementChallengeA challenge sent to another player urging them to complete a specific achievement.
protocol GKChallengeListenerclass GKGameCenterViewControllerA single user interface used to display achievements and leaderboards supported by Game Center.
class GKDialogControllerAn object that provides the ability to present Game Center view controller classes in macOS.

protocol GKViewControllerThe abstract base protocol adopted by Game Center view controller classes.
class GKTurnBasedMatchAn object used to implement turn-based matches between sets of players on Game Center.
class GKTurnBasedExchangeThe exchange information sent between players even when a player is not the current player.
class GKTurnBasedExchangeReplyclass GKTurnBasedParticipantThe information that describes a participant in a turn-based match.
protocol GKTurnBasedEventListenerThe protocol you implement to handle exchanges and match-related events for turn-based games.
class GKMatchA peer-to-peer network between a group of devices that are connected to Game Center.
class GKMatchRequestA set of parameters for a new live or turn-based match.
class GKVoiceChatA voice channel that allows a set of players in a match to speak with each other.
class GKMatchmakerAn object that programmatically creates matches with other players and receives match invitations sent by other players.
class GKMatchmakerViewControllerA user interface for inviting friends to a match or for allowing Game Center to fill the remaining players needed for a match.
class GKTurnBasedMatchmakerViewController
A user interface that allows players to manage the turn-based matches that they are participating in.
class GKInviteA matchmaking invitation sent by another player to the local player.
class GKNotificationBannerA notification banner that displays text to the player.
class GKSavedGameprotocol GKSavedGameListenerThe protocol you implement to provide custom actions when a saved game file is modified or a conflict is found.
Game Center EntitlementA Boolean value that indicates whether users of the app may see and compare achievements on a leaderboard, invite friends, and start multiplayer games.
struct GKErrorGameKit APIs that have been deprecated and are no longer supported.