# aaaarrrrrrttttiiiiixxxx/ren_py architecture

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

- Interactive diagram: https://gitdiagram.com/aaaarrrrrrttttiiiiixxxx/ren_py
- Repository: https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py

## Overview

The tree indicates a Ren’Py narrative game: players encounter a prologue and four chapter directories, alongside shared character/state files and presentation assets. It also exposes dedicated UI modules for documents, items, grouping and parrying. No README or source excerpts were provided, so the graph represents these identifiable subsystems but omits call-flow arrows that cannot be verified.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_story["Narrative content"]
  node_prologue["Prologue"]
  node_chapter1["Chapter 1"]
  node_chapter2["Chapter 2"]
  node_chapter3["Chapter 3"]
  node_chapter4["Chapter 4"]
end

subgraph group_shared["Shared game runtime"]
  node_entry["Game script<br/>[script.rpy]"]
  node_state["Game state<br/>[state.rpy]"]
  node_characters["Characters<br/>[characters.rpy]"]
  node_sprite_registry["Sprite registry"]
end

subgraph group_presentation["Presentation and UI"]
  node_images["Image declarations<br/>[images.rpy]"]
  node_image_assets["Image assets"]
  node_audio_assets["Audio assets"]
  node_screens["Game screens<br/>[screens.rpy]"]
  node_gui["GUI theme<br/>[gui.rpy]"]
  node_ui_documents["Document UI<br/>[ui_documents.rpy]"]
  node_ui_items["Item UI<br/>[ui_items.rpy]"]
  node_ui_group["Group UI<br/>[ui_group.rpy]"]
  node_ui_parry["Parry UI<br/>[ui_parry.rpy]"]
end

node_player(("Player"))

click node_entry "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/script.rpy"
click node_prologue "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/prologue"
click node_chapter1 "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_1"
click node_chapter2 "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_2"
click node_chapter3 "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_3"
click node_chapter4 "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_4"
click node_state "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/state.rpy"
click node_characters "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/characters.rpy"
click node_sprite_registry "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/sprite_registry.rpy"
click node_images "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/images.rpy"
click node_image_assets "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/images"
click node_audio_assets "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/audio"
click node_screens "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/screens.rpy"
click node_gui "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/gui.rpy"
click node_ui_documents "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_documents.rpy"
click node_ui_items "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_items.rpy"
click node_ui_group "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_group.rpy"
click node_ui_parry "https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_parry.rpy"

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_prologue,node_chapter1,node_chapter2,node_chapter3,node_chapter4 toneBlue
class node_entry,node_state,node_characters,node_sprite_registry toneAmber
class node_images,node_image_assets,node_audio_assets,node_screens,node_gui,node_ui_documents,node_ui_items,node_ui_group,node_ui_parry toneMint
class node_player toneIndigo
```

## Components

### Narrative content

- [Prologue](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/prologue): `game/prologue`
- [Chapter 1](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_1): `game/chapter_1`
- [Chapter 2](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_2): `game/chapter_2`
- [Chapter 3](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_3): `game/chapter_3`
- [Chapter 4](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/chapter_4): `game/chapter_4`

### Shared game runtime

- [Game script](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/script.rpy): `game/script.rpy`
- [Game state](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/state.rpy): `game/state.rpy`
- [Characters](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/characters.rpy): `game/characters.rpy`
- [Sprite registry](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/sprite_registry.rpy): `game/sprite_registry.rpy`

### Presentation and UI

- [Image declarations](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/images.rpy): `game/images.rpy`
- [Image assets](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/images): `game/images`
- [Audio assets](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/tree/main/game/audio): `game/audio`
- [Game screens](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/screens.rpy): `game/screens.rpy`
- [GUI theme](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/gui.rpy): `game/gui.rpy`
- [Document UI](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_documents.rpy): `game/ui_documents.rpy`
- [Item UI](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_items.rpy): `game/ui_items.rpy`
- [Group UI](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_group.rpy): `game/ui_group.rpy`
- [Parry UI](https://github.com/aaaarrrrrrttttiiiiixxxx/ren_py/blob/main/game/ui_parry.rpy): `game/ui_parry.rpy`

### Other components

- **Player**
