Skip to content

Maze generation algorithms along with path finding solutions.

License

Notifications You must be signed in to change notification settings

dudynets/Maze-Generation-Algorithms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oleksandr Dudynets logo

Maze Generation Algorithms

GitHub workflow status Last commit Commit activity Repository size Lines of code

This repository contains C++ implementations of various maze generation algorithms. These algorithms generate random mazes and distribute checkpoints throughout the maze. Additionally, a shortest path that passes through all the checkpoints is generated using the Held-Karp algorithm. The repository provides multiple implementations, including multithreaded and single-threaded versions of the Held-Karp algorithm, as well as a brute force algorithm for solving the maze.

Table of Contents

Showcase

mga

Installation

To use the MGA library, follow these steps:

  1. Clone the repository:

    git clone https://github.com/dudynets/Maze-Generation-Algorithms.git
    
  2. Navigate to the repository directory:

    cd Maze-Generation-Algorithms
    
  3. Build the project using CMake:

    cmake -S . -B build
    
  4. Compile the project:

    cmake --build build
    
  5. Run the executable:

    cd build
    ./mga
    

Note: Make sure you have the SFML library installed on your system before building the project.

Feel free to explore the codebase and experiment with different options to generate and solve mazes!

Contributors

This project was made possible thanks to the contributions of the following individuals:

A big thank you to all the contributors for their valuable input and efforts in developing the MGA project!

License

The Maze Generation Algorithms is released under the MIT License. Feel free to use and modify the code according to your needs. See the LICENSE file for more details.

About

Maze generation algorithms along with path finding solutions.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 97.3%
  • CMake 2.1%
  • C 0.6%