undef-engine 2025-12-10
Caw card game and new game mechanics primitives
286 files · 32,973+ · 29,881-
6 files changed
  • npc_actions.py Python module npc_actions
  • npc_actions.py Python module npc_actions
  • npc_actions.py Python module npc_actions
  • game_action_handler.py Python module game_action_handler
  • __init__.py Python module __init__
  • caw.py Python module caw
  • Implemented Flow Engine with game blueprints for phase-based game management decouple internal
    4 files
    • auth-flow-complete.spec.ts
    • game-flow.spec.ts
    • terrible-psychiatrist-game-flow.spec.ts
    • game_flow_conditions.py
  • Fixed Flow Engine bugs and added comprehensive TP tests qualify internal
    4 files
    • accessibility.spec.ts
    • admin-auth.spec.ts
    • admin-dashboard.spec.ts
    • admin-realtime-updates.spec.ts
  • Added frontend compatibility to Flow Engine client state instantiate internal
    4 files
    • auth-flow-complete.spec.ts
    • game-flow.spec.ts
    • terrible-psychiatrist-game-flow.spec.ts
    • game_flow_conditions.py
  • Fixed test fixtures to properly populate player_info qualify internal
    4 files
    • accessibility.spec.ts
    • admin-auth.spec.ts
    • admin-dashboard.spec.ts
    • admin-realtime-updates.spec.ts
  • Switched TP plugin to use FlowTPHandler interface internal
    4 files
    • terrible_psychiatrist.py
    • __init__.py
    • blueprint.py
    • handler.py
  • Fixed Hand API bugs and updated NPC handlers remediate behavioral
    4 files
    • caw-2player-2npc.spec.ts
    • caw-3player-3npc.spec.ts
    • debate-club-2players-3npcs.spec.ts
    • sick-day-1player-3npc-3spectator.spec.ts
6 files changed
  • card_effects.py Python module card_effects
  • cards.py Python module cards
  • test_cards.py Test file for cards
  • __init__.py Python module __init__
  • cli.py Python module cli
  • config.py Python module config
  • Created CawBoard.tsx (737 lines) - Cards Against Whatever game frontend decouple internal
    4 files
    • cah-cards-full.json
    • card-interaction-advanced.spec.ts
    • card-mechanics.spec.ts
    • terrible-psychiatrist-card-interaction.spec.ts
  • Added caw.ts (152 lines) type definitions instantiate internal
    4 files
    • cards.py
    • test_cards.py
    • caw-2player-2npc.spec.ts
    • caw-3player-3npc.spec.ts

Declarative Engine

6 files changed
  • __init__.py Python module __init__
  • 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
  • Removed entire engine/declarative/ directory including all conditions, effects, and component code (29,740 lines deleted) decouple internal
    4 files
    • __init__.py
    • components.py
    • __init__.py
    • category_vote_conditions.py
  • Replaced with streamlined Flow Engine approach decouple internal
    4 files
    • game_flow_conditions.py
    • game_flow_effects.py
    • test_game_flow_conditions.py
    • test_game_flow_effects.py

Enhancement

6 files changed
  • __init__.py Python module __init__
  • cards.py Python module cards
  • cli.py Python module cli
  • config.py Python module config
  • __init__.py Python module __init__
  • blueprint.py Python module blueprint
  • Updated GameBoardRouter with CAW routing decouple internal
    4 files
    • caw-2player-2npc.spec.ts
    • caw-3player-3npc.spec.ts
    • caw-3player.spec.ts
    • caw-helpers.ts
  • Enhanced Debate Club board decouple internal
    4 files
    • DebateClubBoard.tsx
    • game_lifecycle.py
    • voting.py
    • declarative.py
  • Updated Terrible Psychiatrist board and phases decouple internal
    4 files
    • TerriblePsychiatristBoard.tsx
    • JudgeSelectsAnswerPhase.tsx
    • RoundResultsPhase.tsx
    • __init__.py