You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-26Lines changed: 20 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,48 +5,42 @@ Copyright (C) 2014 Google Inc.
5
5
6
6
<h2>Contents</h2>
7
7
8
-
These are the Android samples for Google Play game services.
8
+
These samples illustrate how to use Google Play Game Services with your Android game.
9
9
10
-
***samples-android** - a set of Android NDK samples
10
+
***samples-android** - A set of Android NDK samples.
11
11
12
-
***CollectAllTheStarsNative**. Demonstrates how to use the Snapshots feature to save game data. 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.
12
+
***CollectAllTheStarsNative**: Demonstrates how to use the Saved Games feature to save game data. The sample signs the user in, synchronizes their data from a named game save, and then updates the UI to reflect the saved game state.
13
13
14
-
***TrivialQuestNative**. Demonstrates how to use the Events and Quests features of Google Play Services. The sample presents a signin button and four buttons to simulate killing monsters in-game. When you click the buttons, an event is
15
-
created and sent to Google Play Games to track what the player is doing in game.
14
+
***TrivialQuestNative**: 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 in-game. Each time the player clicks a button, an event is
15
+
created and sent to Google Play Game Services to track what the player is doing in the game.
16
16
17
-
* **minimalist**. Demostrate minimal usage of Google Play game services API.
17
+
* **minimalist**: Demonstrates a minimal use case for the Google Play Game Services API.
18
18
19
-
* **TbmpSkeletonNative** A trivial turn-based-multiplayer game. In this thrilling game, you can invite many friends, then send a shared gamestate string back and forth until someone finishes, cancels, or the second-to-last player leaves.
19
+
* **TbmpSkeletonNative**: A trivial, turn-basedmultiplayer game. You can invite many friends to join you in this thrilling game, in which you send a shared gamestate string back and forth until someone finishes, cancels, or the second-to-last player leaves. Be the last (wo)man standing!
20
20
21
-
* **Teapots**. Demostrate usage of LeaderBoard and Achievement API.
21
+
* **Teapots**: Demonstrates use of the Leaderboard and Achievement APIs.
22
22
23
-
***samples-ios** - a set of iOS Native Client samples
23
+
***samples-ios**: a set of iOS Native Client samples.
24
24
25
-
***ButtonClicker**. Represents the new generation in modern button-clicking excitement. A simple multiplayer game sample that shows how to set up the Google Play real-time multiplayer API, invite friends, automatch, accept invitations, use the waiting room UI, send and receive messages and other multiplayer topics.
25
+
***ButtonClicker**: Represents the new generation in modern button-clicking excitement. A simple multiplayer game sample that shows how to set up the Google Play real-time multiplayer API, invite friends, automatch, accept invitations, use the waiting room UI, send and receive messages and other multiplayer topics.
26
26
27
-
***CollectAllTheStars**. Demonstrates how to use the Snapshots feature to save game data. 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.
27
+
***CollectAllTheStars**: Demonstrates how to use the Snapshots feature to save game data. 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.
28
28
29
-
***TrivialQuest**. Demonstrates how to use the Events and Quests features of Google Play Services. The sample presents a sign in button and four buttons to simulate killing monsters in-game. When you click the buttons, an event is
29
+
***TrivialQuest**: Demonstrates how to use the Events and Quests features of Google Play Services. The sample presents a sign in button and four buttons to simulate killing monsters in-game. When you click the buttons, an event is
30
30
created and sent to Google Play Games to track what the player is doing in game.
31
31
32
-
* **TypeANumber**. Shows leaderboards and achievements. In this exciting game, you type the score you think you deserve. But wait! There is a twist. If you are playing in easy mode, you get the score you requested. However, if you are playing in hard mode, you only get half! (tough game, we know).
32
+
* **TypeANumber**: Shows leaderboards and achievements. In this exciting game, you type the score you think you deserve. But, wait--there's a twist! If you are playing in "easy" mode, you get the score you requested. But, if you play it in "hard" mode, you only get half! Can you handle the challenge?
33
33
34
-
***TbmpSkeleton** A trivial turn-based-multiplayer game. In this thrilling game, you can invite many friends, then send a shared gamestate string back and forth until someone finishes, cancels, or the second-to-last player leaves.
34
+
***TbmpSkeleton**: A trivial turn-based-multiplayer game. In this thrilling game, you can invite many friends to join you, and then send a shared gamestate string back and forth until someone finishes, cancels, or the second-to-last player leaves.
35
35
36
-
**Note:**the samples that have corresponding counterparts for iOS and web (particularly, CollectAllTheStars and TypeANumber) are compatible across the platforms. This means that you can play some levels on CollectAllTheStars on your Android device, and then pick up your iOS device and continue where you left off! For TypeANumber, you will see your achievements and leaderboards on all platforms, and progress obtained on one will be reflected on the others.
36
+
**Note:**In samples with corresponding counterparts for iOS and Web (particularly, CollectAllTheStars and TypeANumber) the player can play a game seamlessly across phones of 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! TypeANumber shows your achievements and leaderboards on all platforms; when you make progress on one platform, that progress is reflected on the other devices, as well.
37
37
38
38
<h2>How to run a sample</h2>
39
-
To use these samples, you will need the Play Games C++ SDK, which you
After downloading the archive, unzip it to the `./gpg-cpp-sdk directory`. Then follow [these directions](https://developers.google.com/games/services/cpp/GettingStartedNativeClient).
49
43
50
-
<h2>Acknowledgement</h2>
51
-
Some of samples are using OpenSource projects below,
44
+
<h2>Acknowledgment</h2>
45
+
Some of these samples use the following open-source project:
0 commit comments