# shadowdevlabs/files architecture

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

- Interactive diagram: https://gitdiagram.com/shadowdevlabs/files
- Repository: https://github.com/shadowdevlabs/files

## Overview

This repository is a collection of browser games, not a single application. The SOURCE INDEX identifies Burger and Frights as the central substantial package. Its likely user flow is launching the game and loading assets for play, but the application entry point and gameplay wiring were not sampled, and the README is empty. The graph therefore focuses on the core game modules and shows only imports and uses evidenced in the ImageManager excerpt; other runtime relationships are omitted.

Main entry points: [`burger-and-frights/js/framework/imagemanager.class.js`](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/framework/imagemanager.class.js) (Image manager), [`burger-and-frights/js/game/app.class.js`](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/game/app.class.js) (Game application), [`burger-and-frights/js/resources/resources.js`](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/resources/resources.js) (Image resources), [`burger-and-frights/js/resources/config.js`](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/resources/config.js) (Game config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Game runtime"]
  node_game_app["Game application<br/>[app.class.js]"]
end

subgraph group_assets["Asset loading"]
  node_image_manager["Image manager"]
  node_resource_manifest["Image resources<br/>[resources.js]"]
  node_game_config["Game config<br/>[config.js]"]
end

subgraph group_rendering["Rendering support"]
  node_three["Three.js<br/>[three.module.js]"]
end

node_player(("Player"))

node_player -.->|"launches"| node_game_app
node_image_manager -->|"loads from"| node_resource_manifest
node_image_manager -->|"reads settings"| node_game_config
node_image_manager -->|"creates textures"| node_three

click node_game_app "https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/game/app.class.js"
click node_image_manager "https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/framework/imagemanager.class.js"
click node_resource_manifest "https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/resources/resources.js"
click node_game_config "https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/resources/config.js"
click node_three "https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/lib/three.js/three.module.js"

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_app toneBlue
class node_image_manager,node_resource_manifest,node_game_config toneAmber
class node_three toneMint
class node_player toneIndigo
```

## Components

### Game runtime

- [Game application](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/game/app.class.js): `burger-and-frights/js/game/app.class.js`

### Asset loading

- [Image manager](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/framework/imagemanager.class.js): `burger-and-frights/js/framework/imagemanager.class.js`
- [Image resources](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/resources/resources.js): `burger-and-frights/js/resources/resources.js`
- [Game config](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/resources/config.js): `burger-and-frights/js/resources/config.js`

### Rendering support

- [Three.js](https://github.com/shadowdevlabs/files/blob/main/burger-and-frights/js/lib/three.js/three.module.js): `burger-and-frights/js/lib/three.js/three.module.js`

### Other components

- **Player**

## Connections

- Player → Game application: launches
- Image manager → Image resources: loads from (evidence: `burger-and-frights/js/framework/imagemanager.class.js`)
- Image manager → Game config: reads settings (evidence: `burger-and-frights/js/framework/imagemanager.class.js`)
- Image manager → Three.js: creates textures (evidence: `burger-and-frights/js/framework/imagemanager.class.js`)
