# Task ID: 26 # Title: Advanced AI Difficulty Levels (Normal, Hard) # Status: pending # Dependencies: 14, 15 # Priority: medium # Description: Enhance the AI system by implementing 'Normal' and 'Hard' difficulty levels, utilizing more sophisticated strategies like probability heatmaps and pattern recognition. # Details: For 'Normal AI', implement a strategy that prioritizes cells with higher probability of containing a plane part (e.g., based on surrounding hits). For 'Hard AI', introduce multi-step prediction and basic pattern recognition (e.g., if a HIT occurs, prioritize adjacent cells). Ensure AI difficulty can be selected in room creation. # Test Strategy: Play numerous games against Normal and Hard AI. Observe their attack patterns and verify they are more strategic than Simple AI. Ensure AI still makes decisions within the <500ms time limit. Compare win rates against different AI difficulties.