Implement SOR.Ai Phase 1: project scaffold, transport, seeding, lobby handlers, session manager
- New SOR.Ai project with AI account/deck seeding (50 accounts: 10 difficulty × 5 strategy) - AiNoOpClientConnection + AiClientMessage: AI invokes game handlers in-process - AiPlayerSessionManager: BackgroundService subscribing to GameStarted/AiTurnStarted/GameEnded - AiPlayerSession: sends game.ready and executes turns (Phase 1 stub: pass immediately) - Lobby handlers: game.ai.add, game.ai.remove, game.ai.configure - IAiAccountRegistry in SOR.Shared to break circular dependency with SOR.Game - GameEndTurnHandler + GameReadyHandler publish AiTurnStarted event when AI is active player - Account entity: IsAi, AiDifficulty, AiStrategy columns - CustomLobby entity: AiSlotsJson column Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<Project Path="src/SOR.Collection/SOR.Collection.csproj" />
|
||||
<Project Path="src/SOR.Content/SOR.Content.csproj" />
|
||||
<Project Path="src/SOR.Database/SOR.Database.csproj" />
|
||||
<Project Path="src/SOR.Ai/SOR.Ai.csproj" />
|
||||
<Project Path="src/SOR.Game/SOR.Game.csproj" />
|
||||
<Project Path="src/SOR.Gateway/SOR.Gateway.csproj" />
|
||||
<Project Path="src/SOR.Host/SOR.Host.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user