# Mini Games

**OK Glass, play a game.**
[Video](https://www.youtube.com/watch?v=9naxeHGIaRY)

With tons of tiny sensors and a screen that fits neatly above the eye,
Glass is an exciting new place to play. We hacked together
five simple games that experiment with the unique features of Glass
and demonstrate some of the possibilities for gaming.

Test out the games and learn a little more about their features in the
following sections. We hope our experiments inspire you to take a closer
look at the Glass platform and build awesome Glassware.
[GET THE GAMES](https://glass.google.com/u/0/glassware)

## User Experience

We built the games to play well on Glass by utilizing its
unique features and design.

### Voice invocation

We bundled a few games together in the Mini Games Glassware, but you can
jump directly into each one from the main voice menu. This is an important
theme on Glass: use voice actions to minimize the time it takes to go
from intent to action.

### Sensors

Glass sensors provide a unique playground for novel and intuitive user experiences.
Whether that's tilting your head in [Balance](https://developers.google.com/glass/samples/mini-games#balance), firing with your voice in
[Clay Shooter](https://developers.google.com/glass/samples/mini-games#clay_shooter), or slicing with your hands in
[Shape Splitter](https://developers.google.com/glass/samples/mini-games#shape_splitter), these games show how the sensors open up
some new gaming possibilities.

### Simplicity

Each game is visually simple and straightforward to play.
We intentionally wanted games that are quick to get into
when you have a few, free minutes and just as easy to get
out of when you want to turn your attention back to reality.

## Tennis

Your head's your racket in this rally. The gyroscope and accelerometer
team up to precisely gauge the player's head tilts to move left and right.


We used the compact [Min3D library](https://code.google.com/p/min3d/)
on top of OpenGL to render the ball and the court.

![](https://developers.google.com/static/glass/images/games-tennis.png)

## Balance


Finally, a way to find out how well you'd do at Swiss finishing school.
Shift your head to keep a precarious pile of shapes from toppling over.

We used [Box2D](https://code.google.com/p/box2d/)
to build a robust physics simulation and
[AndEngine](https://github.com/nicolasgramlich/AndEngine)
to do the rendering.

![](https://developers.google.com/static/glass/images/games-balance.png)

## Clay Shooter


A classic shooting game with a new point of view. Say "Pull!"
and a pigeon is launched in the direction you're looking.
The accelerometer and some Newtonian physics help determine
the pigeon's path.


We used the compact [Min3D library](https://code.google.com/p/min3d/)
on top of OpenGL to render the game.

![](https://developers.google.com/static/glass/images/games-clay-shooter.png)

## Matcher

Put your memory and concentration to the test on a twist of a classic
card-matching game. The gyroscope and accelerometer team up to precisely
follow the position of the player's head.


We used the Photosphere camera mode to map the surrounding cards
and the compact [Min3D library](https://code.google.com/p/min3d/)
on top of OpenGL to render the game.

![](https://developers.google.com/static/glass/images/games-matcher.png)

## Shape Splitter


Have fun slicing and dicing shapes into oblivion.

We detect "slices"
when players move their hands in front of the Glass camera.

![](https://developers.google.com/static/glass/images/games-splitter.png)

## Want to build games for Glass?

Head over to the to the [GDK documentation](https://developers.google.com/glass/develop/gdk) to start
building Glassware.