undef-engine 2025-12-24
Dial In game and ActionDispatcher pattern for WebSocket routing
285 files · 31,189+ · 15,751-

Shared Game Hooks

6 files changed
  • npc_actions.py Python module npc_actions
  • npc_actions.py Python module npc_actions
  • chat.py Python module chat
  • dispatcher.py Python module dispatcher
  • dispatchers.py Python module dispatchers
  • game.py Python module game
  • Created useGameActions.ts (262 lines) for standardized game action dispatching decouple internal
    4 files
    • useGameActions.ts
    • card-interaction-advanced.spec.ts
    • card-interaction.spec.ts
    • useGameActions.test.ts
  • Created useGameStateReset.ts (86 lines) for consistent state cleanup between games deprecate errata
    4 files
    • game.py
    • useGameStateReset.ts
    • game.ts
    • games.py
6 files changed
  • __init__.py Python module __init__
  • npc.py Python module npc
  • config.py Python module config
  • handler.py Python module handler
  • hooks_class.py Python module hooks_class
  • models.py Python module models
  • Enhanced HiveMindBoard with configurable settings (153 lines changed) baseline internal
    4 files
    • config.py
    • SettingsPage.tsx
    • AdvancedSettingsModal.tsx
    • fixtures.ts

All Game Boards

6 files changed
  • split_caw_packs.py Python module split_caw_packs
  • packs.py Python module packs
  • handler.py Python module handler
  • hooks_class.py Python module hooks_class
  • loader.py Python module loader
  • npc_actions.py Python module npc_actions
  • Updated all game boards with consistent hook patterns: Bluffalo, CAW, Codebreakers, Debate Club, Hot Potato Heist, Liar’s Hand, Peer Review, Sick Day, Terrible Psychiatrist interface internal
    4 files
    • CawBoard.tsx
    • CawCard.tsx
    • CawHand.tsx
    • CawCardCompact.tsx

Enhancement

6 files changed
  • npcs.py Python module npcs
  • lobby_settings.py Python module lobby_settings
  • lobby.py Python module lobby
  • test_lobby_settings_packs.py Test file for lobby_settings_packs
  • test_lobby_settings_validation.py Test file for lobby_settings_validation
  • base.py Python module base
  • Updated RoomList with improved display (89 lines) decouple behavioral
    4 files
    • lobby-pack-selection.spec.ts
    • RoomList.tsx
    • AdvancedSettingsModal.tsx
    • BaseControl.tsx
  • Enhanced base TreatmentCard component decouple internal
    4 files
    • cah-cards-full.json
    • card-styles-demo.html
    • TreatmentCard.tsx
    • CawCard.tsx
1 file changed
  • RoleBanner.tsx React component RoleBanner
  • Removed deprecated RoleBanner component (26 lines) decouple internal
    1 file
    • RoleBanner.tsx