# chuanyuannotboat/antimatterdimensionsendgameupdate architecture

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

- Interactive diagram: https://gitdiagram.com/chuanyuannotboat/antimatterdimensionsendgameupdate
- Repository: https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate

## Overview

Antimatter Dimensions is a browser-based incremental game. A player opens the game, which initializes the runtime and loads a save; the game loop advances progression, while tabbed interfaces expose upgrades, challenges, automation, and later celestial systems. Saving/import/export and Steam integrations support that play loop. The graph follows relationships visible in the supplied excerpts, SOURCE INDEX, or README; many feature implementations were not sampled, so their internal interactions are omitted.

Main entry points: [`src/components/tabs/index.js`](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/tabs/index.js) (Tab registry), [`src/game.js`](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/game.js) (Game runtime), [`src/core/storage/storage.js`](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/storage/storage.js) (Save management), [`src/steam/steam-runtime.js`](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/steam/steam-runtime.js) (Steam runtime)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Runtime and state"]
  node_entry["Browser entry<br/>[main.js]"]
  node_engine["Game runtime<br/>[game.js]"]
  node_save[("Save management<br/>[storage.js]")]
  node_merge["Save merging<br/>[deepmerge.js]"]
end

subgraph group_progression["Progression systems"]
  node_dimensions["Dimensions"]
  node_challenges["Challenges"]
  node_autobuyers["Autobuyers<br/>[autobuyers.js]"]
  node_automator["Automator<br/>[parser.js]"]
  node_celestials["Celestial progression"]
  node_glyphs["Glyph system"]
end

subgraph group_interface["Game interface"]
  node_tabs["Tab registry<br/>[index.js]"]
  node_dimension_ui["Dimension screens"]
  node_alchemy_ui["Alchemy screen<br/>[AlchemyTab.vue]"]
  node_glyph_ui["Glyph display<br/>[GlyphComponent.vue]"]
  node_glyph_preview["Glyph set preview"]
end

subgraph group_integrations["External integrations"]
  node_steam["Steam runtime<br/>[steam-runtime.js]"]
  node_purchases["Steam purchases<br/>[steam-purchases.js]"]
  node_playfab["PlayFab API"]
end

node_player(("Player"))
node_steam_service["Steam platform"]

node_player -->|"opens"| node_entry
node_entry -->|"starts"| node_engine
node_engine -->|"loads"| node_save
node_save -->|"merges saves"| node_merge
node_save -->|"restores state"| node_player
node_engine -.->|"advances"| node_dimensions
node_engine -.->|"updates"| node_celestials
node_engine -->|"selects tab"| node_tabs
node_tabs -->|"registers"| node_dimension_ui
node_tabs -->|"registers"| node_alchemy_ui
node_tabs -.->|"registers screens"| node_challenges
node_tabs -.->|"registers screens"| node_autobuyers
node_tabs -->|"registers screen"| node_automator
node_tabs -.->|"registers screens"| node_celestials
node_tabs -.->|"registers screens"| node_glyphs
node_glyph_preview -->|"renders"| node_glyph_ui
node_engine -->|"initializes"| node_steam
node_steam -->|"initializes"| node_purchases
node_purchases -->|"calls"| node_playfab
node_steam -.->|"connects"| node_steam_service

