# kristoferlara/nexus_1 architecture

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

- Interactive diagram: https://gitdiagram.com/kristoferlara/nexus_1
- Repository: https://github.com/kristoferlara/nexus_1

## Overview

Nexus_1 is a console-based sci-fi training game. The visible workflow starts with the player entering a name and reality, proceeds through cadet selection and a mission loop, and offers mission operations including the multiversal nexus and disconnection. The large single source file also contains Genesis exploration, combat, base interactions, and IRIS anomaly logic. These are responsibilities within one monolith, not separate packages; omitted excerpts limit which internal connections can be verified.

Main entry points: [`Nexus_1/Program .cs`](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs) (Mission Loop)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Game Entry"]
  node_main["Game Entry<br/>[Program .cs]"]
  node_cadet_selection["Cadet Selection<br/>[Program .cs]"]
end

subgraph group_mission["Mission Systems"]
  node_mission_loop["Mission Loop<br/>[Program .cs]"]
  node_multiversal_nexus["Multiversal Nexus<br/>[Program .cs]"]
end

subgraph group_world["Game World"]
  node_genesis["Genesis Exploration<br/>[Program .cs]"]
  node_combat["Combat<br/>[Program .cs]"]
  node_base_operations["Base Operations<br/>[Program .cs]"]
  node_iris["IRIS Anomalies<br/>[Program .cs]"]
end

subgraph group_interface["Console Interface"]
  node_console_ui["Console Interface<br/>[Program .cs]"]
end

node_player(("Player"))

node_player -->|"enters details"| node_main
node_main -->|"calls"| node_cadet_selection
node_player -->|"selects operation"| node_mission_loop
node_mission_loop -->|"shows status"| node_console_ui
node_mission_loop -->|"dispatches"| node_multiversal_nexus

click node_main "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_cadet_selection "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_mission_loop "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_multiversal_nexus "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_genesis "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_combat "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_base_operations "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_iris "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs"
click node_console_ui "https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.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_main,node_cadet_selection toneBlue
class node_mission_loop,node_multiversal_nexus toneAmber
class node_genesis,node_combat,node_base_operations,node_iris toneMint
class node_console_ui toneRose
class node_player toneIndigo
```

## Components

### Game Entry

- [Game Entry](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`
- [Cadet Selection](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`

### Mission Systems

- [Mission Loop](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`
- [Multiversal Nexus](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`

### Game World

- [Genesis Exploration](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`
- [Combat](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`
- [Base Operations](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`
- [IRIS Anomalies](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`

### Console Interface

- [Console Interface](https://github.com/kristoferlara/nexus_1/blob/master/Nexus_1/Program%20.cs): `Nexus_1/Program .cs`

### Other components

- **Player**

## Connections

- Player → Game Entry: enters details (evidence: `Nexus_1/Program .cs`)
- Game Entry → Cadet Selection: calls (evidence: `Nexus_1/Program .cs`)
- Player → Mission Loop: selects operation (evidence: `Nexus_1/Program .cs`)
- Mission Loop → Console Interface: shows status (evidence: `Nexus_1/Program .cs`)
- Mission Loop → Multiversal Nexus: dispatches (evidence: `Nexus_1/Program .cs`)
