예제 #1
0
        private static void IncrementAllNeighboursHintValueByOne(Board board, Square item)
        {
            var neighbours = board.GetNeighbours(item);

            foreach (var neighbour in neighbours)
            {
                neighbour.Hint += 1;
            }
        }