Add complete AI Director system that transforms the survival simulation
into a user-driven interactive story with audience voting.
Backend:
- Add DirectorService for LLM-powered plot generation with fallback templates
- Add VoteManager for dual-channel voting (Twitch + Unity)
- Integrate 4-phase game loop: Simulation → Narrative → Voting → Resolution
- Add vote command parsing (!1, !2, !A, !B) in Twitch service
- Add type-safe LLM output handling with _coerce_int() helper
- Normalize voter IDs for case-insensitive duplicate prevention
Unity Client:
- Add NarrativeUI for cinematic event cards and voting progress bars
- Add 7 new event types and data models for director/voting events
- Add delayed subscription coroutine for NetworkManager timing
- Sync client timer with server's remaining_seconds to prevent drift
Documentation:
- Update README.md with AI Director features, voting commands, and event types
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add EventLog.cs: scrollable event log panel showing game events
- Color-coded entries for different event types
- Toggle visibility, clear button, timestamps
- Auto-scroll to newest entries
- Add Chinese font support (Source Han Sans SC)
- SourceHanSansSC-Regular.otf font file
- ChineseFontSetup.cs editor tool for TMP font asset generation
- Configure as fallback font for TextMeshPro
- Fix particle system velocity curve warnings in WeatherEffects.cs
- Ensure all velocity axes use consistent curve mode
- Add comprehensive README.md with project documentation
- Architecture overview, features, tech stack
- Quick start guide, Unity client structure
- Communication protocol, development notes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>