Такая вот задача. А я в таких фокусах сильно слаб. Дайте наводку, пож-та.
========================================
======================
We're asking you to develop a program in Java that reads in a maze from a text file formatted as follows:
4 10
S * * *
. . . *
* . * *
. . . *
. * . *
. * . .
. . * .
* . * .
* . E *
* . . *
where 4 is the number of columns and 10 is the number of rows
S = Start E = End * = Wall
Once you read in the maze make the program find the shortest route from
Start to End and display the route with 0's and write this to an output
text file. This program should be able to find the shortest route for
each maze input to it.
The output for the above maze would be:
4 10
S * * *
0 0 . *
* 0 * *
0 0 . *
0 * . *
0 * . .
0 0 * .
* 0 * .
* 0 E *
* . . *
If you find it necessary to make assumptions, please document them. If
you have any questions about the assignment please let us know.