using UnityEngine; using System.Collections.Generic; // бот просто стреляет наугад public class EasyBotAI : IBotAI { public Vector2Int MakeMove(GamePole pole) { var shots = pole.GetAvailableShots(); if (shots.Count == 0) return new Vector2Int(-1, -1); // сигнал, что стрелять некуда var shot = shots[Random.Range(0, shots.Count)]; return new Vector2Int(shot.x, shot.y); } }