Skip to content

A research project intended to learn more about algorithms, with a Depth-First search maze algorithm in C++

Notifications You must be signed in to change notification settings

spencer-hanson/MazeGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maze Generator



There are 2 parts to the Maze Generation Project:

1. MazeGen

  • Generates a maze given size of maze, can save to file and/or print to console
  • Written in C++

2. MazeGUI

  • Displays a window of the maze, read in from a generated maze file
  • Reads from local 'maze.txt'
  • Takes args on the path to the MazeGen executable, the size of maze to generate, and size of the cells
  • The size of the cells determines the "resolution" of each wall/pathway, in pixels

Compiling Guide:

  • simple 'make' command, binary will be created in bin
  • use 'make clean' to clean out all binaries and compiled files

Run Guide:

MazeGen - A program written to generate mazes of specified sizes

  • Default executable name is 'MazeGen'
  • Used like so: [-o (optional output flag) ] [-p (optional force print to console)]
  • Run to see examples

MazeGUI - A GUI written in java to view the generated Maze

  • Default jar-file name is 'MazeGUI.jar'
  • Used like so: java -jar
  • Click on the Generated Maze to re-generate it!

About

A research project intended to learn more about algorithms, with a Depth-First search maze algorithm in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published