> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# General PlayFab samples

> Explore PlayFab code samples across SDKs and engines that demonstrate how to integrate features like authentication, economy, and multiplayer services.

These samples demonstrate how to use various PlayFab features.

| Sample Name                                                                                                               | Platforms        | Engine             | Description                                                                                                                                                                                                    | Demonstrated Capabilities                                               |
| ------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [PlayFabEconomy](https://github.com/PlayFab/PlayFab-Samples/tree/master/Samples/Android/PlayFabCommerce)                  | Android          | Android Studio     | This sample uses Android's in-app billing API and PlayFab client API, to demonstrate an in-app store that exchanges real money for virtual items in PlayFab Economy.                                           | <ul><li>Login</li><li>In app purchases</li></ul>                        |
| [PlayFabSignIn](https://github.com/PlayFab/PlayFab-Samples/tree/master/Samples/Unity/PlayFabSignIn)                       | iOS, Android, PC | Unity              | This sample demonstrates a simple PlayFab sign in flow. You may log in with an email/password, create an account, or log in as a guest. Sign in information may be remembered across executions of the sample. | <ul><li>Login</li></ul>                                                 |
| [PlayFabEventsUnity](https://github.com/PlayFab/PlayFab-Samples/tree/master/Samples/Unity/PlayFabEventsUnity)             | Android, iOS, PC | Unity              | This sample demonstrates sending events from within a Unity title. The sample covers player events, title events and character events.                                                                         | <ul><li>Events</li></ul>                                                |
| [PlayFabLeaderboardsUnity](https://github.com/PlayFab/PlayFab-Samples/tree/master/Samples/Unity/PlayFabLeaderboardsUnity) | Android, iOS, PC | Unity              | This sample demonstrates reading and writing from/to leaderboards from within a Unity title. The sample covers lowest score/best time, high score and cumulative score leaderboards.                           | <ul><li>Leaderboards</li></ul>                                          |
| [ThunderRumble](https://github.com/PlayFab/PlayFab-Samples/tree/master/Samples/Win32/ThunderRumble)                       | PC, XBOX         | C++ DirectX Native | This sample demonstrates scalable cloud dedicated server functionality, using the PlayFab Multiplayer Servers technology to build a complete end-to-end game experience.                                       | <ul><li>Login</li><li>Matchmaking</li><li>Multiplayer Servers</li></ul> |

## See also

* [Multiplayer Servers samples](/services/playfab/multiplayer/servers/server-samples-resources)
* [Party samples](/services/playfab/multiplayer/networking/party-samples)


## Related topics

- [Recipes](/services/playfab/resources/playfab-recipes.md)
- [PlayFab incident response procedures](/services/playfab/multiplayer/servers/comm-sla.md)
- [Setting up PlayFab authentication using Google and HTML5](/services/playfab/identity/player-identity/platform-specific-authentication/google-html5.md)
- [PlayFab fundamentals](/services/playfab/get-started/index.md)
- [Steam Deck Implementation Guide for PlayFab Game Saves](/services/playfab/player-progression/game-saves/steam-deck-implementation.md)
