# jacobchartier/connectionterrestre architecture

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

- Interactive diagram: https://gitdiagram.com/jacobchartier/connectionterrestre
- Repository: https://github.com/jacobchartier/connectionterrestre

## Overview

Connection Terrestre is documented as a turn-based open-world Unity game. The principal loop is exploring to reach shops or enemies, fighting to earn coins, then using those coins to obtain items; shop purchases feed the inventory used in combat. The README also documents physical attacks, magic, item use, and escape as combat choices. No gameplay source files are present in the supplied tree, so runtime component paths and internal calls cannot be verified; edges below reflect only README statements.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_world["World Exploration"]
  node_game["Open World Game"]
end

subgraph group_economy["Shop and Inventory"]
  node_shop["Shop"]
  node_inventory["Inventory"]
  node_rewards["Coins and Items"]
end

subgraph group_combat["Turn-Based Combat"]
  node_combat_encounter["Combat Encounter"]
  node_combat_choices["Combat Choices"]
end

node_player(("Player"))

node_player -->|"explores"| node_game
node_player -->|"visits"| node_shop
node_shop -->|"sells items"| node_inventory
node_player -->|"fights enemies"| node_combat_encounter
node_combat_encounter -->|"offers actions"| node_combat_choices
node_combat_choices -->|"uses items"| node_inventory
node_combat_encounter -->|"earns coins"| node_rewards
node_rewards -->|"buys items"| node_shop

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 toneBlue
class node_shop,node_inventory,node_rewards toneAmber
class node_combat_encounter,node_combat_choices toneMint
class node_player toneIndigo
```

## Components

### World Exploration

- **Open World Game**

### Shop and Inventory

- **Shop**
- **Inventory**
- **Coins and Items**

### Turn-Based Combat

- **Combat Encounter**
- **Combat Choices**

### Other components

- **Player**

## Connections

- Player → Open World Game: explores (evidence: `README.md`)
- Player → Shop: visits (evidence: `README.md`)
- Shop → Inventory: sells items (evidence: `README.md`)
- Player → Combat Encounter: fights enemies (evidence: `README.md`)
- Combat Encounter → Combat Choices: offers actions (evidence: `README.md`)
- Combat Choices → Inventory: uses items (evidence: `README.md`)
- Combat Encounter → Coins and Items: earns coins (evidence: `README.md`)
- Coins and Items → Shop: buys items (evidence: `README.md`)
