# Overview

Game Modes define the overall structure and rules of gameplay in Reality. Each game mode combines a custom `RealityGameMode` class with a `RealityGameData` asset that configures teams, voice chat, UI widgets, and gameplay phases. Phases, defined as `RealityGamePhase` assets, control how the match flows—from warm-up and active play to end-game—through actions, conditions, and transitions. Together, these systems make it easy to build everything from simple free-for-all matches to complex team-based or round-based experiences, with full control over scoring, spawning, and logic.

<br>

## Gamephase diagram with player event.

<figure><img src="/files/og88CU2wTjrFkwvxHcki" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://beyond-sandbox.gitbook.io/realitysdk/documentation/gamemode/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
