![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Oct 2007
Posts: 6
Rep Power: 0
![]() |
Maze solver w/ stacks.
I have to make a maze solver using stacks. We can't use the stacks that come with java, and have to use this:
java Syntax (Toggle Plain Text)
I also made a location class that we have to use java Syntax (Toggle Plain Text)
The part where I am pretty much stuck at is on how to change the board. The main objective here is to have a maze and let the program solve it. It should keep track of its path and record its data and finish the maze. The maze is a 2-d array. java Syntax (Toggle Plain Text)
The 0's translates to the paths available and 1's are walls. The stack class above is to be used to get across the maze. I don't want anyone to do it for me, but any guidance would be really appreciated. I'm just really confused on where to start here. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recursion Maze Question | afroboy0731 | Java | 8 | Dec 18th, 2006 5:18 AM |
| Sun Server Stacks. | Indigno | Coder's Corner Lounge | 7 | Aug 28th, 2006 2:51 PM |
| Help with maze | jl_7 | C++ | 3 | Apr 18th, 2006 7:03 AM |
| Avoiding Stackoverflow error using recursion to solve a maze | Mjordan2nd | Java | 1 | Feb 9th, 2006 10:01 PM |
| Maze generation | thomzor | C++ | 3 | May 25th, 2005 11:51 AM |