# tezcavv/quota10endlessrun architecture

> Architecture diagram of the GitHub repository tezcavv/quota10endlessrun, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tezcavv/quota10endlessrun
- Repository: https://github.com/tezcavv/quota10endlessrun

## Overview

Quota10Jam is a Unity game-jam project. The tree suggests a play flow with menu/input, an endless-running environment, obstacle patterns, and game-over UI, plus character and environment assets. The README only identifies the jam entry; no gameplay source excerpts are available, so the flow and links below are inferred from asset and prefab names rather than verified runtime calls.

Main entry points: [`Assets/Policeman.unity`](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Policeman.unity) (Policeman scene), [`Assets/Prefabs/MainMenuUI.prefab`](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/MainMenuUI.prefab) (Main menu), [`Assets/Prefabs/InputManager.prefab`](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/InputManager.prefab) (Player input), [`Assets/Prefabs/EndlessGround.prefab`](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/EndlessGround.prefab) (Endless ground)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Game presentation"]
  node_menu["Main menu<br/>[MainMenuUI.prefab]"]
  node_input["Player input"]
  node_gameover["Game over UI"]
end

subgraph group_gameplay["Gameplay assets"]
  node_scene["Policeman scene<br/>[Policeman.unity]"]
  node_ground["Endless ground"]
  node_segment["Endless segment"]
  node_patterns["Obstacle patterns"]
  node_difficulty["Difficulty manager"]
end

subgraph group_art["World and characters"]
  node_character["Player character"]
  node_pedestrians["Pedestrian models"]
  node_environment["Environment models"]
  node_uiart["UI images"]
end

node_player(("Player"))

node_player -.->|"starts at"| node_menu
node_menu -.->|"enters play"| node_input
node_input -.->|"controls"| node_scene
node_scene -.->|"uses"| node_ground
node_ground -.->|"extends with"| node_segment
node_segment -.->|"may place"| node_patterns
node_difficulty -.->|"may adjust"| node_patterns
node_scene -.->|"may show"| node_gameover
node_scene -.->|"may use"| node_character
node_scene -.->|"may use"| node_pedestrians
node_scene -.->|"may use"| node_environment
node_menu -.->|"may use"| node_uiart

click node_menu "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/MainMenuUI.prefab"
click node_input "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/InputManager.prefab"
click node_gameover "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/Game%20Over%20UI.prefab"
click node_scene "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Policeman.unity"
click node_ground "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/EndlessGround.prefab"
click node_segment "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/EndlessSegment.prefab"
click node_patterns "https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/Prefabs/Obstacles%20Patterns"
click node_difficulty "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/DifficultyManager.prefab"
click node_character "https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/CH_Balanzone_final.fbx"
click node_pedestrians "https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/3DModels/Attori/Pedestrian"
click node_environment "https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/3DModels"
click node_uiart "https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/Images"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_menu,node_input,node_gameover toneBlue
class node_scene,node_ground,node_segment,node_patterns,node_difficulty toneAmber
class node_character,node_pedestrians,node_environment,node_uiart toneMint
class node_player toneIndigo
```

## Components

### Game presentation

- [Main menu](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/MainMenuUI.prefab): `Assets/Prefabs/MainMenuUI.prefab`
- [Player input](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/InputManager.prefab): `Assets/Prefabs/InputManager.prefab`
- [Game over UI](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/Game%20Over%20UI.prefab): `Assets/Prefabs/Game Over UI.prefab`

### Gameplay assets

- [Policeman scene](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Policeman.unity): `Assets/Policeman.unity`
- [Endless ground](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/EndlessGround.prefab): `Assets/Prefabs/EndlessGround.prefab`
- [Endless segment](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/EndlessSegment.prefab): `Assets/Prefabs/EndlessSegment.prefab`
- [Obstacle patterns](https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/Prefabs/Obstacles%20Patterns): `Assets/Prefabs/Obstacles Patterns`
- [Difficulty manager](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/Prefabs/DifficultyManager.prefab): `Assets/Prefabs/DifficultyManager.prefab`

### World and characters

- [Player character](https://github.com/tezcavv/quota10endlessrun/blob/main/Assets/CH_Balanzone_final.fbx): `Assets/CH_Balanzone_final.fbx`
- [Pedestrian models](https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/3DModels/Attori/Pedestrian): `Assets/3DModels/Attori/Pedestrian`
- [Environment models](https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/3DModels): `Assets/3DModels`
- [UI images](https://github.com/tezcavv/quota10endlessrun/tree/main/Assets/Images): `Assets/Images`

### Other components

- **Player**

## Connections

- Player → Main menu: starts at
- Main menu → Player input: enters play
- Player input → Policeman scene: controls
- Policeman scene → Endless ground: uses
- Endless ground → Endless segment: extends with
- Endless segment → Obstacle patterns: may place
- Difficulty manager → Obstacle patterns: may adjust
- Policeman scene → Game over UI: may show
- Policeman scene → Player character: may use
- Policeman scene → Pedestrian models: may use
- Policeman scene → Environment models: may use
- Main menu → UI images: may use
