# dbga-game-jam-team/rocketbuild architecture

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

- Interactive diagram: https://gitdiagram.com/dbga-game-jam-team/rocketbuild
- Repository: https://github.com/dbga-game-jam-team/rocketbuild

## Overview

RocketBuild is a Unity action shooter organized around two documented phases: players assemble a rocket from stat-affecting components, then launch and pilot it through space. The README describes avoiding obstacles, shooting enemies, and pursuing a score. Paths below identify likely runtime owners from the project tree; source excerpts were unavailable, so the graph limits relationships to those explicitly described in the README.

Main entry points: [`Assets/Script/Managers/GameController.cs`](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/GameController.cs) (Rocket flight), [`Assets/Script/Managers/MainMenuManager.cs`](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/MainMenuManager.cs) (Build phase), [`Assets/Script/Managers/ComponentsManager.cs`](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/ComponentsManager.cs) (Rocket components), [`Assets/Script/Rocket/Rocket.cs`](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Rocket/Rocket.cs) (Rocket)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_assembly["Rocket assembly"]
  node_assembly_phase["Build phase<br/>[MainMenuManager.cs]"]
  node_components["Rocket components"]
  node_rocket["Rocket<br/>[Rocket.cs]"]
  node_launch["Launch flow<br/>[GameController.cs]"]
end

subgraph group_flight["Space gameplay"]
  node_flight_phase["Rocket flight<br/>[GameController.cs]"]
  node_score["Game score<br/>[GameController.cs]"]
end

subgraph group_combat["Hazards and combat"]
  node_obstacles["Obstacles"]
  node_enemies["Enemies<br/>[AbsEnemy.cs]"]
  node_weapons["Rocket weapons<br/>[Weapon.cs]"]
end

node_player(("Player"))

node_player -->|"builds in"| node_assembly_phase
node_assembly_phase -->|"chooses"| node_components
node_components -->|"affect stats"| node_rocket
node_player -->|"presses launch"| node_launch
node_launch -->|"starts flight"| node_flight_phase
node_player -->|"drives"| node_flight_phase
node_flight_phase -->|"avoids"| node_obstacles
node_flight_phase -->|"shoots"| node_enemies
node_player -->|"fires if equipped"| node_weapons
node_flight_phase -->|"pursues"| node_score

click node_assembly_phase "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/MainMenuManager.cs"
click node_components "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/ComponentsManager.cs"
click node_rocket "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Rocket/Rocket.cs"
click node_launch "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/GameController.cs"
click node_flight_phase "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/GameController.cs"
click node_obstacles "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Environment/ObstaclesDestroyer.cs"
click node_enemies "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Enemies/AbsEnemy.cs"
click node_weapons "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Weapons/Weapon.cs"
click node_score "https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/GameController.cs"

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_assembly_phase,node_components,node_rocket,node_launch toneBlue
class node_flight_phase,node_score toneAmber
class node_obstacles,node_enemies,node_weapons toneMint
class node_player toneIndigo
```

## Components

### Rocket assembly

- [Build phase](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/MainMenuManager.cs): `Assets/Script/Managers/MainMenuManager.cs`
- [Rocket components](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/ComponentsManager.cs): `Assets/Script/Managers/ComponentsManager.cs`
- [Rocket](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Rocket/Rocket.cs): `Assets/Script/Rocket/Rocket.cs`
- [Launch flow](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/GameController.cs): `Assets/Script/Managers/GameController.cs`

### Space gameplay

- [Rocket flight](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/GameController.cs): `Assets/Script/Managers/GameController.cs`
- [Game score](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Managers/GameController.cs): `Assets/Script/Managers/GameController.cs`

### Hazards and combat

- [Obstacles](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Environment/ObstaclesDestroyer.cs): `Assets/Script/Environment/ObstaclesDestroyer.cs`
- [Enemies](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Enemies/AbsEnemy.cs): `Assets/Script/Enemies/AbsEnemy.cs`
- [Rocket weapons](https://github.com/dbga-game-jam-team/rocketbuild/blob/main/Assets/Script/Weapons/Weapon.cs): `Assets/Script/Weapons/Weapon.cs`

### Other components

- **Player**

## Connections

- Player → Build phase: builds in (evidence: `README.md`)
- Build phase → Rocket components: chooses (evidence: `README.md`)
- Rocket components → Rocket: affect stats (evidence: `README.md`)
- Player → Launch flow: presses launch (evidence: `README.md`)
- Launch flow → Rocket flight: starts flight (evidence: `README.md`)
- Player → Rocket flight: drives (evidence: `README.md`)
- Rocket flight → Obstacles: avoids (evidence: `README.md`)
- Rocket flight → Enemies: shoots (evidence: `README.md`)
- Player → Rocket weapons: fires if equipped (evidence: `README.md`)
- Rocket flight → Game score: pursues (evidence: `README.md`)
