Skip to content

loooph/mazeGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mazeGen

generation of a random maze

Compilation Example

clang++ -O3 -std=c++14 main.cpp Maze.cpp -o mazeGen

Usage

mazeGen <height> <width> <outputfile>

Output Example

Input: mazeGen 10 15 maze.txt Output:

21 31
1 1
19 29
███████████████████████████████
█     █     █   █ █           █
█ ███ █ █ ███ █ █ ███ █ ███ ███
█   █ █ █     █     █ █   █   █
█████ █ █████ ███████████ █████
█   █   █                 █   █
█ ███ █████████ █████ █ █ █ █ █
█ █   █ █     █     █ █ █ █ █ █
█ █ ███ ███ ███ ███ ███ ███ ███
█     █   █ █   █   █         █
█ █████ █ █ █ █████ ███████ ███
█   █   █ █   █ █   █   █ █   █
█████ ███████ █ ███ █ ███ █ ███
█ █ █       █ █     █   █     █
█ █ █ █████ █ ███ ███ █████ ███
█   █     █ █ █   █     █     █
███ █ █ ███ ███ ███ ███ ███ ███
█     █ █ █     █ █ █   █   █ █
███ █ █ █ █ █████ █ █ █ █ ███ █
█   █ █ █   █       █ █       █
███████████████████████████████

About

generation of a random maze

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages