# tragergames/forbidden-legacy-releases architecture

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

- Interactive diagram: https://gitdiagram.com/tragergames/forbidden-legacy-releases
- Repository: https://github.com/tragergames/forbidden-legacy-releases

## Overview

Forbidden Legacy is a public website for the game and its official builds, with game information, community features, card references, tools, and a Founder store/activation journey. Visitors browse through a shared multilingual desktop/mobile menu; the Founder offer links to purchase, device activation, and support. The graph preserves the README’s documented site capabilities and the sampled shared scripts. Most page implementations and their data wiring were not sampled, so their internal relationships are not inferred.

Main entry points: [`Tools/js/site-nav.js`](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-nav.js) (Multilingual navigation), [`Tools/js/site-oferta.js`](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-oferta.js) (Founder offer bar), [`Tools/discord_counter.php`](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/discord_counter.php) (Discord counter proxy), [`Tools/ativar_dispositivo.html`](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/ativar_dispositivo.html) (Device activation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shared["Shared site experience"]
  node_nav["Multilingual navigation<br/>[site-nav.js]"]
  node_effects["Shared visual effects<br/>[site-fx.js]"]
  node_offer["Founder offer bar<br/>[site-oferta.js]"]
  node_discordproxy["Discord counter proxy"]
end

subgraph group_game["Game and community"]
  node_home["Home and build updates<br/>[index.html]"]
  node_gameintro["Game overview<br/>[conheca.html]"]
  node_features["Game mechanics<br/>[features.html]"]
  node_mods["Forbidden Memories mods<br/>[mods.html]"]
  node_tournament["Tournaments<br/>[torneio.html]"]
  node_ranking["Live ranking<br/>[ranking.html]"]
  node_achievements["Achievements<br/>[conquistas.html]"]
  node_guide["Game guide<br/>[guia.html]"]
end

subgraph group_cards["Cards and tools"]
  node_cards["Card catalog<br/>[catalogo.html]"]
  node_boosters["Boosters<br/>[boosters.html]"]
  node_banlist["Ban list<br/>[banlist.html]"]
  node_deckbuilder["Deck builder<br/>[montar_deck.html]"]
end

subgraph group_founder["Founder and support"]
  node_activation["Device activation"]
  node_store["Founder store<br/>[loja.html]"]
  node_support["Support<br/>[suporte.html]"]
end

node_visitor(("Visitor"))
node_discord{{"Discord API"}}
node_countercache[("Counter cache")]

node_visitor -->|"browses"| node_nav
node_nav -->|"links to"| node_home
node_nav -->|"links to"| node_gameintro
node_nav -->|"links to"| node_features
node_nav -->|"links to"| node_mods
node_nav -->|"links to"| node_tournament
node_nav -->|"links to"| node_ranking
node_nav -->|"links to"| node_achievements
node_nav -->|"links to"| node_cards
node_nav -->|"links to"| node_boosters
node_nav -->|"links to"| node_banlist
node_nav -->|"links to"| node_deckbuilder
node_nav -->|"links to"| node_activation
node_nav -->|"links to"| node_guide
node_nav -->|"links to"| node_store
node_nav -->|"links to"| node_support
node_offer -->|"links to"| node_store
node_offer -->|"links to"| node_activation
node_offer -->|"links to"| node_support
node_discordproxy -->|"requests counts"| node_discord
node_discordproxy -->|"reads and writes"| node_countercache

click node_nav "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-nav.js"
click node_effects "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-fx.js"
click node_offer "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-oferta.js"
click node_home "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/index.html"
click node_gameintro "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/conheca.html"
click node_features "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/features.html"
click node_mods "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/mods.html"
click node_tournament "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/torneio.html"
click node_ranking "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/ranking.html"
click node_achievements "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/conquistas.html"
click node_cards "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/catalogo.html"
click node_boosters "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/boosters.html"
click node_banlist "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/banlist.html"
click node_deckbuilder "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/montar_deck.html"
click node_activation "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/ativar_dispositivo.html"
click node_guide "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/guia.html"
click node_store "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/loja.html"
click node_support "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/suporte.html"
click node_discordproxy "https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/discord_counter.php"

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_nav,node_effects,node_offer,node_discordproxy toneBlue
class node_home,node_gameintro,node_features,node_mods,node_tournament,node_ranking,node_achievements,node_guide,node_countercache toneAmber
class node_cards,node_boosters,node_banlist,node_deckbuilder,node_discord toneMint
class node_activation,node_store,node_support toneRose
class node_visitor toneIndigo
```

## Components

### Shared site experience

- [Multilingual navigation](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-nav.js): `Tools/js/site-nav.js`
- [Shared visual effects](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-fx.js): `Tools/js/site-fx.js`
- [Founder offer bar](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/js/site-oferta.js): `Tools/js/site-oferta.js`
- [Discord counter proxy](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/discord_counter.php): `Tools/discord_counter.php`

### Game and community

- [Home and build updates](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/index.html): `Tools/index.html`
- [Game overview](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/conheca.html): `Tools/conheca.html`
- [Game mechanics](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/features.html): `Tools/features.html`
- [Forbidden Memories mods](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/mods.html): `Tools/mods.html`
- [Tournaments](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/torneio.html): `Tools/torneio.html`
- [Live ranking](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/ranking.html): `Tools/ranking.html`
- [Achievements](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/conquistas.html): `Tools/conquistas.html`
- [Game guide](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/guia.html): `Tools/guia.html`

### Cards and tools

- [Card catalog](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/catalogo.html): `Tools/catalogo.html`
- [Boosters](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/boosters.html): `Tools/boosters.html`
- [Ban list](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/banlist.html): `Tools/banlist.html`
- [Deck builder](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/montar_deck.html): `Tools/montar_deck.html`

### Founder and support

- [Device activation](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/ativar_dispositivo.html): `Tools/ativar_dispositivo.html`
- [Founder store](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/loja.html): `Tools/loja.html`
- [Support](https://github.com/tragergames/forbidden-legacy-releases/blob/main/Tools/suporte.html): `Tools/suporte.html`

### Other components

- **Visitor**
- **Discord API**
- **Counter cache**

## Connections

- Visitor → Multilingual navigation: browses (evidence: `README.md`)
- Multilingual navigation → Home and build updates: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Game overview: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Game mechanics: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Forbidden Memories mods: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Tournaments: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Live ranking: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Achievements: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Card catalog: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Boosters: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Ban list: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Deck builder: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Device activation: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Game guide: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Founder store: links to (evidence: `Tools/js/site-nav.js`)
- Multilingual navigation → Support: links to (evidence: `Tools/js/site-nav.js`)
- Founder offer bar → Founder store: links to (evidence: `Tools/js/site-oferta.js`)
- Founder offer bar → Device activation: links to (evidence: `Tools/js/site-oferta.js`)
- Founder offer bar → Support: links to (evidence: `Tools/js/site-oferta.js`)
- Discord counter proxy → Discord API: requests counts (evidence: `Tools/discord_counter.php`)
- Discord counter proxy → Counter cache: reads and writes (evidence: `Tools/discord_counter.php`)
