# yago-ananias/colmeia architecture

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

- Interactive diagram: https://gitdiagram.com/yago-ananias/colmeia
- Repository: https://github.com/yago-ananias/colmeia

## Overview

Colmeia de Palavras is a Portuguese word game: players form words from seven letters using the center letter, across daily, free, and timed play. The README identifies `template.html` as the editable game and `colmeia.html` as the ready-to-play page with word lists and challenges embedded. The graph also captures the hourly analytics collector and daily site check visible in sampled source; the game’s internal logic was not excerpted, so no internal call flow is inferred.

Main entry points: [`template.html`](https://github.com/yago-ananias/colmeia/blob/main/template.html) (Game interface), [`ferramentas/metricas.mjs`](https://github.com/yago-ananias/colmeia/blob/main/ferramentas/metricas.mjs) (Metrics collector), [`colmeia.html`](https://github.com/yago-ananias/colmeia/blob/main/colmeia.html) (Ready game page), [`ferramentas/verificar-site.mjs`](https://github.com/yago-ananias/colmeia/blob/main/ferramentas/verificar-site.mjs) (Site checker)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_game["Word game"]
  node_published["Ready game page<br/>[colmeia.html]"]
  node_gamecode["Game interface<br/>[template.html]"]
  node_daily["Daily challenges<br/>[template.html]"]
  node_free["Free mode<br/>[template.html]"]
  node_lightning["Lightning mode<br/>[template.html]"]
  node_playfeatures["Hints and combos<br/>[template.html]"]
end

subgraph group_insights["Usage and health"]
  node_collector["Metrics collector<br/>[metricas.mjs]"]
  node_sitecheck["Site checker<br/>[verificar-site.mjs]"]
end

node_player(("Player"))
node_umami[("Umami analytics")]
node_site["Published website"]

node_player -->|"plays"| node_published
node_published -->|"built from"| node_gamecode
node_gamecode -->|"offers"| node_daily
node_gamecode -->|"offers"| node_free
node_gamecode -->|"offers"| node_lightning
node_gamecode -->|"offers"| node_playfeatures
node_collector -->|"fetches metrics"| node_umami
node_collector -->|"checks availability"| node_site
node_sitecheck -->|"checks game"| node_site

click node_published "https://github.com/yago-ananias/colmeia/blob/main/colmeia.html"
click node_gamecode "https://github.com/yago-ananias/colmeia/blob/main/template.html"
click node_daily "https://github.com/yago-ananias/colmeia/blob/main/template.html"
click node_free "https://github.com/yago-ananias/colmeia/blob/main/template.html"
click node_lightning "https://github.com/yago-ananias/colmeia/blob/main/template.html"
click node_playfeatures "https://github.com/yago-ananias/colmeia/blob/main/template.html"
click node_collector "https://github.com/yago-ananias/colmeia/blob/main/ferramentas/metricas.mjs"
click node_sitecheck "https://github.com/yago-ananias/colmeia/blob/main/ferramentas/verificar-site.mjs"

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_published,node_gamecode,node_daily,node_free,node_lightning,node_playfeatures toneBlue
class node_collector,node_sitecheck,node_umami toneAmber
class node_player,node_site toneIndigo
```

## Components

### Word game

- [Ready game page](https://github.com/yago-ananias/colmeia/blob/main/colmeia.html): `colmeia.html`
- [Game interface](https://github.com/yago-ananias/colmeia/blob/main/template.html): `template.html`
- [Daily challenges](https://github.com/yago-ananias/colmeia/blob/main/template.html): `template.html`
- [Free mode](https://github.com/yago-ananias/colmeia/blob/main/template.html): `template.html`
- [Lightning mode](https://github.com/yago-ananias/colmeia/blob/main/template.html): `template.html`
- [Hints and combos](https://github.com/yago-ananias/colmeia/blob/main/template.html): `template.html`

### Usage and health

- [Metrics collector](https://github.com/yago-ananias/colmeia/blob/main/ferramentas/metricas.mjs): `ferramentas/metricas.mjs`
- [Site checker](https://github.com/yago-ananias/colmeia/blob/main/ferramentas/verificar-site.mjs): `ferramentas/verificar-site.mjs`

### Other components

- **Player**
- **Umami analytics**
- **Published website**

## Connections

- Player → Ready game page: plays (evidence: `README.md`)
- Ready game page → Game interface: built from (evidence: `README.md`)
- Game interface → Daily challenges: offers (evidence: `README.md`)
- Game interface → Free mode: offers (evidence: `README.md`)
- Game interface → Lightning mode: offers (evidence: `README.md`)
- Game interface → Hints and combos: offers (evidence: `README.md`)
- Metrics collector → Umami analytics: fetches metrics (evidence: `ferramentas/metricas.mjs`)
- Metrics collector → Published website: checks availability (evidence: `ferramentas/metricas.mjs`)
- Site checker → Published website: checks game (evidence: `ferramentas/verificar-site.mjs`)
