c# - Maze algorithm path finder -
I am trying to find a path to a maze, the code below, it seems that inside the recursive soul loop It goes but keep getting out of it, after the second condition if the condition is that what I am doing wrong here can someone help me please? The correct setting in the form of IM setting and wrong by default. recursive solution (0, 0); Public static int [,] Maze = {{0, 0, 0, 1}, {1, 1, 0, 0, 0, 1}, 0, 0, 0, 1, 0, 0}, {0 , 1, 1, 0, 0, 1}, {0, 1, 0, 0, 1,}, {0, 1, 0, 0, 0, 1}}; Public static boolean recursive solv (int row, int coal) {boolean [,] is = new boolean [6, 6]; Boolean [,] True Text = New Boolean [6, 6]; // If the solution of the maze (maze [row, cola] == 1 || these [row, cola]) {return false; } And if (line == 0 || line == 6 - 1 || tomorrow == 0] soft == 6 - 1) {right path [row, cola] = true; Back true; } And {were [row, color] = true; Recursive solvieve (line-1), (recursive solvieve (line-1), recursive solvieve (row + 1, cola) || recursive solvieve (line, cola-1) || rec...