T
Totti
Hi everyone,
I am asked to create a maze and to find a way out of it, as far as the
interface is concerned i am done, i have created a form, where using
arrays i created a maze that can be changed in size by user input of
rows and column.
I also have created a button to generate walls(push buttons in series)
inside the game so actually one push button can be of 2 phases "PATH"
or "WALL" depending on a randomizing algorithm. i also have a hard
coded IN and out where supposedly the maze will start and will go out.
Now, from here on i can use your help, i have done my research, i have
read many solutions and algorithms but my main problem is that i can't
figure out a way to implement them in VB. NET 2003 or to be honest, i
don't have the knowledge to do so, i thought on paper that some arrays
to see in which position the counter is, inside a while loop, that
check for "PATH" and changes direction on "WALL" could have been a
solution, but yet its pretty dificult for me to code it.
If anyone has any idea or any reference, on how i should do this thing
work, or if there is such a code found somewhere, Please provide some
help.Thanks in advance
I am asked to create a maze and to find a way out of it, as far as the
interface is concerned i am done, i have created a form, where using
arrays i created a maze that can be changed in size by user input of
rows and column.
I also have created a button to generate walls(push buttons in series)
inside the game so actually one push button can be of 2 phases "PATH"
or "WALL" depending on a randomizing algorithm. i also have a hard
coded IN and out where supposedly the maze will start and will go out.
Now, from here on i can use your help, i have done my research, i have
read many solutions and algorithms but my main problem is that i can't
figure out a way to implement them in VB. NET 2003 or to be honest, i
don't have the knowledge to do so, i thought on paper that some arrays
to see in which position the counter is, inside a while loop, that
check for "PATH" and changes direction on "WALL" could have been a
solution, but yet its pretty dificult for me to code it.
If anyone has any idea or any reference, on how i should do this thing
work, or if there is such a code found somewhere, Please provide some
help.Thanks in advance