No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
claywilkinson Fixing crash when selecting match from inbox.
Change-Id: Iedb7b336477dcc9da6abe18624547605c2e44c78
Latest commit 2c1fef2 Jan 22, 2016
Failed to load latest commit information.
samples-ios Fixing crash when selecting match from inbox. Jan 22, 2016

Google Play Games C++ SDK Samples for iOS

Copyright (C) 2014 Google Inc.


These samples illustrate how to use Google Play Game Services with your iOS game.

  • CollectAllTheStars: Demonstrates how to use the Saved Games feature to save game data. The sample signs the player in, synchronizes their data from a named game save, and then updates the UI to reflect the saved game state.

  • NativeGame: Demonstrates how to manage the signin process in C++ and display achievements and leaderboards.

  • TrivialQuest: Demonstrates how to use the Events and Quests features of Google Play Game Services. The sample displays a sign-in button and four buttons to simulate killing monsters. Clicking a button generates an event, and sends it to Google Play Game Services to track what the player is doing in the game.

  • TbmpSkeleton: A trivial, turn-based multiplayer game. Many players can play together in this thrilling game, in which they send a shared gamestate string back and forth until someone finishes or cancels, or the second-to-last player leaves. Be the last one standing!

  • Button-Clicker: Demonstrates real-time multiplayer using invites or quickmatch. The sample allows cross platform game play across iOS, Android.

Note: In samples with corresponding counterparts for iOS, Android, and Web (particularly, CollectAllTheStars), the player can play a game seamlessly across different platforms. For example, you can play some levels of CollectAllTheStars on your Android device, and then pick up your iOS device and continue where you left off!

How to run a sample

The samples use [CocoaPods]( to manage the dependencies for the Google Play Game SDK. You'll need to install CocoaPods before running the samples.

More information can be found in the Getting Started guide.