File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes maze program help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "maze program help" Watch "maze program help" New topic
Author

maze program help

kip verbeek
Greenhorn

Joined: Feb 05, 2003
Posts: 1
hi im new to the boards and pretty new to java too. I have an assignment in which i need to read in a maze of 1's and 0's from a text file, then creat a bmp file of the maze, then have the program solve the maze, then creat another bmp file of the result. any help would be greatly appreciated.an example of the maze that will be given is below:

10111
10101
10011
11011
where 0's are open spaces to walk through, and 1's are walls
any assitance will be greatly appreciated.my main problem will be on what would be the best way to attack the part of actually solving the maze and creating a bitmap of it. Thanks
Kip Verbeek
verbalwr@hotmail.com
Tim Perkuhn
Greenhorn

Joined: Jan 31, 2003
Posts: 17
I got a link that might be useful.
Das Prinzip der Zur�ckverfolgung (engl. backtracking)
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 949
How about something in English? Try this one: link
[ February 06, 2003: Message edited by: William Barnes ]

Please ignore post, I have no idea what I am talking about.
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
A recursion algorithm.
 
 
subject: maze program help
 
Threads others viewed
Recursive Maze
Comparing chars at positions in an array
Reading characters from a file into an array
Large blocks of white space while outputting to a file?
Maze Solving
Two Laptop Bag

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture