private Coordinate GetRandomEmptyGridCoordinate() { List <Coordinate> empties = grid.GetEmptyGridCellCoordinates(); Random random = new Random(); int randomIndex = random.Next(0, empties.Count); Coordinate randomCoordinate = empties[randomIndex]; return(randomCoordinate); }