Giter Club home page Giter Club logo

maze's Introduction

10 maze generation algorithms, written in C++

This is a unorganized repository to upload my implementation of maze generation algorithms. I started this project on Feb 21, when I was undergoing a severe BOJ burnout.

How to compile

Makefile in this repository was written for Windows 10 with MinGW-w64. To compile, simply use make. You might want to replace del with rm -f if you are more familiar to Linux.

I've barely worked with VS; there's nothing I can help about that. ๐Ÿ˜ข

Syntax

This program works in CLI. Below is a copy-pasted description from maze -h:

Usage: maze [options] width height

Options:
    -h                  Display this message
    -a [aldous-broder|binary-tree|eller|hunt-and-kill|kruskal|prim|recursive-backtracker|recursive-division|sidewinder|wilson]
                        Algorithm for maze generation; defaults to recursive-backtracker
    -s [seed]           Random seed for maze generation; ranges from 0 to <system-dependent value>, defaults to current time in microseconds
    -o [filename]       Filename for maze output; defaults to stdout
    -w[string]          Text representation for walls; defaults to #
    -b[string]          Text representation for blank spaces; defaults to .
    -W                  Widen text representation of generated maze horizontally; equivalent to -w## -b..
    -f                  Force; don't warn about slow algorithms

For more information about maze generation algorithms, visit http://weblog.jamisbuck.org/2011/2/7/maze-generation-algorithm-recap

maze's People

Contributors

eatchangmyeong avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.