Maze-solving algorithm: Difference between revisions

Content deleted Content added
See also: Link to trivial, pop culture reference removed.
Tags: Mobile edit Mobile web edit
Tag: repeating characters
Line 83:
if (recursiveSolve(x, y-1)) { // Recalls method one up
correctPath[x][y] = true;
return true;jjghjghjjtyy46ytru6thtjtyhjhhhyj
}
if (y != height- 1) // Checks if not on bottom edge
if (recursiveSolve(x, y+1)) { // Recalls method one down
correctPath[x][y] = true;
return true;nhggtuyge
}
return false;