Commit Graph

11 Commits

Author SHA1 Message Date
bc47483a99 Add diagnostic homework for Archie's class and WTE2 content
Archie's Class (SBS2/SBS8):
- Create diagnostic homework system with audio + text + 6 questions
- Add audio scripts (MyFriends.mp3, ImWearingClothes.mp3)
- Generate bilingual WeChat format homeworks (EN/CN)
- Move DIAGNOSTIC_HOMEWORK_PLAN.md to archie_class_homework/
- Add comprehensive creation process documentation

WTE2 Class:
- Add Chapter 3: Wild Animals & Numbers 11-20 (5 texts: Very Easy → Difficult)
- Add Alphabet Review A-Z (26 letters with vocabulary)
- Add Chapter 3-Alphabet Fusion (combines both chapters, 67 words)
- Update wte2.json book with new chapters
- All JSON files validated

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 23:22:52 +08:00
c7f48405a7 Add diagnostic homework planning documentation
- Create comprehensive DIAGNOSTIC_HOMEWORK_PLAN.md
- Document current situation with SBS2/SBS8 mixed class
- Define diagnostic homework structure (1 text + 3 comp + 3 prod questions)
- Outline exam prep strategy phases (diagnostic → drills → mock exams)
- Specify data collection goals and success metrics
- Plan AI-powered analysis and personalized prep modules

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 19:59:59 +08:00
3a024e6fab Add Hanyu Jiaocheng content and improve game UX
- Add Hanyu Jiaocheng (Chinese course) book and chapters (3 & 4)
- Update TODO with completed game improvements
- Remove legacy TODO file
- Improve game modules with visual enhancements and bug fixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 11:43:56 +08:00
8ebc0b2334 Add TTS service, deployment docs, and refactor game modules
- Add TTSService.js for text-to-speech functionality
- Add comprehensive deployment documentation (guides, checklists, diagnostics)
- Add new SBS content (chapters 8 & 9)
- Refactor 14 game modules for better maintainability (-947 lines)
- Enhance SettingsDebug.js with improved debugging capabilities
- Update configuration files and startup scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 23:41:12 +08:00
ab84bbbc71 Reduce game sizes and fix Mario level display
- Reduce RiverRun game height from 100vh to 75vh for better screen fit
- Reduce AdventureReader game height from 100vh to 75vh
- Fix Mario level number display (was showing currentLevel + 1 twice)
  - Updated HUD level display in Renderer.js
  - Updated finish line flag level display in Renderer.js
- Add portable setup files and documentation
- Add new game modules: SentenceInvaders, ThematicQuestions
- Add new content: wte2 book, sbs chapters 2-3, wte2-2 chapter
- Update various game modules for improved compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 16:22:33 +08:00
4714a4a1c6 Add TTS support and improve content compatibility system
Major improvements:
- Add TTSHelper utility for text-to-speech functionality
- Enhance content compatibility scoring across all games
- Improve sentence extraction from multiple content sources
- Update all game modules to support diverse content formats
- Refine MarioEducational physics and rendering
- Polish UI styles and remove unused CSS

Games updated: AdventureReader, FillTheBlank, FlashcardLearning,
GrammarDiscovery, MarioEducational, QuizGame, RiverRun, WhackAMole,
WhackAMoleHard, WizardSpellCaster, WordDiscovery, WordStorm

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 02:49:48 +08:00
325b97060c Add LEDU Chinese course content and documentation
Add comprehensive Chinese reading course (乐读) with 4 chapters of vocabulary, texts, and exercises. Include architecture documentation for module development and progress tracking system.

Content:
- LEDU book metadata with 12 chapter outline
- Chapter 1: Food culture (民以食为天) - 45+ vocabulary, etiquette
- Chapter 2: Shopping (货比三家) - comparative shopping vocabulary
- Chapter 3: Sports & fitness (生命在于运动) - exercise habits
- Chapter 4: Additional vocabulary and grammar

Documentation:
- Architecture principles and patterns
- Module creation guide (Game, DRS, Progress)
- Interface system (C++ style contracts)
- Progress tracking and prerequisites

Game Enhancements:
- MarioEducational helper classes (Physics, Renderer, Sound, Enemies)
- VocabularyModule TTS improvements
- Updated CLAUDE.md with project status

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-15 07:25:53 +08:00
3da40c0d73 Save current state before exploring first DRS commit
Preserving current work:
- Modified DRS modules and factories
- Updated content and progress tracking
- Deprecated PhraseModule moved to archive

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 08:47:23 +08:00
44f43324cf Implement ExerciseFactory with strict DRS interface enforcement
🏭 **MAJOR ARCHITECTURE - Factory Pattern Implementation**

**ExerciseFactory Created** (src/DRS/factories/ExerciseFactory.js):
-  Unified creation system for all 11 DRS exercise modules
-  Strict DRSExerciseInterface validation (10 required methods)
-  Smart dependency injection (orchestrator, prerequisiteEngine, llmValidator, contextMemory)
-  Module type mapping: 20 exercise types → 11 module classes
-  Methods: create(), createAndRender(), batchCreate(), destroy()
-  Caching system for loaded module classes
-  Smart warnings (no LLM warning for local-validation modules)

**UnifiedDRS Refactored** (src/DRS/UnifiedDRS.js):
-  Integrated ExerciseFactory for all module loading
-  Created generic helper: _loadExerciseViaFactory()
-  Centralized dependencies: _getDependencies()
-  Simplified loaders: _loadVocabularyModule(), _loadWordDiscoveryModule(), _loadAIAnalysisModule()
-  Removed manual HTML generation - all via factory now
-  165 lines removed, code DRY improved

**Test Suite Created** (test-factory.html):
-  Interactive web-based test interface
-  3 test suites: Validation, Creation (11 modules), Interface compliance
-  Real-time results with success/failure indicators
-  Factory stats display

**Content Enhancement** (test-heavy-stress.json):
-  Added 12 comprehension questions (3 lessons + 1 dialog)
-  lesson1: 3 questions on research methodology
-  lesson2: 3 questions on statistical analysis
-  lesson3: 3 questions on qualitative research
-  conference_presentation: 3 questions on mixed-methods
-  Fixes IntelligentSequencer warnings (now has questions)

**Benefits:**
- 🛡️ Impossible to create modules without interface compliance
- 🔒 Red screen errors force correct implementation
- 📋 Self-documenting via strict contracts
- 🔄 100% DRY - zero code duplication
- 🧪 Fully testable with mock dependencies
- 🎯 Production-ready architecture

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-08 15:39:53 +08:00
837a225217 Add stress testing content and update DRS modules
- Add test-heavy.json book with 156 advanced academic vocabulary terms
- Add test-heavy-stress.json chapter for system stress testing
- Update UnifiedDRS with ContentDependencyAnalyzer integration
- Update VocabularyModule for unified persistence system
- Update progress saves with test data

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 12:59:07 +08:00
05142bdfbc Implement comprehensive AI text report/export system
- Add AIReportSystem.js for detailed AI response capture and report generation
- Add AIReportInterface.js UI component for report access and export
- Integrate AI reporting into LLMValidator and SmartPreviewOrchestrator
- Add missing modules to Application.js configuration (unifiedDRS, smartPreviewOrchestrator)
- Create missing content/chapters/sbs.json for book metadata
- Enhance Application.js with debug logging for module loading
- Add multi-format export capabilities (text, HTML, JSON)
- Implement automatic learning insights extraction from AI feedback
- Add session management and performance tracking for AI reports

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 21:24:13 +08:00