undef-engine 2025-11-16
Add AI content service, game mode engine, and twelve new game mode implementations
483 files · 99,485+ · 2,393-

AI service for content generation

8 files changed
  • generate.py AI content generation module
  • suggest.py AI-powered game content suggestion engine
  • config.py AI service configuration
  • models.py AI service data models
  • main.py AI service FastAPI application
  • test_generate.py Generation unit tests
  • test_suggest.py Suggestion engine unit tests
  • test_main.py API endpoint tests
  • Created ai_service module with generation and suggestion capabilities instantiate behavioral
    4 files
    • generate.py
    • suggest.py
    • config.py
    • models.py
  • Added comprehensive tests for generation, suggestions, and API endpoints qualify internal
    3 files
    • test_generate.py
    • test_suggest.py
    • test_main.py

Game mode engine and plugin system

8 files changed
  • __init__.py Engine package initialization
  • base_handler.py Base handler for all game modes
  • config.py Engine configuration
  • delta.py Delta state synchronization engine
  • events.py Game event system
  • plugin_loader.py Plugin loader for dynamically loading game modes
  • registry.py Game mode registry
  • exceptions.py Engine exception hierarchy
  • Created game mode engine with base handler, plugin loader, and registry instantiate architectural
    3 files
    • base_handler.py
    • plugin_loader.py
    • registry.py
  • Added delta state synchronization and event system instantiate behavioral
    2 files
    • delta.py
    • events.py

Twelve game mode implementations

12 files changed
  • handler.py Debate Club game mode handler
  • handler.py Empathy Engine game mode handler
  • handler.py Confession Booth game mode handler
  • handler.py Therapy Bingo game mode handler
  • handler.py Speed Diagnosis game mode handler
  • handler.py Motivational Mode handler
  • handler.py Group Therapy game mode handler
  • handler.py Ink Blot Test game mode handler
  • handler.py Reverse Therapy game mode handler
  • handler.py Social Proof Marketplace game mode handler
  • handler.py Prompt Builder game mode handler
  • handler.py Daily Check-in game mode handler
  • Implemented twelve game modes: debate club, empathy engine, confession booth, therapy bingo, speed diagnosis, motivational, group therapy, ink blot, reverse therapy, social proof, prompt builder, and daily check-in instantiate architectural
    6 files
    • handler.py
    • handler.py
    • handler.py
    • handler.py
    • handler.py
    • handler.py
  • Added comprehensive unit tests for all game mode scoring, handlers, and special features qualify behavioral
    4 files
    • test_scoring.py
    • test_handler.py
    • test_scoring.py
    • test_scoring.py

Frontend mode components and shared UI library

4 files changed
  • AnswerCard.tsx Base answer card component for all modes
  • CardHand.tsx Card hand display component
  • CardGrid.tsx Reusable card grid layout
  • BinaryVoting.tsx Binary voting UI component
  • Created shared frontend component library with card grid, voting, scoring, and status components instantiate behavioral
    3 files
    • CardGrid.tsx
    • BinaryVoting.tsx
    • ScoreBreakdown.tsx
  • Updated App.tsx with routing improvements for game modes streamline internal
    1 file
    • App.tsx