Here is the maze format description:
This project used weighted graph to solve a maze. We used recursive backtracking as the generator algorithm and A* as the solver.
System functions and libC are allowed for this project, but no external libraries.
make
and then do ./generator/generator ROWS COLS perfect/imperfect
(imperfect by default) and ./solver/solver MAP
To redirect a file, just do ./generator/generator ROWS COLS > NAME.txt
You also have a tester.sh file at your disposition, just use it like this: ./tester.sh ROWS COLS perfect/imperfect
With ROWS and COLS being sizes of the maze you want to write, the file will then generate and then print the solved maze, with the path shown with red os
Our team !
![]() Joan Ruiz |
![]() Vincent Montero Fontaine |
---|