Giter Club home page Giter Club logo

mazegenerator's Introduction

Maze Generator

Description

This program generates an ortogonal rectangular maze in C using the depth first search recursive backtracking algorithm indicated in the Maze Generation Wikipedia page.

Usage

To execute the program, send as an inline parameter the number of rows and columns for the maze.

\main.exe nrow ncol

Neither of these values can be greater than 127. Hence, the maximum dimension is 127x127 cells. By default, the program prints the result in a file called "Maze_{nrow}x{ncol}.txt" located in the same directory of the main.c file.

Roadmap

Further development is aimed toward implementing more maze generation algorithms and creating a menu that allows the user to select the preferred method of maze generation. Some other tasks considered are:

  • Changing the name of the output file so it inlcudes the date and time when it was created.
  • Declaring the functions as prototypes and move their definitions to the end of the file.
  • Or creating a header file with the functions and variables used to generate the maze.

Acknowledgements

This project was inspired by Daniel Shiffman's Coding Challenge #10: Maze Generator

mazegenerator's People

Contributors

franklinbello 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.