# bobeff/open-source-games architecture

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

- Interactive diagram: https://gitdiagram.com/bobeff/open-source-games
- Repository: https://github.com/bobeff/open-source-games

## Overview

#### Purpose and Scope
This is a curated, Markdown-based catalog of open-source video games, engines, source ports, and commercial-game reimplementations. It is not a game runtime or web application; the primary product is the maintained list in `README.md`.

#### Primary Entry Points
- `README.md` is the user-facing entry point and canonical data surface. Its table of contents links to genre-based sections and nested project families.
- `CONTRIBUTING.md` defines the contributor workflow and quality expectations for changes.
- `scripts/coauthor.py` is the only executable repository logic and is likely a contributor-support utility rather than application runtime.

#### Catalog Data Model
The catalog is represented directly as Markdown headings and list items in `README.md`:
- Top-level sections classify projects by game genre.
- Nested headings group related ecosystems, engines, franchises, or source-port families.
- Entries commonly contain a project homepage, concise description, source repository URL, and occasionally engine/UI dependencies.
There is no separate structured datastore, schema, or generated-content directory.

#### Content Maintenance Flow
A contributor edits `README.md`, preserving its heading hierarchy, list formatting, and outbound-link conventions; contribution guidance is the control boundary in `CONTRIBUTING.md`. Changes are documentation-centric: the repository stores references to externally hosted game projects rather than vendoring or building them.

#### Automation Boundary
`scripts/coauthor.py` is isolated under `scripts/`, keeping local contribution automation separate from the catalog itself. No evidence in the tree indicates a build pipeline, test suite, deployment target, package manager, or CI infrastructure.

#### External Dependencies and Services
The repository’s meaningful integrations are outbound hyperlinks from `README.md` to external project homepages and source hosts, chiefly GitHub, GitLab, Codeberg, SourceForge, Gitea, and project-specific sites. Referenced engines and libraries describe listed games’ ecosystems, not dependencies of this repository.

#### Architectural Constraints
The main consistency risk is manual maintenance of a large single-file index: heading anchors, category placement, link validity, and formatting are coupled within `README.md`. Any future structured export, validation, or discovery tooling would need to parse this Markdown-first representation or introduce a canonical structured source.

Main entry points: [`README.md`](https://github.com/bobeff/open-source-games/blob/main/README.md) (README.md), [`CONTRIBUTING.md`](https://github.com/bobeff/open-source-games/blob/main/CONTRIBUTING.md) (CONTRIBUTING.md), [`scripts/coauthor.py`](https://github.com/bobeff/open-source-games/blob/main/scripts/coauthor.py) (coauthor.py)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Catalog"]
  node_readme["README.md<br/>canonical catalog<br/>[README.md]"]
  node_genres["Genre sections<br/>Markdown headings<br/>[README.md]"]
  node_families["Project families<br/>nested headings<br/>[README.md]"]
  node_entries["Catalog entries<br/>Markdown list items<br/>[README.md]"]
end

subgraph group_contribution["Contribution"]
  node_contributing["CONTRIBUTING.md<br/>contribution guide<br/>[CONTRIBUTING.md]"]
  node_coauthor["coauthor.py<br/>contributor utility<br/>[coauthor.py]"]
  node_maintainer(("Contributors<br/>actors"))
end

subgraph group_external["Referenced ecosystem"]
  node_project_sites["Project homepages<br/>external sites"]
  node_source_hosts["Source hosts<br/>external services"]
  node_listed_projects["Listed game projects<br/>external projects"]
end

node_readme -->|"organizes by"| node_genres
node_genres -->|"contains"| node_families
node_families -->|"contains"| node_entries
node_readme -->|"indexes"| node_entries
node_maintainer -->|"follows"| node_contributing
node_contributing -->|"governs edits to"| node_readme
node_maintainer -->|"maintains"| node_readme
node_maintainer -.->|"may use"| node_coauthor
node_entries -->|"links to"| node_project_sites
node_entries -->|"links to"| node_source_hosts
node_project_sites -.->|"represent"| node_listed_projects
node_source_hosts -.->|"host sources for"| node_listed_projects

click node_readme "https://github.com/bobeff/open-source-games/blob/main/README.md"
click node_genres "https://github.com/bobeff/open-source-games/blob/main/README.md"
click node_families "https://github.com/bobeff/open-source-games/blob/main/README.md"
click node_entries "https://github.com/bobeff/open-source-games/blob/main/README.md"
click node_contributing "https://github.com/bobeff/open-source-games/blob/main/CONTRIBUTING.md"
click node_coauthor "https://github.com/bobeff/open-source-games/blob/main/scripts/coauthor.py"

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_readme,node_genres,node_families,node_entries toneBlue
class node_contributing,node_coauthor,node_maintainer toneAmber
class node_project_sites,node_source_hosts,node_listed_projects toneMint
```

## Components

### Catalog

Markdown is the canonical catalog representation.

- [README.md](https://github.com/bobeff/open-source-games/blob/main/README.md): canonical catalog · User-facing index and primary maintained artifact. · `README.md`
- [Genre sections](https://github.com/bobeff/open-source-games/blob/main/README.md): Markdown headings · Top-level classification and table-of-contents anchors. · `README.md`
- [Project families](https://github.com/bobeff/open-source-games/blob/main/README.md): nested headings · Groups related engines, franchises, and source ports. · `README.md`
- [Catalog entries](https://github.com/bobeff/open-source-games/blob/main/README.md): Markdown list items · Project references with descriptions and outbound links. · `README.md`

### Contribution

- [CONTRIBUTING.md](https://github.com/bobeff/open-source-games/blob/main/CONTRIBUTING.md): contribution guide · Defines editing workflow and quality expectations. · `CONTRIBUTING.md`
- [coauthor.py](https://github.com/bobeff/open-source-games/blob/main/scripts/coauthor.py): contributor utility · Isolated local automation for contributors. · `scripts/coauthor.py`
- **Contributors**: actors

### Referenced ecosystem

Projects are hosted outside this repository.

- **Project homepages**: external sites
- **Source hosts**: external services · GitHub, GitLab, Codeberg, SourceForge, Gitea, and similar hosts.
- **Listed game projects**: external projects · Games, engines, source ports, and reimplementations are referenced, not vendored.

## Connections

- README.md → Genre sections: organizes by
- Genre sections → Project families: contains
- Project families → Catalog entries: contains
- README.md → Catalog entries: indexes
- Contributors → CONTRIBUTING.md: follows
- CONTRIBUTING.md → README.md: governs edits to
- Contributors → README.md: maintains
- Contributors → coauthor.py: may use
- Catalog entries → Project homepages: links to
- Catalog entries → Source hosts: links to
- Project homepages → Listed game projects: represent
- Source hosts → Listed game projects: host sources for
