From b72898cd562e68199cbfac39709e17246d627c6c Mon Sep 17 00:00:00 2001 From: thw Date: Sat, 21 Nov 2026 02:31:54 +0100 Subject: [PATCH] README update --- README.md | 98 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 62 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 65ea7ba..7b520da 100644 --- a/README.md +++ b/README.md @@ -27,18 +27,20 @@ Jedes Spiel arbeitet als vollständig gekapseltes Modul mit **eigener Erfahrungs * **XP-gegen-Gold-Tausch:** Regulär `10.000 XP` für `+10 Gold` (ausschließlich aus dem XP-Pool des jeweiligen Spiels). * **Divine Punishment:** Wer im jeweiligen Spiel einmal den Rang *Gottheit* erreicht hat, zahlt für Gold-Tausche das $10$-fache der Durchschnitts-XP des Vorlevels und kann maximal bis auf die Untergrenze von *Schöpfergeist V* zurückfallen. * **The Devil's Deal:** Ist die Untergrenze von *Schöpfergeist V* erreicht, kann ein anderes Seelen-Profil geopfert werden (sofern dieses **im selben Spiel** mindestens den Rang **Stütze I** hält), um `+10 Gold` zu erhalten. Während eines aktiven Pakts sind alle anderen Menüs und Spiele gesperrt (*Auto-Save & Resume-Zwang*), bis die Runde entschieden ist. -* ** Gemeinsames Solitaire-Framework (`games/solitaire/base/`):** +* **Universelles HUD-, Statistik- & Einstellungs-System:** + * **Zentralisierte Leisten (`GothTopbar` & `SolitaireBottomBar`):** Einheitliche, schlanke Kopfleiste (mit verzögerungsfreiem Level/XP-Badge-Update ohne Layout-Redraw) sowie eine gerahmte untere HUD- und Aktionsleiste mit dynamischen Links-/Rechts-Overflow-Flügeln für kompakte Auflösungen (z. B. `1366×768`). + * **Zentrale Einheits-Statistik (`UnifiedStatsView`):** Spielübergreifendes Vollbild-Overlay (direkt aus jedem laufenden Tisch ohne Zerstörung des Spielstands aufrufbar) mit Umschaltern für Gesamtprofil, Einzelspiele, Spielvarianten sowie Blackjack-/Poker-Goldbeutel. + * **Kombinierter Einstellungs-Dialog, `GothSwitch` & Hover-Hilfe:** Vereint Live-Sprachwechsel (**DE / EN**), zweikanalige Audio-Regler (Ambiance/Musik & Soundeffekte) und einen weich animierten Toggle-Switch (`GothSwitch`), über den kontextsensitive Hover-Tooltips (`Helvetica` für optimale Lesbarkeit) auf Aktions-Buttons global ein- oder ausgeschaltet werden können. +* **Gemeinsames Solitaire-Framework (`games/solitaire/base/`):** * **Garantiert lösbare Deals & 4 Schwierigkeitsstufen:** Vorab-Prüfung durch spielspezifische Solver und konstruktive Deal-Generatoren von *Stufe 1 – Akolyth (Leicht)* bis *Stufe 4 – Gottheit (Gnadenlos)*. * **Flüssige 60-FPS-Animationen (`CardFlightAnimator`):** Nicht-blockierender Kartenflug mit kubischem Ease-Out, Snap-Back bei ungültigen Drops und verzögerungsfreiem `flush()` bei schnellen Klickserien. * **Komfort, Auto-Save & Fairness:** Spielzeit startet erst bei der ersten echten Karten-/Tipp-Interaktion, pausiert automatisch bei Fokusverlust, speichert jeden Zug persistent inkl. unbegrenztem `Strg+Z` bis Zug $0$ sowie `⟲ Anfang` (`Strg+Shift+Z`) und erkennt Sackgassen automatisch. Das Aufgeben einer begonnenen Partie zieht $40\,\%$ der regulären Sieg-XP ab (geschützt durch das *Schöpfergeist V*-Minimum). * **7 KI-Schwierigkeitsgrade (Stufe 0 bis Stufe 6 „Gottheit“):** * Frei konfigurierbare Gegner-Slots mit persistent gespeicherten Namen und KI-Stufen pro Tischspiel (`bot_configs`). * **Gothic UI, Spiel-Icons, Custom Fonts & Cross-Platform Integration:** - * Eigene hochauflösende Spiel-Icons (`resources/images/game_icons/*.ico`) auf den Hauptmenü-Kacheln mit automatischer Freistellung und abgerundeter Maskierung sowie ein gerahmter Damast-Spieltisch (`general_table.jpg`) mit dynamischer Rahmen-Innenberechnung für alle Solo-Tische. + * Eigene hochauflösende Spiel-Icons (`resources/images/game_icons/*.ico`) auf den Hauptmenü-Kacheln mit automatischer Freistellung und abgerundeter Maskierung, freigestellte RGBA-Tische (`poker_table.png`) mit dynamischer Rahmenbreiten-Anpassung (`box_background.png`) sowie nahtloses Hintergrund-Slicing. * Dynamischer Laufzeit-Font-Loader (`view/font_loader.py`) für mitgelieferte `.ttf`-Schriften (`OldLondon.ttf` & `OldLondonAlternate.ttf`) komplett ohne Systeminstallation unter **Windows**, **Linux**, **ChromeOS (Crostini)** und **macOS**. - * Plattformübergreifendes Anwendungs-Icon (`game_icon.ico` inkl. Windows-Taskbar-ID, Multi-Size X11/Wayland `WM_CLASS` & macOS-Dock-Unterstützung). - * Automatische Speicherung & Wiederherstellung von Fenstergröße, Bildschirmposition und Maximiert-/Vollbild-Status (`view/window_state.py`). - * Vollständige Zweisprachigkeit (**Deutsch / Englisch**) im Live-Wechsel sowie zweikanalige Audio-Steuerung (Ambiance/Hintergrundmusik & Soundeffekte). + * Plattformübergreifendes Anwendungs-Icon (`game_icon.ico` inkl. Windows-Taskbar-ID, Multi-Size X11/Wayland `WM_CLASS` & macOS-Dock-Unterstützung) sowie automatische Speicherung & Wiederherstellung von Fenstergröße, Bildschirmposition und Maximiert-/Vollbild-Status (`view/window_state.py`). --- @@ -46,9 +48,9 @@ Jedes Spiel arbeitet als vollständig gekapseltes Modul mit **eigener Erfahrungs | Kategorie | Spiel | Status | Varianten & Besonderheiten | Detail-Doku | | :--- | :--- | :--- | :--- | :--- | -| **Glück** | **Blackjack** | Spielbar | *Klassisch* (2 Decks) & *Hoher Einsatz* (6 Decks), bis zu 3 Bots, Devil's Gambit Wettbaum, Split/Double, `7-7-7` Sofortsieg | [`games/blackjack/README.md`](games/blackjack/README.md) | -| **Glück** | **Texas Hold'em** | Spielbar | *Klassisch* & *Hoher Einsatz*, 6-Max Tisch (1–5 Bots), gleicher Start-Ante, Pre-Flop bis Showdown, All-In & Side-Pots, Info-Hilfesystem | [`games/poker/README.md`](games/poker/README.md) | -| **Solo** | **Solitaire-Basis** | Aktiv | Gemeinsame Engine, `CardFlightAnimator`, `SolitaireTableBgRenderer`, Auto-Save/Resume & In-Game-Statistik | [`games/solitaire/README.md`](games/solitaire/README.md) | +| **Glück** | **Blackjack** | Spielbar | *Klassisch* (2 Decks) & *Hoher Einsatz* (6 Decks), bis zu 4 Bots an den Tischecken, Devil's Gambit Wettbaum, Split/Double, `7-7-7` Sofortsieg, Hover-Tooltips | [`games/blackjack/README.md`](games/blackjack/README.md) | +| **Glück** | **Texas Hold'em** | Spielbar | *Klassisch* & *Hoher Einsatz*, Vollbild 6-Max Tisch (1–5 Bots), gleicher Start-Ante, Pre-Flop bis Showdown, All-In & Side-Pots, spoilerfreie *Kartenreferenz* (`PokerHandsOverlay`) & Hover-Tooltips | [`games/poker/README.md`](games/poker/README.md) | +| **Solo** | **Solitaire-Basis** | Aktiv | Gemeinsame Engine (`SolitaireCard` + `SolitaireBaseEngine`), `SolitaireBottomBar`, `CardFlightAnimator`, `SolitaireTableBgRenderer` & Auto-Save/Resume | [`games/solitaire/README.md`](games/solitaire/README.md) | | **Solo** | **Klondike** | Spielbar | *1 Karte ziehen* & *3 Karten ziehen*, 7 Spalten, Vorab-Solver, 4 Schwierigkeitsgrade, 3-Zyklen-Stagnationssperre & Auto-Ende | [`games/solitaire/klondike/README.md`](games/solitaire/klondike/README.md) | | **Solo** | **FreeCell** | Spielbar | *Standard*, 8 offene Spalten, 4 Freie Zellen, exakte Supermove-Formel, Best-First-Solver & Smart-Auto-Move | [`games/solitaire/freecell/README.md`](games/solitaire/freecell/README.md) | | **Solo** | **Spider Solitaire** | Spielbar | *1 Farbe*, *2 Farben* & *4 Farben*, 104 Karten auf 10 Spalten, strenge Austeil-Regel, konstruktiver Deal-Generator & 8 Sequenz-Slots | [`games/solitaire/spider_solitaire/README.md`](games/solitaire/spider_solitaire/README.md) | @@ -64,9 +66,13 @@ the_goth_cardgame_collection/ ├── main.py # Einstiegspunkt, OS-Icon, Font-Registrierung & Window-Persistence ├── build.py # Build-Skript (aktuelles OS oder Cross-Platform-Paketierung) ├── user_data.db # Automatisch beim Start erzeugte lokale Spielstand- & Statistik-DB +├── build_scripts/ +│ ├── rebuild_internal_db.py # Baut internal_base.db sauber aus resources/code_res/sql/*.sql neu +│ ├── check_i18n.ps1 # AST-Tiefenprüfung aller t(...)-Aufrufe, Konstanten & Platzhalter +│ └── check_multi_class_files.ps1 # Prüft projektweit die strikte 1-Klasse-pro-Datei-Regel ├── controller/ │ ├── app_controller.py # Hauptsteuerung, Profil-Session & Devil's-Deal-Sperrlogik -│ ├── app_context.py # Schnittstelle zwischen Core-App und den Spielmodulen +│ ├── app_context.py # Schlanke Schnittstelle zwischen Core-App, Settings, Stats & Spielen │ └── game_loader.py # Dynamischer Discovery-Loader für games/**/start.py ├── models/ │ ├── card.py # Karten-Datenmodell @@ -80,26 +86,27 @@ the_goth_cardgame_collection/ │ │ ├── game_constants.py # Zentrale Konstanten, Farbpalette & Spiel-Konfigurationen │ │ ├── i18n.py # Übersetzungs-Cache & Sprachumschaltung (DE/EN) │ │ ├── sql_queries.py # Alle SQL-Statements & User-DB-DDL -│ │ ├── internal_base.sql # Vollständiger SQL-Seed (nur für manuelle DB-Neuerstellung) +│ │ ├── sql/ # Modulare Seed-Skripte (01_allgemein.sql, 02_blackjack.sql, 03_poker.sql, ...) │ │ └── internal_base.db # Fertig mitgelieferte Read-Only-Stammdatenbank │ ├── fonts/ # Lokale TTF-Schriften (OldLondon.ttf, OldLondonAlternate.ttf) -│ ├── images/ # UI-Grafiken, Banner, Tischhintergründe (poker_table.png, general_table.jpg) +│ ├── images/ # UI-Grafiken, Rahmenboxen, Switch-Assets & Tischhintergründe │ │ ├── cards/default/ # Spielkarten-Grafiken & Kartenrücken │ │ └── game_icons/ # Modulspezifische Spiel-Icons (*.ico) für Hauptmenü-Kacheln │ └── sounds/ # Musik (Beyond_The_Iron_Gate, The_Midnight_Hand) & SFX ├── view/ │ ├── main_window.py # Hauptfenster-Container & Hintergrund-Skalierung -│ ├── assets_manager.py # PIL/ImageTk-Cache für Karten, Banner, Buttons & GIF-Frames -│ ├── font_loader.py # Plattformübergreifender TTF-Loader & Georgia->OldLondon-Bridge +│ ├── assets_manager.py # PIL/ImageTk-Cache für Karten, Rahmenboxen, Buttons & Hintergrund-Slices +│ ├── font_loader.py # Plattformübergreifender TTF-Loader & OldLondon-Textrenderer +│ ├── unified_stats_view.py # Zentrale Vollbild-Statistikansicht für alle Spiele & Goldbeutel │ ├── window_state.py # Speicherung/Wiederherstellung von Fenstergröße & Position -│ ├── dialogs/ # Globale Overlays (z. B. AudioSettingsDialog) -│ ├── menus/ # LoginView, MainMenuView (mit Game-Icons), StatisticsView -│ └── widgets/ # ImageButton, BotSetupWidget, StatsBoardWidget, InfoBadge +│ ├── dialogs/ # Kombinierter Einstellungs-Dialog (Sprache, Hover-Hilfe & Audio) +│ ├── menus/ # LoginView & MainMenuView (mit Game-Icons) +│ └── widgets/ # GothTopbar, ImageButton (mit Hover-Tip), GothSwitch, GothDropdown, ... └── games/ ├── blackjack/ # Eigenständiges Blackjack-Modul (MVC + eigene README.md) - ├── poker/ # Eigenständiges 6-Max Texas Hold'em-Modul (MVC + eigene README.md) + ├── poker/ # Eigenständiges 6-Max Texas Hold'em-Modul inkl. PokerHandsOverlay └── solitaire/ # Solitaire-Suite (inkl. Architektur-README.md) - ├── base/ # Gemeinsame Engine, CardFlightAnimator, Tisch-Theme & StatsView + ├── base/ # SolitaireCard, SolitaireBaseEngine, SolitaireBottomBar, Animator & Theme ├── klondike/ # Klondike (Draw 1 & Draw 3, Solver, MVC + eigene README.md) ├── freecell/ # FreeCell (Supermove-Formel, Solver, MVC + eigene README.md) └── spider_solitaire/ # Spider Solitaire (1/2/4 Farben, Generator, MVC + eigene README.md) @@ -131,18 +138,22 @@ python3 build.py --target current python3 build.py --target all ~~~ -#### D. Hinweis zur Stammdatenbank (`internal_base.db`) -Die Datei `resources/code_res/internal_base.db` wird **komplett fertig und einsatzbereit mitgeliefert** – im normalen Betrieb oder beim Bauen muss nichts an der Datenbank gemacht werden. -Die Datei `internal_base.sql` enthält den gesamten Datenbestand als Voll-Backup und wird **ausschließlich dann** benötigt, wenn man die Stammdatenbank absichtlich von Hand modifiziert oder beschädigt hat und sie komplett frisch aufbauen möchte: -~~~bash -sqlite3 resources/code_res/internal_base.db < resources/code_res/internal_base.sql +#### D. Stammdatenbank (`internal_base.db`) & Qualitätsprüfung +Die Datei `resources/code_res/internal_base.db` wird **komplett fertig und einsatzbereit mitgeliefert**. +Werden während der Entwicklung Übersetzungen oder Spielvarianten in `resources/code_res/sql/*.sql` geändert, lässt sich die Datenbank jederzeit neu erzeugen und statisch gegen alle `t(...)`-Aufrufe sowie Architektur-Regeln prüfen: +~~~powershell +# Stammdatenbank neu aufbauen & alle i18n-Keys (inkl. verschachtelter Konstanten) prüfen: +.\build_scripts\check_i18n.ps1 -RebuildDb + +# Projektweit prüfen, dass jede Python-Datei maximal eine Klasse enthält: +.\build_scripts\check_multi_class_files.ps1 ~~~ --- ### 6. Architektur-Richtlinien -1. **Striktes 1-Klasse-pro-Datei-Prinzip** für klare Zuständigkeiten. -2. **Keine Hardcodings:** Alle UI-Texte (`DE`/`EN`) liegen in `base_i18n`, SQL-Abfragen in `sql_queries.py`, Konstanten in `game_constants.py`. +1. **Striktes 1-Klasse-pro-Datei-Prinzip** für klare Zuständigkeiten (automatisiert prüfbar via `check_multi_class_files.ps1`). +2. **Keine Hardcodings:** Alle UI-Texte (`DE`/`EN`) liegen in `base_i18n` (`resources/code_res/sql/`), SQL-Abfragen in `sql_queries.py`, Konstanten in `game_constants.py`. 3. **Plugin-Einstiegspunkt:** Jedes Spielmodul besitzt eine `start.py` mit `GAME_TITLE_KEY`, `GAME_FOLDER_ID`, `GAME_CATEGORY` und `start_game(context)` und wird automatisch vom `GameLoader` eingebunden. 4. **Zeilenenden:** Über `.gitattributes` werden plattformübergreifend saubere `LF`-Zeilenenden für Quellcode und SQL-Dateien erzwungen. @@ -171,6 +182,10 @@ Every game runs as a self-contained module with **strictly isolated progression * **XP-to-Gold Exchange:** Base rate of `10,000 XP` for `+10 Gold` drawn strictly from that specific game's XP pool. * **Divine Punishment:** Once a profile has ever reached *Deity* in a game, exchanging XP costs $10\times$ the average XP of the previous level, dropping no lower than the floor of *Creator Spirit V*. * **The Devil's Deal:** At the *Creator Spirit V* floor, players may permanently sacrifice another soul profile (holding at least **Support I** in that **exact same game**) for `+10 Gold`. Active pacts lock navigation and enforce auto-save/resume until the hand is resolved. +* **Unified HUD, Statistics & Settings Architecture:** + * **Centralized Bars (`GothTopbar` & `SolitaireBottomBar`):** Streamlined universal topbar (featuring zero-relayout Level/XP badge updates) paired with a framed bottom HUD & action bar with dynamic left/right overflow wings for compact screens (such as `1366×768`). + * **Unified Statistics Overlay (`UnifiedStatsView`):** Single full-screen overlay accessible from any active table without destroying the underlying game state, featuring filters for overall profile stats, individual games, variants, and Blackjack/Poker Gold pouches. + * **Combined Settings Dialog, `GothSwitch` & Hover Tooltips:** Combines live **DE / EN** language switching, dual-channel audio sliders (Ambiance/Music & SFX), and a custom-animated toggle switch (`GothSwitch`) that globally enables or disables clean `Helvetica` hover tooltips across action buttons. * **Shared Solitaire Framework (`games/solitaire/base/`):** * **Guaranteed Solvable Deals & 4 Difficulty Tiers:** Pre-verified deals via dedicated solvers and constructive reverse generators ranging from *Tier 1 – Acolyte (Easy)* to *Tier 4 – Deity (Merciless)*. * **Smooth 60fps Animations (`CardFlightAnimator`):** Non-blocking cubic ease-out card flights, invalid-drop snap-back, and zero-lag `flush()` during rapid click sequences. @@ -178,10 +193,9 @@ Every game runs as a self-contained module with **strictly isolated progression * **7 AI Difficulty Tiers (Level 0 to Level 6 "Deity"):** * Configurable opponent seats with persistent names and AI levels per table game (`bot_configs`). * **Gothic UI, Game Tile Icons, Bundled Fonts & Cross-Platform Integration:** - * Custom per-game icons (`resources/images/game_icons/*.ico`) rendered on main menu tiles with automatic badge cropping and rounded supersampled corners, paired with a framed damask table background (`general_table.jpg`) with frame-aware card insets across all Solitaire tables. + * Custom per-game icons (`resources/images/game_icons/*.ico`) rendered on main menu tiles with automatic badge cropping and rounded supersampled corners, transparent RGBA tables (`poker_table.png`) with dynamic box sizing (`box_background.png`), and seamless background slicing. * Runtime `.ttf` font loader (`OldLondon.ttf`, `OldLondonAlternate.ttf`) requiring zero OS-level font installation on **Windows**, **Linux**, **ChromeOS (Crostini)**, and **macOS**. * Cross-platform window & taskbar icon support (`game_icon.ico`) plus automatic window size, position, and maximized/fullscreen persistence (`WindowStatePersistence`). - * Live **DE / EN** localization and dual-channel audio controls (Ambiance/Music & SFX). --- @@ -189,9 +203,9 @@ Every game runs as a self-contained module with **strictly isolated progression | Category | Game | Status | Variants & Highlights | Module Docs | | :--- | :--- | :--- | :--- | :--- | -| **Luck** | **Blackjack** | Playable | *Classic* (2 Decks) & *High Stakes* (6 Decks), up to 3 Bots, Devil's Gambit betting tree, Split/Double, `7-7-7` instant win | [`games/blackjack/README.md`](games/blackjack/README.md) | -| **Luck** | **Texas Hold'em** | Playable | *Classic* & *High Stakes*, 6-Max Arena (1–5 Bots), equal entry ante, Pre-Flop to Showdown, All-In & Side Pots, info tooltips | [`games/poker/README.md`](games/poker/README.md) | -| **Solo** | **Solitaire Core** | Active | Shared engine, `CardFlightAnimator`, `SolitaireTableBgRenderer`, auto-save/resume & in-game stats view | [`games/solitaire/README.md`](games/solitaire/README.md) | +| **Luck** | **Blackjack** | Playable | *Classic* (2 Decks) & *High Stakes* (6 Decks), up to 4 corner Bots, Devil's Gambit betting tree, Split/Double, `7-7-7` instant win, hover tooltips | [`games/blackjack/README.md`](games/blackjack/README.md) | +| **Luck** | **Texas Hold'em** | Playable | *Classic* & *High Stakes*, full-canvas 6-Max Arena (1–5 Bots), equal entry ante, Pre-Flop to Showdown, All-In & Side Pots, spoiler-free *Card Reference* (`PokerHandsOverlay`) & hover tooltips | [`games/poker/README.md`](games/poker/README.md) | +| **Solo** | **Solitaire Core** | Active | Shared engine (`SolitaireCard` + `SolitaireBaseEngine`), `SolitaireBottomBar`, `CardFlightAnimator`, `SolitaireTableBgRenderer` & auto-save/resume | [`games/solitaire/README.md`](games/solitaire/README.md) | | **Solo** | **Klondike** | Playable | *Draw 1* & *Draw 3*, 7 cascades, pre-deal solver, 4 difficulty tiers, 3-cycle stagnation lock & Auto-Finish | [`games/solitaire/klondike/README.md`](games/solitaire/klondike/README.md) | | **Solo** | **FreeCell** | Playable | *Standard*, 8 open cascades, 4 FreeCells, exact Supermove formula, best-first solver & smart auto-move | [`games/solitaire/freecell/README.md`](games/solitaire/freecell/README.md) | | **Solo** | **Spider Solitaire** | Playable | *1 Suit*, *2 Suits* & *4 Suits*, 104 cards across 10 columns, strict deal rule, constructive deal generator & 8 run slots | [`games/solitaire/spider_solitaire/README.md`](games/solitaire/spider_solitaire/README.md) | @@ -223,9 +237,21 @@ python3 build.py --target current python3 build.py --target all ~~~ -#### D. Static Core Database (`internal_base.db`) -`resources/code_res/internal_base.db` is **shipped ready-to-use** out of the box—no database setup step is needed. -The full seed script `internal_base.sql` is only required if you intentionally edited the static core data yourself or manually corrupted `internal_base.db` and wish to rebuild it from scratch: -~~~bash -sqlite3 resources/code_res/internal_base.db < resources/code_res/internal_base.sql -~~~ \ No newline at end of file +#### D. Static Core Database (`internal_base.db`) & QA Scripts +`resources/code_res/internal_base.db` is **shipped ready-to-use** out of the box—no database setup step is needed to play. +When modifying localization keys or variants inside `resources/code_res/sql/*.sql`, you can rebuild the database and run full static verification via PowerShell: +~~~powershell +# Rebuild internal_base.db & verify all t(...) keys (including nested constants & placeholders): +.\build_scripts\check_i18n.ps1 -RebuildDb + +# Enforce the strict one-class-per-file rule across the entire codebase: +.\build_scripts\check_multi_class_files.ps1 +~~~ + +--- + +### 5. Architecture Guidelines +1. **Strict One-Class-Per-File Rule** for clean separation of concerns (verifiable via `check_multi_class_files.ps1`). +2. **Zero Hardcoding:** All localized strings (`DE`/`EN`) live in `base_i18n` (`resources/code_res/sql/`), SQL statements in `sql_queries.py`, and constants in `game_constants.py`. +3. **Plugin Entry Point:** Every game module exposes a `start.py` defining `GAME_TITLE_KEY`, `GAME_FOLDER_ID`, `GAME_CATEGORY`, and `start_game(context)` for automatic discovery by `GameLoader`. +4. **Line Endings:** `.gitattributes` enforces clean `LF` line endings across source and SQL files on all platforms. \ No newline at end of file