Commit Graph

5 Commits

Author SHA1 Message Date
dilgenfritz 37ec5f0f1e Complete media library cleanup - consolidate duplicate gallery systems
Phase 1 - Video Library Consolidation:
- Removed unified-video-gallery, loadUnifiedVideoGallery(), loadStandardVideoGallery(), loadLargeVideoGallery()
- Removed loadVideoGalleryContent() and all category-video-gallery references
- Removed setupVideoItemHandlers(), selectAllVideos(), deleteSelectedVideos(), deleteVideo()
- Consolidated to single lib-video-gallery system

 Phase 2 - Image Library Consolidation:
- Removed task-images-gallery, consequence-images-gallery elements and tabs
- Removed obsolete image selection buttons
- Added task/consequence/reward filtering to lib-image-gallery
- Implemented directory-based category filtering

 Phase 3 - Audio Library Consolidation:
- Removed background-audio-gallery, ambient-audio-gallery elements and tabs
- Removed obsolete audio selection buttons
- Enhanced lib-audio-gallery with background/ambient category filtering
- Implemented efficient audio filtering system

 Impact: ~500+ lines removed, 12+ duplicate functions eliminated, 9+ obsolete UI elements cleaned
 Result: Single consolidated library system per media type with enhanced filtering capabilities
2025-11-11 20:41:53 -06:00
dilgenfritz c43737a71d Save current state: Fixed text readability in scenarios and interactive tasks 2025-10-29 17:04:42 -05:00
dilgenfritz 3a57f1ce71 Refactor file structure with feature-based organization
New Structure:
- src/core/ - Core game engine (game.js, gameModeManager.js, main.js, preload.js)
- src/features/ - Feature modules organized by functionality:
  - webcam/ - Photography system (webcamManager.js)
  - tasks/ - Task management (interactiveTaskManager.js, aiTaskManager.js)
  - audio/ - Audio system (audioManager.js)
  - images/ - Image management (popupImageManager.js, image-discovery-fix.js)
  - ui/ - UI components (flashMessageManager.js)
- src/data/ - Game data and configuration (gameData.js)
- src/styles/ - CSS stylesheets (styles.css and variants)
- src/utils/ - Utility functions (desktop-file-manager.js)

 Benefits:
- Feature-based organization for better maintainability
- Clear separation of concerns
- Easier testing and debugging
- Scalable architecture for future development
- Self-contained feature modules

Updated package.json, index.html paths, and main.js for new structure.
Added comprehensive README.md documenting the architecture.
2025-10-27 14:46:30 -05:00
dilgenfritz 243d037924 rebrand: Transform to 'Edge & Punishment' - The Ultimate Edging Challenge
Complete rebranding from generic task game to focused edging experience:

- Updated app name: 'Task Challenge Game'  'Edge & Punishment'
- Added tagline: 'How long can you last?'
- Rebranded package.json with adult-focused keywords (edging, adult, nsfw, punishment)
- Updated Electron app title and product name
- Redesigned main heading with stylized tagline
- Added elegant tagline CSS styling (italic, subtle color)
- Completely rewrote README.md focusing on edging/punishment features
- Updated desktop README with NSFW content management focus
- Enhanced descriptions to emphasize the consequence flooding system
- Added adult content keywords for discoverability

 Perfect positioning for the adult gaming market with clear value proposition:
'An edging challenge game where skipping tasks floods your screen with consequences'
2025-09-28 22:19:25 -05:00
fritzsenpai 8e7cf0d4bf Refactor to desktop application with Electron
Major Changes:
- Convert web game to cross-platform desktop app using Electron
- Add complete desktop file management system
- Implement native file dialogs and unlimited storage
- Create secure IPC bridge for file operations

New Files Added:
- main.js: Electron main process with native OS integration
- preload.js: Secure IPC bridge between main and renderer
- desktop-file-manager.js: Full file system access and operations
- package.json: Electron dependencies and build configuration
- setup.bat/setup.sh: Installation scripts for all platforms
- README-DESKTOP.md: Comprehensive desktop application guide

Desktop Features:
- Native file import dialogs (no browser limitations)
- Unlimited disk space for image storage
- Direct folder access and file management
- Cross-platform builds (Windows/Mac/Linux)
- Full offline functionality
- Native performance without web constraints

Benefits:
- Solves browser security sandbox limitations
- Unlimited image storage using file system
- Professional native application experience
- Easy installation and distribution
- True cross-platform compatibility
2025-09-25 20:07:45 -05:00