# geonmarollano-byte/proudgeonzer0quizx1 architecture

> Architecture diagram of the GitHub repository geonmarollano-byte/proudgeonzer0quizx1, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/geonmarollano-byte/proudgeonzer0quizx1
- Repository: https://github.com/geonmarollano-byte/proudgeonzer0quizx1

## Overview

ProudGeonZer0QuizX1 is a browser-based quiz home screen with a readiness-gated loading shell. The main workflow is entering the home screen, choosing a mode or category, and dispatching events for a quiz engine; the supplied V1 does not include that engine. Theme and player-statistics initialization gate loader completion. Several README-listed areas, including leaderboard and achievements, are present as informational UI rather than connected data features. The quiz handoff is event-based; no receiving game module appears in the supplied tree.

Main entry points: [`js/app.js`](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js) (Home Navigation), [`index.html`](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/index.html) (Application Markup), [`js/loader.js`](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/loader.js) (Loading Controller), [`css/style.css`](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/css/style.css) (Responsive Themes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Home Shell"]
  node_markup["Application Markup<br/>[index.html]"]
  node_styles["Responsive Themes<br/>[style.css]"]
  node_home["Home Navigation<br/>[app.js]"]
  node_modal["Modal Screens<br/>[app.js]"]
end

subgraph group_quiz["Quiz Selection"]
  node_quiz_modes["Mode Selection<br/>[app.js]"]
  node_categories["Category Selection<br/>[app.js]"]
  node_quiz_events["Quiz Events<br/>[app.js]"]
end

subgraph group_player["Player Preferences"]
  node_theme["Theme Preferences<br/>[app.js]"]
  node_statistics["Player Statistics<br/>[app.js]"]
end

subgraph group_loading["Loading"]
  node_loader["Loading Controller<br/>[loader.js]"]
end

node_user(("Player"))
node_game_engine["Quiz Engine"]

node_user -->|"opens"| node_markup
node_markup -->|"hosts"| node_home
node_home -->|"opens"| node_modal
node_modal -->|"offers"| node_quiz_modes
node_modal -->|"offers"| node_categories
node_quiz_modes -->|"dispatches"| node_quiz_events
node_categories -->|"dispatches"| node_quiz_events
node_quiz_events -.->|"signals"| node_game_engine
node_modal -->|"configures"| node_theme
node_home -->|"initializes"| node_statistics
node_home -->|"initializes"| node_theme
node_theme -->|"readiness signal"| node_loader
node_statistics -->|"readiness signal"| node_loader
node_markup -->|"uses"| node_styles
node_loader -->|"updates"| node_markup

click node_markup "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/index.html"
click node_styles "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/css/style.css"
click node_home "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js"
click node_modal "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js"
click node_quiz_modes "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js"
click node_categories "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js"
click node_quiz_events "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js"
click node_theme "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js"
click node_statistics "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js"
click node_loader "https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/loader.js"

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_markup,node_styles,node_home,node_modal toneBlue
class node_quiz_modes,node_categories,node_quiz_events toneAmber
class node_theme,node_statistics toneMint
class node_loader toneRose
class node_user,node_game_engine toneIndigo
```

## Components

### Home Shell

- [Application Markup](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/index.html): `index.html`
- [Responsive Themes](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/css/style.css): `css/style.css`
- [Home Navigation](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js): `js/app.js`
- [Modal Screens](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js): `js/app.js`

### Quiz Selection

- [Mode Selection](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js): `js/app.js`
- [Category Selection](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js): `js/app.js`
- [Quiz Events](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js): `js/app.js`

### Player Preferences

- [Theme Preferences](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js): `js/app.js`
- [Player Statistics](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/app.js): `js/app.js`

### Loading

- [Loading Controller](https://github.com/geonmarollano-byte/proudgeonzer0quizx1/blob/main/js/loader.js): `js/loader.js`

### Other components

- **Player**
- **Quiz Engine**

## Connections

- Player → Application Markup: opens (evidence: `README.md`)
- Application Markup → Home Navigation: hosts (evidence: `README.md`)
- Home Navigation → Modal Screens: opens (evidence: `js/app.js`)
- Modal Screens → Mode Selection: offers (evidence: `js/app.js`)
- Modal Screens → Category Selection: offers (evidence: `js/app.js`)
- Mode Selection → Quiz Events: dispatches (evidence: `js/app.js`)
- Category Selection → Quiz Events: dispatches (evidence: `js/app.js`)
- Quiz Events → Quiz Engine: signals (evidence: `README.md`)
- Modal Screens → Theme Preferences: configures (evidence: `js/app.js`)
- Home Navigation → Player Statistics: initializes (evidence: `js/app.js`)
- Home Navigation → Theme Preferences: initializes (evidence: `js/app.js`)
- Theme Preferences → Loading Controller: readiness signal (evidence: `js/app.js`)
- Player Statistics → Loading Controller: readiness signal (evidence: `js/app.js`)
- Application Markup → Responsive Themes: uses (evidence: `README.md`)
- Loading Controller → Application Markup: updates (evidence: `js/loader.js`)
