# micodo/menno architecture

> Architecture diagram of the GitHub repository micodo/menno, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/micodo/menno
- Repository: https://github.com/micodo/menno

## Overview

##### Project type and purpose
- The presence of `_config.yml` suggests it is built with Jekyll (GitHub Pages) into a set of static assets (index.html, menno.css, menno.js).

##### File structure
- Top-level files only:
- `_config.yml` – Jekyll configuration
- `index.html` – entry point for the game UI
- `menno.css` – styling rules for board, pieces, dice
- `menno.js` – game logic, event handlers, roll-and-move algorithms
- No backend directory, no database directory, no server-side code or dependencies: everything runs in the browser.

##### Key insights from the README
- It simply describes the game “Menno!”, so the core functionality is the dice-based movement of four pieces.
- No mention of multiplayer networking or persistent storage – it’s purely client-only.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Source Layer
    Developer["Developer / Content Source"]:::source
    click Developer "https://github.com/micodo/menno/blob/master/README.md"

    %% Build Layer
    subgraph "Build Pipeline"
        direction TB
        JekyllConfig["_config.yml"]:::build
        click JekyllConfig "https://github.com/micodo/menno/blob/master/_config.yml"
        JekyllEngine["Jekyll Build Engine"]:::build
    end

    %% Hosting Layer
    Hosting["Hosting / CDN"]:::host

    %% Client Layer
    subgraph "Browser (Client)"
        direction TB
        HTML["index.html (HTML Renderer)"]:::client
        click HTML "https://github.com/micodo/menno/blob/master/index.html"
        CSS["menno.css (CSS Engine)"]:::client
        click CSS "https://github.com/micodo/menno/blob/master/menno.css"
        JS["menno.js (JavaScript VM)"]:::client
        click JS "https://github.com/micodo/menno/blob/master/menno.js"
        DOM["DOM (Rendered UI)"]:::client
    end

    %% User
    User["User"]:::user

    %% Connections
    Developer -->|"push source"| JekyllConfig
    JekyllConfig --> JekyllEngine
    JekyllEngine -->|"produces static assets"| Hosting
    Hosting -->|"serves over HTTPS"| HTML
    Hosting --> HTML
    Hosting --> CSS
    Hosting --> JS
    HTML --> DOM
    CSS --> DOM
    JS --> DOM
    User -->|"interacts via UI"| JS
    JS -->|"updates DOM"| DOM

    %% Styles
    classDef source fill:#f9f,stroke:#333,stroke-width:1px
    classDef build fill:#ff9,stroke:#333,stroke-width:1px
    classDef host fill:#9ff,stroke:#333,stroke-width:1px
    classDef client fill:#9f9,stroke:#333,stroke-width:1px
    classDef user fill:#fcf,stroke:#333,stroke-width:1px
```
