Search:

Type: Posts; User: janpiel

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    2,456

    Re: Help with traversing a maze recursively.

    The simplest way should be an extra break condition where you compare the parameters r and c to the row and column class var. But I'm not sure if you will go through the maze the right way then. ...
  2. Replies
    3
    Views
    2,456

    Re: Help with traversing a maze recursively.

    It happens at the exit of the maze. The exit condition doesnt work in this case becaus there is no wall.


    char[][] test = new char[][] {
    { '*', '*', '*', '*', '*' },
    { '*', ' ', ' ',...
Results 1 to 2 of 2