Skip to content

obamamen/MAZEGENERATORC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze Generator

Description

This project generates random 2d mazes using the growing tree algorithm and exports them as a PNG image file. This is 100% made in C using lodepng as the PNG exporter.

Table of Contents

Features

  • Generates random mazes using the growing tree algorithm.
  • Exports generated mazes as BMP image files for visualization.
  • Some intresting Adjustable parameters.

Adjustable parameters

  • Maze dimensions (Width and height).
  • Thickness of the maze walls.
  • And some biases, like:
    • change of it being a before specified direction.

Installation

  • Download all the files and put it somewhere in a folder.
  • If you want to change some properties, they are in the main.c and in mazegen.c files, and then compile.

Contributing

Contributions to this project are welcome! To contribute, follow these steps:

1. Fork the repository and clone it locally.
2. Create a new branch for your feature or bug fix.
3. Make your changes and test them thoroughly.
4. Commit your changes with clear and concise messages.
5. Push your changes to your fork and submit a pull request.

About

mazegeneratorinc

Resources

Stars

Watchers

Forks

Packages

No packages published