Split app.js into modular components (state, evaluation, ui, board, data)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user