# kdoo4000/pw-manager architecture

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

- Interactive diagram: https://gitdiagram.com/kdoo4000/pw-manager
- Repository: https://github.com/kdoo4000/pw-manager

## Overview

PW MANAGER is a wrestling-promotion management simulation. The documented player workflow is to manage a roster and promotion, schedule shows, assemble and validate a card, simulate matches and promos, then apply results to game state; the README also describes season progression and multi-slot saves. The tree exposes data-layer files but not the documented Domain, Infrastructure, or Presentation directories, so those capabilities use the existing Assets/Game path. Relationships below follow README documentation; no source excerpts were available.

Main entry points: [`Assets/Game`](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game) (Show Card), [`Assets/Game/Data/Catalogs/StaticContentCatalog.cs`](https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Catalogs/StaticContentCatalog.cs) (Static Content), [`Assets/Game/Data/Loading/StaticContentRegistry.cs`](https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Loading/StaticContentRegistry.cs) (Content Loading), [`Assets/Game/Data/Generation/WrestlerGenerator.cs`](https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Generation/WrestlerGenerator.cs) (Wrestler Generation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_management["Promotion Management"]
  node_roster["Roster Management"]
  node_promotion["Promotion Setup"]
  node_season["Season Scheduler"]
end

subgraph group_booking["Show Booking"]
  node_card["Show Card"]
  node_timeline["Card Timeline"]
  node_validation["Booking Validation"]
end

subgraph group_simulation["Simulation"]
  node_match["Match Evaluation"]
  node_promo["Promo Evaluation"]
  node_results["Result Application"]
end

subgraph group_platform["Game Platform"]
  node_state["Game State"]
  node_save["Save Slots"]
  node_content["Static Content"]
  node_contentdefs["Content Definitions"]
  node_contentloader["Content Loading"]
  node_wrestlergen["Wrestler Generation"]
end

node_player(("Player"))

node_player -->|"manages"| node_roster
node_player -->|"creates"| node_promotion
node_player -->|"sets schedule"| node_season
node_player -->|"books"| node_card
node_card -->|"orders segments"| node_timeline
node_card -->|"validates"| node_validation
node_card -->|"includes matches"| node_match
node_card -->|"includes promos"| node_promo
node_match -->|"produces outcomes"| node_results
node_promo -->|"produces outcomes"| node_results
node_results -->|"updates"| node_state
node_season -->|"advances"| node_state
node_player -->|"saves or loads"| node_save
node_contentloader -.->|"loads"| node_content
node_content -.->|"uses definitions"| node_contentdefs
node_wrestlergen -.->|"uses content"| node_content

click node_roster "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_promotion "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_season "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_card "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_timeline "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_validation "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_match "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_promo "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_results "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_state "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_save "https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game"
click node_content "https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Catalogs/StaticContentCatalog.cs"
click node_contentdefs "https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Definitions/StaticDefinition.cs"
click node_contentloader "https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Loading/StaticContentRegistry.cs"
click node_wrestlergen "https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Generation/WrestlerGenerator.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_roster,node_promotion,node_season toneBlue
class node_card,node_timeline,node_validation toneAmber
class node_match,node_promo,node_results toneMint
class node_state,node_save,node_content,node_contentdefs,node_contentloader,node_wrestlergen toneRose
class node_player toneIndigo
```

## Components

### Promotion Management

- [Roster Management](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Promotion Setup](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Season Scheduler](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`

### Show Booking

- [Show Card](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Card Timeline](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Booking Validation](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`

### Simulation

- [Match Evaluation](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Promo Evaluation](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Result Application](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`

### Game Platform

- [Game State](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Save Slots](https://github.com/kdoo4000/pw-manager/tree/main/Assets/Game): `Assets/Game`
- [Static Content](https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Catalogs/StaticContentCatalog.cs): `Assets/Game/Data/Catalogs/StaticContentCatalog.cs`
- [Content Definitions](https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Definitions/StaticDefinition.cs): `Assets/Game/Data/Definitions/StaticDefinition.cs`
- [Content Loading](https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Loading/StaticContentRegistry.cs): `Assets/Game/Data/Loading/StaticContentRegistry.cs`
- [Wrestler Generation](https://github.com/kdoo4000/pw-manager/blob/main/Assets/Game/Data/Generation/WrestlerGenerator.cs): `Assets/Game/Data/Generation/WrestlerGenerator.cs`

### Other components

- **Player**

## Connections

- Player → Roster Management: manages (evidence: `README.md`)
- Player → Promotion Setup: creates (evidence: `README.md`)
- Player → Season Scheduler: sets schedule (evidence: `README.md`)
- Player → Show Card: books (evidence: `README.md`)
- Show Card → Card Timeline: orders segments (evidence: `README.md`)
- Show Card → Booking Validation: validates (evidence: `README.md`)
- Show Card → Match Evaluation: includes matches (evidence: `README.md`)
- Show Card → Promo Evaluation: includes promos (evidence: `README.md`)
- Match Evaluation → Result Application: produces outcomes (evidence: `README.md`)
- Promo Evaluation → Result Application: produces outcomes (evidence: `README.md`)
- Result Application → Game State: updates (evidence: `README.md`)
- Season Scheduler → Game State: advances (evidence: `README.md`)
- Player → Save Slots: saves or loads (evidence: `README.md`)
- Content Loading → Static Content: loads
- Static Content → Content Definitions: uses definitions
- Wrestler Generation → Static Content: uses content
