Commit Graph

8 Commits

Author SHA1 Message Date
thw 9492b92e80 refactor(arch,ui,stats): modularize codebase (<500 LOC/file), unify stats hub & refine win FX
Großes Architektur-, Deduplizierungs- & UI-Release:
- Strikte Modularisierung (<500 Zeilen pro Datei, 1 Klasse pro Modul, pyscn Health Score 97/100).
- Gemeinsame Basis-Klassen extrahiert: SolitaireMenuBase, SolitaireTableController, SolitaireSessionGuard, SolitaireCanvasInput, SolitaireOutcomeFlow, LuckPouchMenuBase, CasinoArenaBase & CasinoResultDialogBase.
- UnifiedStatsView: kategorisierter Statistik-Hub (Glück, Solitaire, Bayerische Spiele, Gesellschaft) ohne Äpfel-mit-Birnen-Gesamtansicht.
- PokerResultDialog auf das Gothic-Canvas-Rahmendesign gehoben.
- EndgameFxOverlay: Feuerwerksraketen entfernt, direkter Spawn von Fledermaus- und Kürbis-Explosionen.
2026-11-22 23:07:57 +01:00
thw 4c29eda3c3 perf(ui): optimize Crostini/XWayland rendering and refactor Gothic UI layout
- Centralize compact GothTopbar title and 8-char/8-digit user badge within background safe-area

- Split solitaire_menu_chrome into MenuBodyCanvas, SolitaireModalDialog (with GIF support), and SolitaireBottomBar

- Remove general_table.jpg and render solitaire tables seamlessly over shared background cache

- Keep ResizingBG persistent across clear_window() to eliminate black-screen flickering

- Add C-accelerated PIL matte cleaning, lazy button state caching, pre-scaled card cache, and startup preloader
2026-11-19 22:50:58 +01:00
thw 6f614c8595 feat(ui): overhaul menus, stats & dialogs to custom canvas-based Gothic UI
- Add ui_typography.py and update game_constants.py for Old London typography and new image assets
- Upgrade AssetManager with downscaled 9-slice box rendering and PIL Old London text engine
- Convert ResizingBG to full-window Canvas with automatic horizontal/vertical background switching
- Add GothEntry and two-part GothDropdown with proportional arrow cap, mousewheel scrolling, and scroll indicators
- Update ImageButton with 3-slice side caps, frame-aware auto-width, and automatic icon stripping
- Refactor GothTopbar, LoginView, MainMenuView (hover zoom), StatisticsView, StatsBoardWidget, BotSetupWidget, and AudioSettingsDialog
- Migrate Blackjack, Poker, FreeCell, Klondike, and Spider menu/stats views plus BlackjackResultDialog to frameless canvas layouts
- Fix Crostini shelf icon matching via exact X11 WM_CLASS and absolute pixmap path
2026-11-17 22:31:02 +01:00
thw 4c9b098fcb fix(blackjack): adjust oval table layout and fix text clipping 2026-11-16 00:22:24 +01:00
thw aad8a2f0d6 feat(solitaire): add Spider Solitaire, game tile icons & framed table background
- Add complete Spider Solitaire module (1/2/4 suits, strict 10-column deal rule & constructive deal generator)
- Render custom game icons on main menu cards with automatic badge cropping & rounded corners
- Add responsive general_table.jpg background renderer with frame-aware card insets across all Solitaire tables
- Rebuild internal_base.db with Spider Solitaire translations (DE/EN)
2026-11-15 23:06:29 +01:00
thw 304e288987 feat(solitaire): add FreeCell, card flight animations, save/resume & deadlock handling
- Add complete FreeCell module (8 cascades, Supermove capacity, solver & 4 difficulty tiers)
- Add shared CardFlightAnimator for smooth 60fps card transitions, undo flights & snap-back
- Delay game timer start until first actual card/stock/hint interaction
- Add unlimited Undo to move 0, Undo All (Ctrl+Shift+Z), 3-cycle stock lock & deadlock modal
- Implement persistent auto-save/resume across restarts and clean shutdown on X / Ctrl+C
- Update playing card assets, responsive aspect-ratio scaling and i18n entries (DE/EN)
2026-11-15 21:03:27 +01:00
thw 4e96cf8b56 feat(poker,ui): add 6-max Texas Hold'em module, Old London font loader, window persistence & custom art assets 2026-11-14 22:47:38 +01:00
thw 163a3665d2 first commit 2026-11-14 05:25:51 +01:00