undef-engine 2025-12-08
WebSocket protocol improvements and NPC claim system
168 files · 23,229+ · 5,545-
6 files changed
  • declarative.py Python module declarative
  • declarative_handler.py Python module declarative_handler
  • declarative_hooks.py Python module declarative_hooks
  • declarative_rules.py Python module declarative_rules
  • plugin.py Python module plugin
  • test_sick_day_integration.py Test file for sick_day_integration
  • Added comprehensive integration tests for Sick Day and Debate Club games qualify internal
    4 files
    • complete-game-lifecycle.spec.ts
    • delta-reconnect-sync.spec.ts
    • disconnect-scenarios-video.spec.ts
    • game-helpers.ts
  • Updated game helpers and sick-day helpers for E2E tests qualify internal
    4 files
    • complete-game-lifecycle.spec.ts
    • delta-reconnect-sync.spec.ts
    • disconnect-scenarios-video.spec.ts
    • game-helpers.ts
  • Fixed Playwright configuration remediate internal
    4 files
    • complete-game-lifecycle.spec.ts
    • delta-reconnect-sync.spec.ts
    • disconnect-scenarios-video.spec.ts
    • game-helpers.ts
6 files changed
  • npc_actions.py Python module npc_actions
  • terrible_psychiatrist.py Python module terrible_psychiatrist
  • npcs.py Python module npcs
  • test_npc_claiming.py Test file for npc_claiming
  • __init__.py Python module __init__
  • claim_code.py Python module claim_code
  • Added ClaimNpcModal.tsx (171 lines) for players to claim NPC slots in lobby instantiate internal
    4 files
    • terrible-psychiatrist-2player-2npc.spec.ts
    • ClaimNpcModal.tsx
    • useNpcPlayer.ts
    • npc_actions.py

Enhancement

6 files changed
  • card_effects.py Python module card_effects
  • game_flow_conditions.py Python module game_flow_conditions
  • game_flow_effects.py Python module game_flow_effects
  • test_complete_game_flow.py Test file for complete_game_flow
  • test_game_flow_conditions.py Test file for game_flow_conditions
  • test_game_flow_effects.py Test file for game_flow_effects
  • Updated Lobby with enhanced game joining flow (60 lines) decouple internal
    4 files
    • terrible-psychiatrist-game-flow.spec.ts
    • game_flow_conditions.py
    • game_flow_effects.py
    • test_complete_game_flow.py
  • Updated GameBoard with improved state handling decouple internal
    4 files
    • GameBoard.tsx
    • useGameBoard.ts
    • game.ts
    • game.py
  • Updated Terrible Psychiatrist phase components with fixes remediate internal
    4 files
    • PlayersSubmitCardsPhase.tsx
    • TerriblePsychiatristBoard.tsx
    • GameOverPhase.tsx
    • JudgePicksWinnerPhase.tsx
  • Improved card components (CardPeekView, useCardGestures) decouple internal
    4 files
    • terrible-psychiatrist-card-interaction.spec.ts
    • CardPeekView.tsx
    • useCardGestures.ts
    • PlayersSubmitCardsPhase.tsx
  • Updated useGameBoard hook interface internal
    4 files
    • GameBoard.tsx
    • useGameBoard.ts
    • declarative_hooks.py
    • declarative_hooks.py
6 files changed
  • components.py Python module components
  • __init__.py Python module __init__
  • category_vote_conditions.py Python module category_vote_conditions
  • game_flow_conditions.py Python module game_flow_conditions
  • handlers.py Python module handlers
  • matchup_conditions.py Python module matchup_conditions
  • Merged declarative infrastructure analysis branch into merge-for-main decouple internal
    4 files
    • DECLARATIVE_ENGINE.md
    • components.py
    • __init__.py
    • category_vote_conditions.py