# phoenix-dragon/echoes-of-adventure architecture

> Architecture diagram of the GitHub repository phoenix-dragon/echoes-of-adventure, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/phoenix-dragon/echoes-of-adventure
- Repository: https://github.com/phoenix-dragon/echoes-of-adventure

## Overview

Echoes of Adventure is a planned turn-based pixel-art roguelike, not an implemented game: the repository contains only a README. The documented player journey starts in a hub, proceeds through seeded dungeon floors with grid movement and combat, and reveals story fragments along the way. Defeat removes inventory and upgrades; later runs may surface echoes carrying corrupted recoverable items. The graph captures these intended features and documented relationships only; source-level implementation and runtime call paths cannot be verified.

Main entry points: [`README.md`](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md) (Hub and characters)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_journey["Adventure"]
  node_hub["Hub and characters<br/>[README.md]"]
  node_dungeon["Seeded dungeon floors<br/>[README.md]"]
  node_grid["Grid movement and turns<br/>[README.md]"]
  node_story["Story fragments<br/>[README.md]"]
end

subgraph group_systems["Game Systems"]
  node_combat["Combat and enemies<br/>[README.md]"]
  node_inventory["Inventory and upgrades<br/>[README.md]"]
  node_echoes["Echoes and corrupted items<br/>[README.md]"]
end

subgraph group_presentation["Presentation and Persistence"]
  node_save[("Progress saves<br/>[README.md]")]
  node_audio["Chiptune audio<br/>[README.md]"]
end

node_player(("Player"))
node_pyxel["Pyxel engine"]

node_player -->|"starts at"| node_hub
node_hub -->|"starts expedition"| node_dungeon
node_player -->|"moves by turn"| node_grid
node_grid -->|"takes enemy turns"| node_combat
node_dungeon -->|"frames between floors"| node_story
node_combat -->|"earns items"| node_inventory
node_player -->|"leaves on defeat"| node_echoes
node_echoes -->|"offers corrupted recovery"| node_inventory
node_player -->|"saves progression"| node_save
node_pyxel -->|"provides engine"| node_audio

click node_hub "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_dungeon "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_grid "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_story "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_combat "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_inventory "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_echoes "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_save "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"
click node_audio "https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md"

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_hub,node_dungeon,node_grid,node_story toneBlue
class node_combat,node_inventory,node_echoes toneAmber
class node_save,node_audio toneMint
class node_player,node_pyxel toneIndigo
```

## Components

### Adventure

- [Hub and characters](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`
- [Seeded dungeon floors](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`
- [Grid movement and turns](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`
- [Story fragments](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`

### Game Systems

- [Combat and enemies](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`
- [Inventory and upgrades](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`
- [Echoes and corrupted items](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`

### Presentation and Persistence

- [Progress saves](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`
- [Chiptune audio](https://github.com/phoenix-dragon/echoes-of-adventure/blob/main/README.md): `README.md`

### Other components

- **Player**
- **Pyxel engine**

## Connections

- Player → Hub and characters: starts at (evidence: `README.md`)
- Hub and characters → Seeded dungeon floors: starts expedition (evidence: `README.md`)
- Player → Grid movement and turns: moves by turn (evidence: `README.md`)
- Grid movement and turns → Combat and enemies: takes enemy turns (evidence: `README.md`)
- Seeded dungeon floors → Story fragments: frames between floors (evidence: `README.md`)
- Combat and enemies → Inventory and upgrades: earns items (evidence: `README.md`)
- Player → Echoes and corrupted items: leaves on defeat (evidence: `README.md`)
- Echoes and corrupted items → Inventory and upgrades: offers corrupted recovery (evidence: `README.md`)
- Player → Progress saves: saves progression (evidence: `README.md`)
- Pyxel engine → Chiptune audio: provides engine (evidence: `README.md`)
