Split app.js into modular components (state, evaluation, ui, board, data)

This commit is contained in:
2026-05-27 22:55:49 +02:00
parent 8d971dbef9
commit 8758441f65
9 changed files with 667 additions and 695 deletions

View File

@@ -22,7 +22,12 @@ Live-Überwachung von Lara Kiesewetters Partien bei der **ODJM (Offene Deutsche
├── index.html # HTML-Grundgerüst
├── style.css # Dark-Theme-Styling (responsive)
├── js/
│ ├── app.js # Hauptlogik (Brett, UI, Auto-Refresh, Eval-Bar)
│ ├── app.js # Event-Listener und Initialisierung
│ ├── state.js # Globaler Zustand (Variablen)
│ ├── board.js # Schachbrett-Rendering und Zug-Navigation
│ ├── data.js # PGN-Laden, Turniertabelle, Auto-Refresh
│ ├── evaluation.js # Stockfish-Analyse und Eval-Bar
│ ├── ui.js # UI-Rendering (Spielerinfo, Züge, PGN)
│ └── pgn-parser.js # PGN-Parser (Header + Züge extrahieren)
├── server.py # Lokaler Proxy-Server + Stockfish-Engine (Python 3)
├── cache/ # PGN- und Standings-Cache