Skip to content

Yulypso/A-MAZE-ing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RiMaze

Author

Linkedin: Thierry Khamphousone



Setup

$ git clone https://github.com/Yulypso/RiMaze.git
$ cd RiMaze


Required Libraries and tools

$ sudo apt install libncurses5-dev libncursesw5-dev

Ncurses


$ sudo apt install make

Make


$ sudo apt install gcc

GCC



Start RiMaze

Run default random Maze

$ make 

Some examples

$ make compile
$ ./RIMAZE -r 1 -i maze-esiea.txt

Rimaze solving a loaded maze (maze-esiea.txt) at speed 1


$ make compile
$ ./RIMAZE -g 20 20 -o my-maze.txt

generate a 20x20 maze (my-maze.txt)

$ make compile
$ ./RIMAZE -g 40 200 -o maze-40-200.txt -r 10000 -i maze-40-200.txt

Rimaze solving a new generated 40x200 maze at speed 100000




Manual

-- RiMaze arguments--

  -i <input file name>          Input file name, input file will be read automatically from mazes/ directory
  -o <output file name>         Output file name, output file will be store automatically in mazes/ directory
  -g <nb lines> <nb columns>    Generate maze with a specific size
  -r <speed>                    Rimaze solving the input maze with a specific speed (-1: maximum speed)

generate Maze

$ make compile

# New generated maze will be stored as text file in mazes/ directory
$ ./RIMAZE -g <nb lines> <nb columns> -o <output file name>

Rimaze solving maze

$ make compile

# Selected maze will be read from mazes/ directory
$ ./RIMAZE -r <speed> -i <input file name>


Specific mazes

$ make compile
$ ./RIMAZE -r 10 -i maze-blocked-exit.txt

Rimaze solving a blocked exit


$ make compile
$ ./RIMAZE -r 1 -i maze-blocked-entrance.txt

Rimaze solving a blocked entrance


$ make compile
$ ./RIMAZE -r 1 -i maze-empty-wall.txt

Rimaze solving a maze without any wall


Releases

No releases published

Packages

No packages published