# Gallery

> Simple Football and Simple Hockey as complete Studio projects to open, play and read.

Two small example games, made in the Studio. Open one, press Play, and
change anything: your copy is yours.

| Game                                              | File                                                            |
| ------------------------------------------------- | --------------------------------------------------------------- |
| Simple Football: disc football on a small stadium | [simple-football.disko.zip](/gallery/simple-football.disko.zip) |
| Simple Hockey: the same rules, with a puck        | [simple-hockey.disko.zip](/gallery/simple-hockey.disko.zip)     |

## Open one

![The Studio's project list with Import and New project at the top.](/shots/studio-projects.png)

1. Download a file above.
2. In the Studio's project list, press **Import** and pick it.

## What to look at

- **Events**, group _Match_: kickoff, goals, the clock and victory.
- **Variables**: each player's `team`, the scores, an `elapsed` timer.
- **Prefabs**: `Player`, one per player, with a kick.
- **UI**: drag names between teams; Start needs `manage-match`.
- **Roles**: `host`, held by the room owner.

They match the code examples `simple-football` and `simple-hockey`
exactly; tests play both and expect the same results.
