# wolframik/puzzle-games---hobby architecture

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

- Interactive diagram: https://gitdiagram.com/wolframik/puzzle-games---hobby
- Repository: https://github.com/wolframik/puzzle-games---hobby

## Overview

This is a small static hobby website with game- and media-oriented pages and bundled audio, video, and photo assets. The sampled JavaScript shows three browser interactions: changing displayed game text, adjusting logo animation timing, and toggling a path’s colors. The README gives no product workflow, and the HTML files were not sampled, so page-to-script wiring and navigation relationships cannot be established from the available evidence.

Main entry points: [`script.js`](https://github.com/wolframik/puzzle-games---hobby/blob/main/script.js) (Game text selector), [`anim.js`](https://github.com/wolframik/puzzle-games---hobby/blob/main/anim.js) (Logo animation control), [`witness.js`](https://github.com/wolframik/puzzle-games---hobby/blob/main/witness.js) (Path color toggle)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Site pages"]
  node_home["Home page<br/>[index.html]"]
  node_games["Games page<br/>[gry.html]"]
  node_designers["Designers page<br/>[designers.html]"]
  node_witness["Witness page<br/>[witness.html]"]
  node_advantages["Advantages page<br/>[zalety.html]"]
  node_styles["Site styles<br/>[style.css]"]
end

subgraph group_interactions["Browser interactions"]
  node_game_selector["Game text selector<br/>[script.js]"]
  node_logo_animation["Logo animation control<br/>[anim.js]"]
  node_path_toggle["Path color toggle<br/>[witness.js]"]
end

subgraph group_media["Media assets"]
  node_audio["Audio collection"]
  node_music["Music collection"]
  node_video["Video collection"]
  node_photos["Photo collection"]
end

node_visitor(("Site visitor"))

node_visitor -->|"changes selection"| node_game_selector
node_visitor -->|"clicks logo"| node_logo_animation
node_visitor -->|"clicks start dot"| node_path_toggle

click node_home "https://github.com/wolframik/puzzle-games---hobby/blob/main/index.html"
click node_games "https://github.com/wolframik/puzzle-games---hobby/blob/main/gry.html"
click node_designers "https://github.com/wolframik/puzzle-games---hobby/blob/main/designers.html"
click node_witness "https://github.com/wolframik/puzzle-games---hobby/blob/main/witness.html"
click node_advantages "https://github.com/wolframik/puzzle-games---hobby/blob/main/zalety.html"
click node_styles "https://github.com/wolframik/puzzle-games---hobby/blob/main/style.css"
click node_game_selector "https://github.com/wolframik/puzzle-games---hobby/blob/main/script.js"
click node_logo_animation "https://github.com/wolframik/puzzle-games---hobby/blob/main/anim.js"
click node_path_toggle "https://github.com/wolframik/puzzle-games---hobby/blob/main/witness.js"
click node_audio "https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Audio"
click node_music "https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Music"
click node_video "https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Video"
click node_photos "https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Zdj%C4%99cia"

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_home,node_games,node_designers,node_witness,node_advantages,node_styles toneBlue
class node_game_selector,node_logo_animation,node_path_toggle toneAmber
class node_audio,node_music,node_video,node_photos toneMint
class node_visitor toneIndigo
```

## Components

### Site pages

- [Home page](https://github.com/wolframik/puzzle-games---hobby/blob/main/index.html): `index.html`
- [Games page](https://github.com/wolframik/puzzle-games---hobby/blob/main/gry.html): `gry.html`
- [Designers page](https://github.com/wolframik/puzzle-games---hobby/blob/main/designers.html): `designers.html`
- [Witness page](https://github.com/wolframik/puzzle-games---hobby/blob/main/witness.html): `witness.html`
- [Advantages page](https://github.com/wolframik/puzzle-games---hobby/blob/main/zalety.html): `zalety.html`
- [Site styles](https://github.com/wolframik/puzzle-games---hobby/blob/main/style.css): `style.css`

### Browser interactions

- [Game text selector](https://github.com/wolframik/puzzle-games---hobby/blob/main/script.js): `script.js`
- [Logo animation control](https://github.com/wolframik/puzzle-games---hobby/blob/main/anim.js): `anim.js`
- [Path color toggle](https://github.com/wolframik/puzzle-games---hobby/blob/main/witness.js): `witness.js`

### Media assets

- [Audio collection](https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Audio): `Multimedia/Audio`
- [Music collection](https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Music): `Multimedia/Music`
- [Video collection](https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Video): `Multimedia/Video`
- [Photo collection](https://github.com/wolframik/puzzle-games---hobby/tree/main/Multimedia/Zdj%C4%99cia): `Multimedia/Zdjęcia`

### Other components

- **Site visitor**

## Connections

- Site visitor → Game text selector: changes selection (evidence: `script.js`)
- Site visitor → Logo animation control: clicks logo (evidence: `anim.js`)
- Site visitor → Path color toggle: clicks start dot (evidence: `witness.js`)