click node_entry "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/main.js"
click node_engine "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/game.js"
click node_save "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/storage/storage.js"
click node_merge "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/utility/deepmerge.js"
click node_dimensions "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/tree/master/src/core/dimensions"
click node_challenges "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/tree/master/src/components/tabs"
click node_autobuyers "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/autobuyers/autobuyers.js"
click node_automator "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/automator/parser.js"
click node_celestials "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/tree/master/src/core/celestials"
click node_glyphs "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/glyphs/glyph-purge-handler.js"
click node_tabs "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/tabs/index.js"
click node_dimension_ui "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/tabs/antimatter-dimensions/AntimatterDimensionsTab.vue"
click node_alchemy_ui "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/tabs/alchemy/AlchemyTab.vue"
click node_glyph_ui "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/GlyphComponent.vue"
click node_glyph_preview "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/GlyphSetPreview.vue"
click node_steam "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/steam/steam-runtime.js"
click node_purchases "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/steam/steam-purchases.js"
click node_playfab "https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/steam/bindings/PlayFabClientApi.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_entry,node_engine,node_save,node_merge toneBlue
class node_dimensions,node_challenges,node_autobuyers,node_automator,node_celestials,node_glyphs toneAmber
class node_tabs,node_dimension_ui,node_alchemy_ui,node_glyph_ui,node_glyph_preview toneMint
class node_steam,node_purchases,node_playfab toneRose
class node_player,node_steam_service toneIndigo
```

## Components

### Runtime and state

- [Browser entry](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/main.js): `src/main.js`
- [Game runtime](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/game.js): `src/game.js`
- [Save management](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/storage/storage.js): `src/core/storage/storage.js`
- [Save merging](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/utility/deepmerge.js): `src/utility/deepmerge.js`

### Progression systems

- [Dimensions](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/tree/master/src/core/dimensions): `src/core/dimensions`
- [Challenges](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/tree/master/src/components/tabs): `src/components/tabs`
- [Autobuyers](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/autobuyers/autobuyers.js): `src/core/autobuyers/autobuyers.js`
- [Automator](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/automator/parser.js): `src/core/automator/parser.js`
- [Celestial progression](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/tree/master/src/core/celestials): `src/core/celestials`
- [Glyph system](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/core/glyphs/glyph-purge-handler.js): `src/core/glyphs/glyph-purge-handler.js`

### Game interface

- [Tab registry](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/tabs/index.js): `src/components/tabs/index.js`
- [Dimension screens](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/tabs/antimatter-dimensions/AntimatterDimensionsTab.vue): `src/components/tabs/antimatter-dimensions/AntimatterDimensionsTab.vue`
- [Alchemy screen](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/tabs/alchemy/AlchemyTab.vue): `src/components/tabs/alchemy/AlchemyTab.vue`
- [Glyph display](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/GlyphComponent.vue): `src/components/GlyphComponent.vue`
- [Glyph set preview](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/components/GlyphSetPreview.vue): `src/components/GlyphSetPreview.vue`

### External integrations

- [Steam runtime](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/steam/steam-runtime.js): `src/steam/steam-runtime.js`
- [Steam purchases](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/steam/steam-purchases.js): `src/steam/steam-purchases.js`
- [PlayFab API](https://github.com/chuanyuannotboat/antimatterdimensionsendgameupdate/blob/master/src/steam/bindings/PlayFabClientApi.js): `src/steam/bindings/PlayFabClientApi.js`

### Other components

- **Player**
- **Steam platform**

## Connections

- Player → Browser entry: opens (evidence: `README.md`)
- Browser entry → Game runtime: starts (evidence: `src/main.js`)
- Game runtime → Save management: loads (evidence: `src/game.js`)
- Save management → Save merging: merges saves (evidence: `src/core/storage/storage.js`)
- Save management → Player: restores state (evidence: `src/core/storage/storage.js`)
- Game runtime → Dimensions: advances
- Game runtime → Celestial progression: updates
- Game runtime → Tab registry: selects tab (evidence: `src/game.js`)
- Tab registry → Dimension screens: registers (evidence: `src/components/tabs/index.js`)
- Tab registry → Alchemy screen: registers (evidence: `src/components/tabs/index.js`)
- Tab registry → Challenges: registers screens (evidence: `src/components/tabs/index.js`)
- Tab registry → Autobuyers: registers screens
- Tab registry → Automator: registers screen (evidence: `src/components/tabs/index.js`)
- Tab registry → Celestial progression: registers screens
- Tab registry → Glyph system: registers screens
- Glyph set preview → Glyph display: renders (evidence: `src/components/GlyphSetPreview.vue`)
- Game runtime → Steam runtime: initializes (evidence: `src/game.js`)
- Steam runtime → Steam purchases: initializes (evidence: `src/steam/steam-runtime.js`)
- Steam purchases → PlayFab API: calls (evidence: `src/steam/steam-purchases.js`)
- Steam runtime → Steam platform: connects
