# raykoez/drywinds architecture

> Architecture diagram of the GitHub repository raykoez/drywinds, 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/raykoez/drywinds
- Repository: https://github.com/raykoez/drywinds

## Overview

Project Dry Winds is a Unity 2D turn-based tactical game. The documented player loop is to navigate a grid map toward objectives, use cards for combat or recon at a time cost, and contend with encounters and time-triggered map events that raise difficulty or add conditions. The tree contains Unity assets but no gameplay source excerpts, so nodes use existing asset directories as approximate subsystem locations; edges reflect only relationships stated in the README.

Main entry points: [`Assets`](https://github.com/raykoez/drywinds/tree/develop/Assets) (Tactical Game), [`Assets/Art/Sprites/Cards`](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Cards) (Card Actions), [`Assets/Art/Sprites/Env`](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Env) (Grid Movement), [`Assets/Art/Sprites/NPC/Enemies`](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/NPC/Enemies) (Enemies)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_travel["Map and Travel"]
  node_game["Tactical Game"]
  node_grid["Grid Movement"]
  node_objectives["Map Objectives"]
end

subgraph group_encounters["Combat and Encounters"]
  node_enemies["Enemies"]
  node_encounter["Encounters"]
  node_cards["Card Actions"]
  node_combat["Combat and Recon"]
end

subgraph group_time["Time and Events"]
  node_timecost["Time Cost"]
  node_map_events["Map Events"]
  node_difficulty["Level Conditions"]
end

node_player(("Player"))

node_player -->|"plays"| node_game
node_game -->|"supports"| node_grid
node_player -->|"navigates"| node_grid
node_grid -->|"reach locations"| node_objectives
node_game -->|"faces"| node_enemies
node_game -->|"faces"| node_encounter
node_player -->|"plays"| node_cards
node_cards -->|"engages"| node_combat
node_cards -->|"costs time"| node_timecost
node_timecost -->|"triggers"| node_map_events
node_map_events -->|"raises difficulty"| node_difficulty
node_map_events -->|"adds conditions"| node_difficulty

click node_game "https://github.com/raykoez/drywinds/tree/develop/Assets"
click node_grid "https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Env"
click node_objectives "https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Env"
click node_enemies "https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/NPC/Enemies"
click node_encounter "https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Env"
click node_cards "https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Cards"
click node_combat "https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Cards"
click node_timecost "https://github.com/raykoez/drywinds/tree/develop/Assets"
click node_map_events "https://github.com/raykoez/drywinds/tree/develop/Assets"
click node_difficulty "https://github.com/raykoez/drywinds/tree/develop/Assets"

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_game,node_grid,node_objectives toneBlue
class node_enemies,node_encounter,node_cards,node_combat toneAmber
class node_timecost,node_map_events,node_difficulty toneMint
class node_player toneIndigo
```

## Components

### Map and Travel

- [Tactical Game](https://github.com/raykoez/drywinds/tree/develop/Assets): `Assets`
- [Grid Movement](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Env): `Assets/Art/Sprites/Env`
- [Map Objectives](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Env): `Assets/Art/Sprites/Env`

### Combat and Encounters

- [Enemies](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/NPC/Enemies): `Assets/Art/Sprites/NPC/Enemies`
- [Encounters](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Env): `Assets/Art/Sprites/Env`
- [Card Actions](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Cards): `Assets/Art/Sprites/Cards`
- [Combat and Recon](https://github.com/raykoez/drywinds/tree/develop/Assets/Art/Sprites/Cards): `Assets/Art/Sprites/Cards`

### Time and Events

- [Time Cost](https://github.com/raykoez/drywinds/tree/develop/Assets): `Assets`
- [Map Events](https://github.com/raykoez/drywinds/tree/develop/Assets): `Assets`
- [Level Conditions](https://github.com/raykoez/drywinds/tree/develop/Assets): `Assets`

### Other components

- **Player**

## Connections

- Player → Tactical Game: plays (evidence: `README.md`)
- Tactical Game → Grid Movement: supports (evidence: `README.md`)
- Player → Grid Movement: navigates (evidence: `README.md`)
- Grid Movement → Map Objectives: reach locations (evidence: `README.md`)
- Tactical Game → Enemies: faces (evidence: `README.md`)
- Tactical Game → Encounters: faces (evidence: `README.md`)
- Player → Card Actions: plays (evidence: `README.md`)
- Card Actions → Combat and Recon: engages (evidence: `README.md`)
- Card Actions → Time Cost: costs time (evidence: `README.md`)
- Time Cost → Map Events: triggers (evidence: `README.md`)
- Map Events → Level Conditions: raises difficulty (evidence: `README.md`)
- Map Events → Level Conditions: adds conditions (evidence: `README.md`)
