-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
44 lines (28 loc) · 1.26 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* 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