Example #1
0
        private int[][] GetNeighbor(int[] center)
        {
            List <int[]> neighbor = coord.SurroundCoord(Surround.Diagonal, center);

            neighbor = board.FilterPositions(neighbor);

            return(neighbor.ToArray());
        }