# rweeling/darts-match-tracker architecture

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

- Interactive diagram: https://gitdiagram.com/rweeling/darts-match-tracker
- Repository: https://github.com/rweeling/darts-match-tracker

## Overview

Darts Match Tracker is a browser-based tournament tool: organizers enter players and match winners, then use live standings and generated knockout rounds to run the event. The README also documents single-elimination tournaments, scoring highlights, cross-tournament winners, backups, and a read-only rotating display. The tree exposes two HTML pages and a web app manifest, but no source excerpts; components therefore map to those files, and relationships shown here rely on README statements rather than inspected implementation details.

Main entry points: [`darts_schedule_web.html`](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html) (Tournament editor), [`darts_display.html`](https://github.com/rweeling/darts-match-tracker/blob/main/darts_display.html) (Big-screen display), [`manifest.json`](https://github.com/rweeling/darts-match-tracker/blob/main/manifest.json) (Installable app manifest)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tournament["Tournament management"]
  node_editor["Tournament editor"]
  node_pool_setup["Pool setup"]
  node_round_robin["Round-robin schedule"]
  node_match_results["Match results"]
  node_standings["Live standings"]
  node_bulloff["Bull-off tie-breaks"]
  node_seeded_bracket["Seeded knockout"]
  node_single_elimination["Single elimination"]
end

subgraph group_records["Stats and records"]
  node_score_stats["180s and finishes"]
  node_player_merge["Player merge"]
  node_winners["Previous winners"]
  node_backup["JSON backup/import"]
end

subgraph group_experience["Web experience"]
  node_display["Big-screen display<br/>[darts_display.html]"]
  node_themes_language["Themes and language"]
  node_web_manifest["Installable app manifest<br/>[manifest.json]"]
end

node_organizer(("Club organizer"))

node_organizer -->|"opens and edits"| node_editor
node_editor -->|"configures"| node_pool_setup
node_pool_setup -->|"sets up"| node_round_robin
node_organizer -->|"records winners"| node_match_results
node_match_results -->|"updates"| node_standings
node_match_results -->|"updates"| node_seeded_bracket
node_standings -->|"flags unresolved ties"| node_bulloff
node_bulloff -->|"resolves seeding"| node_seeded_bracket
node_organizer -->|"sets up or draws"| node_single_elimination
node_organizer -->|"logs highlights"| node_score_stats
node_organizer -->|"merges names"| node_player_merge
node_organizer -->|"imports or exports"| node_backup
node_organizer -->|"views read-only"| node_display
node_organizer -->|"views leaderboard"| node_winners
node_editor -->|"offers preferences"| node_themes_language
node_display -->|"offers preferences"| node_themes_language
node_editor -->|"supports installation"| node_web_manifest

click node_editor "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_pool_setup "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_round_robin "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_match_results "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_standings "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_bulloff "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_seeded_bracket "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_single_elimination "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_score_stats "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_player_merge "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_winners "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_backup "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_display "https://github.com/rweeling/darts-match-tracker/blob/main/darts_display.html"
click node_themes_language "https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html"
click node_web_manifest "https://github.com/rweeling/darts-match-tracker/blob/main/manifest.json"

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_editor,node_pool_setup,node_round_robin,node_match_results,node_standings,node_bulloff,node_seeded_bracket,node_single_elimination toneBlue
class node_score_stats,node_player_merge,node_winners,node_backup toneAmber
class node_display,node_themes_language,node_web_manifest toneMint
class node_organizer toneIndigo
```

## Components

### Tournament management

- [Tournament editor](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Pool setup](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Round-robin schedule](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Match results](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Live standings](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Bull-off tie-breaks](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Seeded knockout](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Single elimination](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`

### Stats and records

- [180s and finishes](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Player merge](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Previous winners](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [JSON backup/import](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`

### Web experience

- [Big-screen display](https://github.com/rweeling/darts-match-tracker/blob/main/darts_display.html): `darts_display.html`
- [Themes and language](https://github.com/rweeling/darts-match-tracker/blob/main/darts_schedule_web.html): `darts_schedule_web.html`
- [Installable app manifest](https://github.com/rweeling/darts-match-tracker/blob/main/manifest.json): `manifest.json`

### Other components

- **Club organizer**

## Connections

- Club organizer → Tournament editor: opens and edits (evidence: `README.md`)
- Tournament editor → Pool setup: configures (evidence: `README.md`)
- Pool setup → Round-robin schedule: sets up (evidence: `README.md`)
- Club organizer → Match results: records winners (evidence: `README.md`)
- Match results → Live standings: updates (evidence: `README.md`)
- Match results → Seeded knockout: updates (evidence: `README.md`)
- Live standings → Bull-off tie-breaks: flags unresolved ties (evidence: `README.md`)
- Bull-off tie-breaks → Seeded knockout: resolves seeding (evidence: `README.md`)
- Club organizer → Single elimination: sets up or draws (evidence: `README.md`)
- Club organizer → 180s and finishes: logs highlights (evidence: `README.md`)
- Club organizer → Player merge: merges names (evidence: `README.md`)
- Club organizer → JSON backup/import: imports or exports (evidence: `README.md`)
- Club organizer → Big-screen display: views read-only (evidence: `README.md`)
- Club organizer → Previous winners: views leaderboard (evidence: `README.md`)
- Tournament editor → Themes and language: offers preferences (evidence: `README.md`)
- Big-screen display → Themes and language: offers preferences (evidence: `README.md`)
- Tournament editor → Installable app manifest: supports installation (evidence: `README.md`)
