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.pyAI content generation modulesuggest.pyAI-powered game content suggestion engineconfig.pyAI service configurationmodels.pyAI service data modelsmain.pyAI service FastAPI applicationtest_generate.pyGeneration unit teststest_suggest.pySuggestion engine unit teststest_main.pyAPI endpoint tests
- Created ai_service module with generation and suggestion capabilities
instantiate
behavioral
4 files
generate.pysuggest.pyconfig.pymodels.py
- Added comprehensive tests for generation, suggestions, and API endpoints
qualify
internal
3 files
test_generate.pytest_suggest.pytest_main.py
Game mode engine and plugin system
8 files changed
__init__.pyEngine package initializationbase_handler.pyBase handler for all game modesconfig.pyEngine configurationdelta.pyDelta state synchronization engineevents.pyGame event systemplugin_loader.pyPlugin loader for dynamically loading game modesregistry.pyGame mode registryexceptions.pyEngine exception hierarchy
- Created game mode engine with base handler, plugin loader, and registry
instantiate
architectural
3 files
base_handler.pyplugin_loader.pyregistry.py
- Added delta state synchronization and event system
instantiate
behavioral
2 files
delta.pyevents.py
Twelve game mode implementations
12 files changed
handler.pyDebate Club game mode handlerhandler.pyEmpathy Engine game mode handlerhandler.pyConfession Booth game mode handlerhandler.pyTherapy Bingo game mode handlerhandler.pySpeed Diagnosis game mode handlerhandler.pyMotivational Mode handlerhandler.pyGroup Therapy game mode handlerhandler.pyInk Blot Test game mode handlerhandler.pyReverse Therapy game mode handlerhandler.pySocial Proof Marketplace game mode handlerhandler.pyPrompt Builder game mode handlerhandler.pyDaily 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.pyhandler.pyhandler.pyhandler.pyhandler.pyhandler.py
- Added comprehensive unit tests for all game mode scoring, handlers, and special features
qualify
behavioral
4 files
test_scoring.pytest_handler.pytest_scoring.pytest_scoring.py
Frontend mode components and shared UI library
4 files changed
AnswerCard.tsxBase answer card component for all modesCardHand.tsxCard hand display componentCardGrid.tsxReusable card grid layoutBinaryVoting.tsxBinary voting UI component
- Created shared frontend component library with card grid, voting, scoring, and status components
instantiate
behavioral
3 files
CardGrid.tsxBinaryVoting.tsxScoreBreakdown.tsx
- Updated App.tsx with routing improvements for game modes
streamline
internal
1 file
App.tsx