Skip to content

GregoireDucharme/Maze-CPP

Repository files navigation

/* Gregoire DUCHARME */
/* 22/08/2016 */

Yixuan Zhang s3380293
Gregoire Ducharme s3615602

Use "./test" to start working and non working test

Solvable mazes:
./mazer --g 18046 20 20
./mazer --g 6408 15 15
./mazer --g 1443 25 25
./mazer --g 18061 7 7
./mazer --g 17952 8 15
./mazer --g 20180 10 12
./mazer --g 18915 6 20

To compile the code use Makefile:

Makefile usage:

- "make" to compile

- "make clean" to remove .o files and binary files generated by the compilation 

- "make re" to remove .o and binary files generates by the compilation then to compile
(call "make clean" then "make")


Mazer binary usage:
(As defined in the assignement subject)

./mazer -- lb filename.maze -- sv filename.svg # load binary file and save svg file

./mazer -- g seed -- sb filename.maze # generate with seed value, save binary file

./mazer -- g seed -- sv filename.svg # generate with seed value, save svg file

./mazer -- g seed -- sb filename.maze -- sv filename.svg # gen with seed, save binary, save svg

If wrong arguments are provided to the "mazer" binary file or the case of an error, errors messages should be displayed in the standard error output

You can change the size of the maze displayed from the "svg" file by modifying:
"const int SIZE_RATIO" found in "SizeRatio.hh" file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published