(You can see the ones that the sample needs in its res/values/ids.xml file.) Note your package name and the application ID of the project!įor the Type a Number sample, you need to create leaderboards/achievements. Set up the project in the Developer Console by following these instructions. You can also check how your friends perform in this game by checking out social leaderboards. However, if you are playing in hard mode, you only get half! (tough game, we know). If you are playing in easy mode, you get the score you requested. In this exciting game, you type the score you think you deserve. Demonstrates how to use leaderboards, achievements, events, and friends. The sample signs the user in, synchronizes their data from a named Snapshot, then updates the UI to reflect the game state saved in the Snapshot.
Demonstrates how to use the Snapshots feature to save game data. These are the Android samples for Google Play game services.ĬollectAllTheStars2. Google Play game services - Android Samples