feat: integrate AI-powered deck building and card picking using Google Gemini.

This commit is contained in:
2025-12-20 16:18:11 +01:00
parent 664d0e838d
commit 2794ce71aa
13 changed files with 735 additions and 15 deletions

View File

@@ -112,6 +112,7 @@ export class DraftManager extends EventEmitter {
// 1. Add to pool
playerState.pool.push(card);
console.log(`[DraftManager] ✅ Pick processed for Player ${playerId}: ${card.name} (${card.id})`);
// 2. Remove from pack
playerState.activePack.cards = playerState.activePack.cards.filter(c => c !== card);