# husnainhaider/goliath architecture

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

- Interactive diagram: https://gitdiagram.com/husnainhaider/goliath
- Repository: https://github.com/husnainhaider/goliath

## Overview

This repository presents a Unity action game about exposing the lie empowering each chapter’s giant. The main player workflow is to scout a boss, strike Truth Runes with the Resonant Sling, exploit the resulting brittle window with the greatsword, then choose mercy, sealing, or corruption. Orators and the Chorus add a crowd-pressure system that affects boss aggression and rewards. The supplied tree contains Unity package-cache files, not the game’s implementation, so gameplay nodes have no source paths; relationships shown are documented in the README.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_combat["Boss Combat"]
  node_scouting["Boss scouting"]
  node_sling["Resonant Sling"]
  node_truth_runes["Truth Runes"]
  node_brittle["Brittle windows"]
  node_greatsword["Greatsword"]
  node_boss["Chapter giant"]
  node_phase["Posture and phases"]
end

subgraph group_world["World Systems"]
  node_orators["Orators"]
  node_chorus["Chorus meter"]
end

subgraph group_campaign["Campaign Progression"]
  node_choice["Post-fight choice"]
  node_oaths["Oaths and burdens"]
  node_routes["NG+ routes"]
  node_chapters["Chapter arc"]
end

node_player(("Player"))

node_player -->|"scouts"| node_scouting
node_player -->|"fires at"| node_sling
node_sling -->|"strikes"| node_truth_runes
node_truth_runes -->|"creates"| node_brittle
node_player -->|"commits with"| node_greatsword
node_greatsword -->|"attacks"| node_boss
node_brittle -->|"exposes"| node_boss
node_boss -->|"can trigger"| node_phase
node_player -->|"strikes"| node_orators
node_orators -->|"lowers pressure"| node_chorus
node_chorus -->|"tweaks aggression"| node_boss
node_chorus -->|"affects rewards"| node_choice
node_player -->|"chooses"| node_choice
node_choice -->|"can unlock"| node_oaths
node_choice -->|"shapes"| node_routes
node_chapters -->|"pairs lie with"| node_boss

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_scouting,node_sling,node_truth_runes,node_brittle,node_greatsword,node_boss,node_phase toneBlue
class node_orators,node_chorus toneAmber
class node_choice,node_oaths,node_routes,node_chapters toneMint
class node_player toneIndigo
```

## Components

### Boss Combat

- **Boss scouting**
- **Resonant Sling**
- **Truth Runes**
- **Brittle windows**
- **Greatsword**
- **Chapter giant**
- **Posture and phases**

### World Systems

- **Orators**
- **Chorus meter**

### Campaign Progression

- **Post-fight choice**
- **Oaths and burdens**
- **NG+ routes**
- **Chapter arc**

### Other components

- **Player**

## Connections

- Player → Boss scouting: scouts (evidence: `README.md`)
- Player → Resonant Sling: fires at (evidence: `README.md`)
- Resonant Sling → Truth Runes: strikes (evidence: `README.md`)
- Truth Runes → Brittle windows: creates (evidence: `README.md`)
- Player → Greatsword: commits with (evidence: `README.md`)
- Greatsword → Chapter giant: attacks (evidence: `README.md`)
- Brittle windows → Chapter giant: exposes (evidence: `README.md`)
- Chapter giant → Posture and phases: can trigger (evidence: `README.md`)
- Player → Orators: strikes (evidence: `README.md`)
- Orators → Chorus meter: lowers pressure (evidence: `README.md`)
- Chorus meter → Chapter giant: tweaks aggression (evidence: `README.md`)
- Chorus meter → Post-fight choice: affects rewards (evidence: `README.md`)
- Player → Post-fight choice: chooses (evidence: `README.md`)
- Post-fight choice → Oaths and burdens: can unlock (evidence: `README.md`)
- Post-fight choice → NG+ routes: shapes (evidence: `README.md`)
- Chapter arc → Chapter giant: pairs lie with (evidence: `README.md`)
