8000 GitHub - loooph/mazeGen: generation of a random maze
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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
███████████████████████████████
â–ˆ     â–ˆ     â–ˆ   â–ˆ â–ˆ           â–ˆ
█ ███ █ █ ███ █ █ ███ █ ███ ███
â–ˆ   â–ˆ â–ˆ â–ˆ     â–ˆ     â–ˆ â–ˆ   â–ˆ   â–ˆ
█████ █ █████ ███████████ █████
â–ˆ   â–ˆ   â–ˆ                 â–ˆ   â–ˆ
█ ███ █████████ █████ █ █ █ █ █
â–ˆ â–ˆ   â–ˆ â–
5771
ˆ     â–ˆ     â–ˆ â–ˆ â–ˆ â–ˆ â–ˆ â–ˆ
█ █ ███ ███ ███ ███ ███ ███ ███
â–ˆ     â–ˆ   â–ˆ â–ˆ   â–ˆ   â–ˆ         â–ˆ
█ █████ █ █ █ █████ ███████ ███
â–ˆ   â–ˆ   â–ˆ â–ˆ   â–ˆ â–ˆ   â–ˆ   â–ˆ â–ˆ   â–ˆ
█████ ███████ █ ███ █ ███ █ ███
â–ˆ â–ˆ â–ˆ       â–ˆ â–ˆ     â–ˆ   â–ˆ     â–ˆ
█ █ █ █████ █ ███ ███ █████ ███
â–ˆ   â–ˆ     â–ˆ â–ˆ â–ˆ   â–ˆ     â–ˆ     â–ˆ
███ █ █ ███ ███ ███ ███ ███ ███
â–ˆ     â–ˆ â–ˆ â–ˆ     â–ˆ â–ˆ â–ˆ   â–ˆ   â–ˆ â–ˆ
███ █ █ █ █ █████ █ █ █ █ ███ █
â–ˆ   â–ˆ â–ˆ â–ˆ   â–ˆ       â–ˆ â–ˆ       â–ˆ
███████████████████████████████

About

generation of a random maze

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0