games-samples icon indicating copy to clipboard operation
games-samples copied to clipboard

A collection of samples to discuss and showcase games in Android apps.

Android Games Samples Repository

This repository contains sample projects demonstrating various aspects of developing games for Android. A description of the high-level directories in this repo follows:

Android Game Development Kit samples

See the agdk/README.md file for descriptions of individual samples.

TrivialKart sample

TrivialKart is a sample game demonstrating use of Google Play technologies on Android.

TrivialKart is currently available for the Godot game engine and the Unity engine.

  • trivialkart/trivialkart-godot

Demonstrates use of Google Play Billing for in-app purchases.

  • trivialkart/trivialkart-unity

Demonstrates use of multiple Google Play technologies:

  • Google Play Billing for in-app purchases using Unity IAP
  • Google Play Games Services
  • Google Play Games for PC
  • Play Integrity

Google Play Games for PC samples

The googleplaygamesforpc/ directory contains samples and tools specific to Google Play Games for PC.

  • googleplaygamesforpc/unity_projects/platform_utils_package

Example tooling to help automate configuring a Unity engine project to target Google Play Games for PC.