# candymangames/enable3dfootball_prod architecture

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

- Interactive diagram: https://gitdiagram.com/candymangames/enable3dfootball_prod
- Repository: https://github.com/candymangames/enable3dfootball_prod

## Overview

The repository appears to be a browser-based 3D football experience, suggested by its player model, football assets, goalkeeper/player animations, and Ammo physics runtime. The README only says it will be hosted on GitHub Pages; it does not describe the gameplay flow. The main application bundle and page entry are not excerpted, so runtime connections among these components are unverified and shown as dashed edges.

Main entry points: [`assets/index-DKUMEgsm.js`](https://github.com/candymangames/enable3dfootball_prod/blob/master/assets/index-DKUMEgsm.js) (Game application), [`index.html`](https://github.com/candymangames/enable3dfootball_prod/blob/master/index.html) (Page entry), [`ammo/ammo.wasm.js`](https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.wasm.js) (Ammo physics), [`ammo/ammo.js`](https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.js) (Ammo loader)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_page["Page entry<br/>[index.html]"]
  node_app["Game application<br/>[index-DKUMEgsm.js]"]
  node_styles["Interface styles<br/>[index-nejlcGdd.css]"]
end

subgraph group_simulation["Physics runtime"]
  node_ammo["Ammo physics<br/>[ammo.wasm.js]"]
  node_ammo_wasm["Physics WebAssembly<br/>[ammo.wasm.wasm]"]
  node_ammo_loader["Ammo loader<br/>[ammo.js]"]
end

subgraph group_visuals["3D content"]
  node_player_model["Player model<br/>[player.gltf]"]
  node_player_textures["Player textures<br/>[player.fbm]"]
  node_actions["Player animations"]
  node_football["Football mesh<br/>[Football.obj]"]
  node_goal["Goal mesh<br/>[football goal.obj]"]
  node_flag["Flag pole<br/>[Flag_Pole.fbx]"]
end

node_visitor(("Player"))

node_visitor -.->|"opens"| node_page
node_page -.->|"loads"| node_app
node_page -.->|"loads"| node_styles
node_app -.->|"may initialize"| node_ammo_loader
node_ammo_loader -.->|"may load"| node_ammo
node_ammo -.->|"may use"| node_ammo_wasm
node_app -.->|"may render"| node_player_model
node_app -.->|"may play"| node_actions
node_app -.->|"may render"| node_football
node_app -.->|"may render"| node_goal
node_app -.->|"may render"| node_flag
node_player_model -.->|"may use"| node_player_textures

click node_page "https://github.com/candymangames/enable3dfootball_prod/blob/master/index.html"
click node_app "https://github.com/candymangames/enable3dfootball_prod/blob/master/assets/index-DKUMEgsm.js"
click node_styles "https://github.com/candymangames/enable3dfootball_prod/blob/master/assets/index-nejlcGdd.css"
click node_ammo "https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.wasm.js"
click node_ammo_wasm "https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.wasm.wasm"
click node_ammo_loader "https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.js"
click node_player_model "https://github.com/candymangames/enable3dfootball_prod/blob/master/character/player_out/player.gltf"
click node_player_textures "https://github.com/candymangames/enable3dfootball_prod/tree/master/character/player.fbm"
click node_actions "https://github.com/candymangames/enable3dfootball_prod/tree/master/animations/Player_Actions"
click node_football "https://github.com/candymangames/enable3dfootball_prod/blob/master/textures/Football.obj"
click node_goal "https://github.com/candymangames/enable3dfootball_prod/blob/master/textures/football%20goal.obj"
click node_flag "https://github.com/candymangames/enable3dfootball_prod/blob/master/character/Flag_Pole.fbx"

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_page,node_app,node_styles toneBlue
class node_ammo,node_ammo_wasm,node_ammo_loader toneAmber
class node_player_model,node_player_textures,node_actions,node_football,node_goal,node_flag toneMint
class node_visitor toneIndigo
```

## Components

### Web experience

- [Page entry](https://github.com/candymangames/enable3dfootball_prod/blob/master/index.html): `index.html`
- [Game application](https://github.com/candymangames/enable3dfootball_prod/blob/master/assets/index-DKUMEgsm.js): `assets/index-DKUMEgsm.js`
- [Interface styles](https://github.com/candymangames/enable3dfootball_prod/blob/master/assets/index-nejlcGdd.css): `assets/index-nejlcGdd.css`

### Physics runtime

- [Ammo physics](https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.wasm.js): `ammo/ammo.wasm.js`
- [Physics WebAssembly](https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.wasm.wasm): `ammo/ammo.wasm.wasm`
- [Ammo loader](https://github.com/candymangames/enable3dfootball_prod/blob/master/ammo/ammo.js): `ammo/ammo.js`

### 3D content

- [Player model](https://github.com/candymangames/enable3dfootball_prod/blob/master/character/player_out/player.gltf): `character/player_out/player.gltf`
- [Player textures](https://github.com/candymangames/enable3dfootball_prod/tree/master/character/player.fbm): `character/player.fbm`
- [Player animations](https://github.com/candymangames/enable3dfootball_prod/tree/master/animations/Player_Actions): `animations/Player_Actions`
- [Football mesh](https://github.com/candymangames/enable3dfootball_prod/blob/master/textures/Football.obj): `textures/Football.obj`
- [Goal mesh](https://github.com/candymangames/enable3dfootball_prod/blob/master/textures/football%20goal.obj): `textures/football goal.obj`
- [Flag pole](https://github.com/candymangames/enable3dfootball_prod/blob/master/character/Flag_Pole.fbx): `character/Flag_Pole.fbx`

### Other components

- **Player**

## Connections

- Player → Page entry: opens
- Page entry → Game application: loads
- Page entry → Interface styles: loads
- Game application → Ammo loader: may initialize
- Ammo loader → Ammo physics: may load
- Ammo physics → Physics WebAssembly: may use
- Game application → Player model: may render
- Game application → Player animations: may play
- Game application → Football mesh: may render
- Game application → Goal mesh: may render
- Game application → Flag pole: may render
- Player model → Player textures: may use
