Google Cloud Platform Blog
Product updates, customer stories, and tips and tricks on Google Cloud Platform
How to build scalable mobile games on Google Cloud Platform
Sunday, November 3, 2013
You launch your mobile game and get a million downloads in a few days. Your dream is coming true! But your success is bittersweet, because your servers struggle to keep up with demand and your users, frustrated by timeouts, start publishing negative reviews while you scramble to increase server capacity. It doesn't have to be that way. The platform you choose to build on can help determine whether your launch is successful.
Using
Google Cloud Platform
can help you build an application that scales seamlessly from hundreds to millions of users. We have published two open source games, along with a
technical paper
and
reference architecture
on developing mobile games on Google Cloud Platform. Here's a preview of the reference architecture:
The first open source game is Griddler, which allows you to solve riddles against the clock. It demonstrates how to build a casual mobile game with both single-player and multi-player modes, invite friends using push notifications, store data in a NoSQL datastore and manage some basic game statistics.
The full source code for Griddler is published on GitHub:
Java game backend
,
Android client
with
iOS client
.
The second mobile game sample is Cloud Adventure, a text-based adventure game that takes after the tradition of Colossal Cave, Zork and other classics. It showcases a few interesting scenarios, such as a pre and postgame lobby for multiple players, unique nickname selection and saving points in the game.
The full source code for Cloud Adventures is also published on GitHub:
Java game backend
and
Android client
.
Both of these games are ready for you to download, deploy and play. You can explore the source code and extend them too, such as adding a visual clue to each riddle in Griddler.
There are already many
successful games
powered by Google Cloud Platform, and we can’t wait to hear about your success. Let us know what you think in the comments.
- Posted by Grzegorz Gogolowicz, Solutions Architect
Free Trial
GCP Blogs
Big Data & Machine Learning
Kubernetes
GCP Japan Blog
Firebase Blog
Apigee Blog
Popular Posts
Understanding Cloud Pricing
World's largest event dataset now publicly available in BigQuery
A look inside Google’s Data Center Networks
Enter the Andromeda zone - Google Cloud Platform’s latest networking stack
Getting your data on, and off, of Google App Engine
Labels
Announcements
193
Big Data & Machine Learning
134
Compute
271
Containers & Kubernetes
92
CRE
27
Customers
107
Developer Tools & Insights
151
Events
38
Infrastructure
44
Management Tools
87
Networking
43
Open
1
Open Source
135
Partners
102
Pricing
28
Security & Identity
85
Solutions
24
Stackdriver
24
Storage & Databases
164
Weekly Roundups
20
Feed
Subscribe by email
Demonstrate your proficiency to design, build and manage solutions on Google Cloud Platform.
Learn More
Technical questions? Check us out on
Stack Overflow
.
Subscribe to
our monthly newsletter
.
Google
on
Follow @googlecloud
Follow
Follow