# hungermonster/litandrun architecture

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

- Interactive diagram: https://gitdiagram.com/hungermonster/litandrun
- Repository: https://github.com/hungermonster/litandrun

## Overview

This appears to be a small Godot game project, with player, altar, door, and map scenes alongside gameplay scripts and shared module data. The file tree suggests these are the main runtime components, but no README content or source excerpts were provided. Consequently, the graph shows the components without asserting scene-to-script attachments, calls, or a player-to-result workflow that the available evidence cannot verify.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Gameplay"]
  node_player["Player Logic<br/>[player.gd]"]
  node_game_manager["Game Manager<br/>[gamemanager.gd]"]
  node_altar_logic["Altar Logic<br/>[altar.gd]"]
end

subgraph group_world["World Scenes"]
  node_player_scene["Player Scene<br/>[player.tscn]"]
  node_altar_scene["Altar Scene<br/>[altar.tscn]"]
  node_door_scene["Door Scene<br/>[door.tscn]"]
  node_map_scene["Map Scene<br/>[map.tscn]"]
end

subgraph group_shared["Shared State"]
  node_signal_hub["Signal Hub<br/>[signalhub.gd]"]
  node_global_data["Global Data<br/>[globaldata.gd]"]
  node_global_data_scene["Global Data Scene<br/>[globaldata.tscn]"]
end

click node_player "https://github.com/hungermonster/litandrun/blob/main/script/player.gd"
click node_game_manager "https://github.com/hungermonster/litandrun/blob/main/script/gamemanager.gd"
click node_altar_logic "https://github.com/hungermonster/litandrun/blob/main/script/altar.gd"
click node_signal_hub "https://github.com/hungermonster/litandrun/blob/main/script/signalhub.gd"
click node_player_scene "https://github.com/hungermonster/litandrun/blob/main/scene/player.tscn"
click node_altar_scene "https://github.com/hungermonster/litandrun/blob/main/scene/altar.tscn"
click node_door_scene "https://github.com/hungermonster/litandrun/blob/main/scene/door.tscn"
click node_map_scene "https://github.com/hungermonster/litandrun/blob/main/scene/map.tscn"
click node_global_data "https://github.com/hungermonster/litandrun/blob/main/module/globaldata.gd"
click node_global_data_scene "https://github.com/hungermonster/litandrun/blob/main/module/globaldata.tscn"

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_player,node_game_manager,node_altar_logic toneBlue
class node_player_scene,node_altar_scene,node_door_scene,node_map_scene toneAmber
class node_signal_hub,node_global_data,node_global_data_scene toneMint
```

## Components

### Gameplay

- [Player Logic](https://github.com/hungermonster/litandrun/blob/main/script/player.gd): `script/player.gd`
- [Game Manager](https://github.com/hungermonster/litandrun/blob/main/script/gamemanager.gd): `script/gamemanager.gd`
- [Altar Logic](https://github.com/hungermonster/litandrun/blob/main/script/altar.gd): `script/altar.gd`

### World Scenes

- [Player Scene](https://github.com/hungermonster/litandrun/blob/main/scene/player.tscn): `scene/player.tscn`
- [Altar Scene](https://github.com/hungermonster/litandrun/blob/main/scene/altar.tscn): `scene/altar.tscn`
- [Door Scene](https://github.com/hungermonster/litandrun/blob/main/scene/door.tscn): `scene/door.tscn`
- [Map Scene](https://github.com/hungermonster/litandrun/blob/main/scene/map.tscn): `scene/map.tscn`

### Shared State

- [Signal Hub](https://github.com/hungermonster/litandrun/blob/main/script/signalhub.gd): `script/signalhub.gd`
- [Global Data](https://github.com/hungermonster/litandrun/blob/main/module/globaldata.gd): `module/globaldata.gd`
- [Global Data Scene](https://github.com/hungermonster/litandrun/blob/main/module/globaldata.tscn): `module/globaldata.tscn`
