# qingtian1927/razearc architecture

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

- Interactive diagram: https://gitdiagram.com/qingtian1927/razearc
- Repository: https://github.com/qingtian1927/razearc

## Overview

RazeArc is a retro arena-FPS prototype. The documented player journey is to enter a three-level run, fight progressively harder arena encounters using weapons and movement, recover health and ammunition, and reach a win or lose outcome with HUD feedback. The tree shows Unity assets, including enemy animation and weapon audio, but no gameplay source excerpts; runtime components therefore use the existing Assets directory, and edges reflect README-documented behavior rather than inspected call paths.

Main entry points: [`Assets`](https://github.com/qingtian1927/razearc/tree/main/Assets) (FPS Run), [`Assets/Audio/Weapons`](https://github.com/qingtian1927/razearc/tree/main/Assets/Audio/Weapons) (Weapon Arsenal), [`Assets/Animations`](https://github.com/qingtian1927/razearc/tree/main/Assets/Animations) (Enemy Animations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_play["Combat Run"]
  node_run["FPS Run"]
  node_arenas["Arena Encounters"]
  node_combat["Enemy Combat"]
  node_movement["Movement"]
  node_recovery["Pickups &amp; Recovery"]
  node_hazards["Arena Hazards"]
  node_progression["Level Progression"]
end

subgraph group_content["Game Content"]
  node_weapons["Weapon Arsenal"]
  node_enemy_animations["Enemy Animations"]
end

subgraph group_feedback["Player Feedback"]
  node_hud["HUD Feedback"]
  node_outcomes["Win / Lose"]
end

node_player(("Player"))

node_player -->|"starts"| node_run
node_run -->|"enters"| node_arenas
node_arenas -->|"forces fights"| node_combat
node_player -->|"uses"| node_movement
node_player -->|"fights with"| node_weapons
node_arenas -->|"offers"| node_recovery
node_arenas -->|"includes"| node_hazards
node_run -->|"advances levels"| node_progression
node_combat -.->|"uses enemy content"| node_enemy_animations
node_run -->|"provides feedback"| node_hud
node_run -->|"ends in"| node_outcomes

click node_run "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_arenas "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_combat "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_movement "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_weapons "https://github.com/qingtian1927/razearc/tree/main/Assets/Audio/Weapons"
click node_recovery "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_hazards "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_progression "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_enemy_animations "https://github.com/qingtian1927/razearc/tree/main/Assets/Animations"
click node_hud "https://github.com/qingtian1927/razearc/tree/main/Assets"
click node_outcomes "https://github.com/qingtian1927/razearc/tree/main/Assets"

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_run,node_arenas,node_combat,node_movement,node_recovery,node_hazards,node_progression toneBlue
class node_weapons,node_enemy_animations toneAmber
class node_hud,node_outcomes toneMint
class node_player toneIndigo
```

## Components

### Combat Run

- [FPS Run](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`
- [Arena Encounters](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`
- [Enemy Combat](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`
- [Movement](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`
- [Pickups & Recovery](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`
- [Arena Hazards](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`
- [Level Progression](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`

### Game Content

- [Weapon Arsenal](https://github.com/qingtian1927/razearc/tree/main/Assets/Audio/Weapons): `Assets/Audio/Weapons`
- [Enemy Animations](https://github.com/qingtian1927/razearc/tree/main/Assets/Animations): `Assets/Animations`

### Player Feedback

- [HUD Feedback](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`
- [Win / Lose](https://github.com/qingtian1927/razearc/tree/main/Assets): `Assets`

### Other components

- **Player**

## Connections

- Player → FPS Run: starts (evidence: `README.md`)
- FPS Run → Arena Encounters: enters (evidence: `README.md`)
- Arena Encounters → Enemy Combat: forces fights (evidence: `README.md`)
- Player → Movement: uses (evidence: `README.md`)
- Player → Weapon Arsenal: fights with (evidence: `README.md`)
- Arena Encounters → Pickups & Recovery: offers (evidence: `README.md`)
- Arena Encounters → Arena Hazards: includes (evidence: `README.md`)
- FPS Run → Level Progression: advances levels (evidence: `README.md`)
- Enemy Combat → Enemy Animations: uses enemy content
- FPS Run → HUD Feedback: provides feedback (evidence: `README.md`)
- FPS Run → Win / Lose: ends in (evidence: `README.md`)
