项目作者: cyucelen

项目描述 :
Recursive Backtracker Maze Generation Algorithm with C++ using ncurses
高级语言: C++
项目地址: git://github.com/cyucelen/mazeGenerator.git
创建时间: 2017-10-27T23:03:27Z
项目社区:https://github.com/cyucelen/mazeGenerator

开源协议:MIT License

下载


mazeGenerator

mazeGenerator uses ncurses library to render characters on terminal screen and uses Recursive Backtracker algorithm to generate a random maze. It demonstrates each step, so you can watch and see how it generates a maze!

Changing the Grid Size

You can change the size of the maze by changing width and height values in config.ini file. You can also change the speed of the rendering by the changing delay value.

Installing Dependency to Compile this project

If you want to compile this project, you should first install ncurses library by using this command:

Ubuntu

sudo apt-get install libncurses5-dev libncursesw5-dev

Arch Linux

sudo pacman -S ncurses

Compiling

make or make build

Running

To run the mazeGenerator :

./mazeGenerator

Installing with snap

Snap command :

sudo snap install mazegen --beta

HAVE FUN!