# Case studies and code samples

To inspire you and help you build a great game for Google Assistant,
you can learn from the development journeys of these games built for smart
displays: Cookie Detective, Gnome Garden, Mime Jam, and Mad Libs. The following
sections describe the gameplay and provide resources for you to
learn development tips and tricks.

## Cookie Detective

In Cookie Detective, players attempt to find a cookie hidden in a kitchen by
asking questions, like *"Is it somewhere yellow?"* or *"Is it somewhere high?"*.
The player wins if they can discover the cookie's hiding place in 10 questions or
less. Cookie Detective features three different kitchens with various difficulty
levels, so players can continue to challenge themselves in new environments
after beating a level.
![](https://developers.google.com/static/assistant/games/images/cookie-detective.png) **Figure 1**. An image of Cookie Detective gameplay.

Cookie Detective explores ideas for kid-friendly games and use cases optimized for
popular smart display locations in the home. It also supports both single and
multiplayer modes.

Check out the following resources to learn from the design process and get ideas
for your own kid-friendly game:

- [Case study](https://www.mediamonks.com/blog/2020/10/how-mediamonks-leveled-up-its-gaming-creds-with-voice)
- [Source code](https://github.com/actions-on-google-labs/cookie-detective-game-nodejs)
- [Developer interview](https://youtu.be/GPBImsQM-OA)
- [Play Cookie Detective](https://assistant.google.com/services/a/uid/00000099ed26bbda)

## Gnome Garden

Gnome Garden features a quirky host, Gnorman, who asks players a series of questions
and uses their responses to grow plants in a garden. Gnorman may ask, *"Would you
rather stroll on a cloud or a sand dune?"* . If you reply with *"cloud"* , Gnorman
adds moss to your garden, replying, *"You know what feels like walking on a cloud?
Moss! And I've planted some on this path."* The garden then populates with rows
of bright green moss.
![](https://developers.google.com/static/assistant/games/images/gnome-garden.png) **Figure 2**. A partially completed garden in Gnome Garden.

Gnome Garden explores a new, experimental type of gameplay, offered by the
ambient nature of smart displays in the home.

Check out the following resources to learn from the design process and get ideas
to create your own unique, ambient experiences:

- [Case study](https://www.b-reel.com/work/google-assistant-games)
- [Source code](https://github.com/actions-on-google-labs/gnome-garden-game-nodejs)
- [Designer interview](https://youtu.be/P3-Btcdwzbs)
- [Play Gnome Garden](https://assistant.google.com/services/a/uid/000000a633941f7b)

## Mime Jam

In Mime Jam, players act out words and phrases that appear on-screen, and their
teammates try to guess the correct word or phrase. Whichever team guesses the
most correct answers throughout the game wins. Mime Jam features a new technology,
[Continuous Match Mode](https://developers.google.com/assistant/games/tech-access), which allows the microphone
to remain open for an extended time for longer gameplay.
![](https://developers.google.com/static/assistant/games/images/mime-jam.png) **Figure 3**. The loading screen for Mime Jam.

Mime Jam explores ideas for creating multiplayer party games with Google Assistant
as the game host.

Check out the following resources to learn from the design process and get ideas
for your own party game:

- [Case study](https://www.b-reel.com/work/google-assistant-games)
- [Developer interview](https://youtu.be/FsQTL3CGV4s)
- [Play Mime Jam](https://assistant.google.com/services/a/uid/0000001b302f9070)

## Mad Libs

Mad Libs displays ideas for words to include in stories on-screen, and players
can either use the suggested words or insert their own words. A narrator guides
players through the game, and, at the end of the game, reads the newly crafted
story aloud.
![](https://developers.google.com/static/assistant/games/images/mad-libs.png) **Figure 4**. The Mad Libs gaming experience on a smart display.

Check out the following resources to learn more about Mad Libs:

- [Case study](https://developers.google.com/assistant/downloads/mad-libs-casestudy.pdf)
- [Play Mad Libs](https://assistant.google.com/services/a/uid/0000001e90753a94)