# estluismiguelyucrate-blip/nexus architecture

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

- Interactive diagram: https://gitdiagram.com/estluismiguelyucrate-blip/nexus
- Repository: https://github.com/estluismiguelyucrate-blip/nexus

## Overview

NEXUS 2.0 is a C# console exploration-and-survival game. The user enters as a cadet, receives an initial item and mission briefing, then plays through the simulator’s menu, encounters entities, and can extract when mission objectives are complete and they are at the base. The sampled source is partial and all runtime code is in Program.cs; the graph therefore groups distinct responsibilities from that file and omits unsupported links for unsampled mechanics.

Main entry points: [`Program.cs`](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs) (Game simulator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Game runtime"]
  node_entry["Console entry<br/>[Program.cs]"]
  node_simulator["Game simulator<br/>[Program.cs]"]
  node_console["Console interface<br/>[Program.cs]"]
end

subgraph group_domain["Game domain"]
  node_cadet["Cadet character<br/>[Program.cs]"]
  node_inventory["Inventory<br/>[Program.cs]"]
  node_items["Items<br/>[Program.cs]"]
  node_mission["Mission objectives<br/>[Program.cs]"]
end

subgraph group_play["Exploration and encounters"]
  node_map["Exploration map<br/>[Program.cs]"]
  node_encounter["Entity encounter<br/>[Program.cs]"]
  node_random["Random events<br/>[Program.cs]"]
end

node_player(("Player"))

node_player -->|"starts game"| node_entry
node_entry -->|"starts"| node_simulator
node_simulator -->|"requests input"| node_console
node_simulator -->|"creates"| node_cadet
node_simulator -.->|"uses"| node_map
node_simulator -->|"shows briefing"| node_mission
node_simulator -->|"adds starter item"| node_inventory
node_inventory -->|"stores"| node_items
node_simulator -->|"resolves encounter"| node_encounter
node_simulator -->|"triggers event"| node_random
node_simulator -->|"checks objectives"| node_mission
node_simulator -->|"awards extraction item"| node_inventory

click node_entry "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_simulator "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_console "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_cadet "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_inventory "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_items "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_mission "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_map "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_encounter "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs"
click node_random "https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.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_entry,node_simulator,node_console toneBlue
class node_cadet,node_inventory,node_items,node_mission toneAmber
class node_map,node_encounter,node_random toneMint
class node_player toneIndigo
```

## Components

### Game runtime

- [Console entry](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`
- [Game simulator](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`
- [Console interface](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`

### Game domain

- [Cadet character](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`
- [Inventory](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`
- [Items](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`
- [Mission objectives](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`

### Exploration and encounters

- [Exploration map](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`
- [Entity encounter](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`
- [Random events](https://github.com/estluismiguelyucrate-blip/nexus/blob/main/Program.cs): `Program.cs`

### Other components

- **Player**

## Connections

- Player → Console entry: starts game (evidence: `README.md`)
- Console entry → Game simulator: starts (evidence: `Program.cs`)
- Game simulator → Console interface: requests input (evidence: `Program.cs`)
- Game simulator → Cadet character: creates (evidence: `Program.cs`)
- Game simulator → Exploration map: uses (evidence: `Program.cs`)
- Game simulator → Mission objectives: shows briefing (evidence: `Program.cs`)
- Game simulator → Inventory: adds starter item (evidence: `Program.cs`)
- Inventory → Items: stores (evidence: `Program.cs`)
- Game simulator → Entity encounter: resolves encounter (evidence: `Program.cs`)
- Game simulator → Random events: triggers event (evidence: `Program.cs`)
- Game simulator → Mission objectives: checks objectives (evidence: `Program.cs`)
- Game simulator → Inventory: awards extraction item (evidence: `Program.cs`)
