undef-engine 2025-11-30
Add NPC chat, game engine primitives, and architecture audit
127 files · 14,601+ · 5,192-

NPC chat and smack talk

3 files changed
  • chat.py NPC chat and smack talk capabilities
  • actions.py Updated NPC actions with common code between games
  • player.py NPC player with reinforced persona and instructions

Game engine primitives

9 files changed
  • score.py Score, Streak, and ScoreBoard primitives
  • vote.py Vote and BlindVote primitives
  • phase.py Phase state machine primitive
  • timer.py Timer primitive with async countdown
  • rotation.py Rotation primitive for turn management
  • __init__.py Primitives package export module
  • test_score.py Score primitive tests
  • test_vote.py Vote primitive tests
  • test_phase.py Phase primitive tests
  • Added Tier 1 game engine primitives with comprehensive tests instantiate architectural
    5 files
    • score.py
    • vote.py
    • phase.py
    • timer.py
    • rotation.py
  • Added event emission to Score, Streak, ScoreBoard, Vote, and BlindVote primitives instantiate behavioral
    2 files
    • score.py
    • vote.py
  • Refactored Phase, Timer, Rotation primitives to use attrs for cleaner code decouple internal
    3 files
    • phase.py
    • timer.py
    • rotation.py
  • Added integration tests for engine primitives qualify internal
    3 files
    • test_score.py
    • test_vote.py
    • test_phase.py

Configuration and architecture improvements

5 files changed
  • playwright.config.ts Updated Playwright config with global setup/teardown
  • WebSocketContext.tsx Improved connection management
  • useNpcPlayer.ts Updated NPC player hook
  • useTimerState.ts Updated timer state hook
  • ARCHITECTURE_AUDIT.md Comprehensive architecture audit report
  • Updated Playwright config with global setup/teardown for tests qualify internal
    1 file
    • playwright.config.ts
  • Improved WebSocketContext with better connection management streamline internal
    1 file
    • WebSocketContext.tsx
  • Added comprehensive architecture audit report specify internal
    1 file
    • ARCHITECTURE_AUDIT.md