A simple maze generator made with C++ and SFML using backtracking.
Controls
'S' Key - Start the maze generation
'P' Key - Pause the maze generation
'R' Key - Reset the grid
The current active cell is highlighted green when it is a new cell being processed.
When the generator is backtracking the cell is highlighted purple.
Please Note: Earlier versions may work.
SFML 2.5.1 or above - http://www.sfml-dev.org/
Microsoft Visual Studio 19 or above - https://visualstudio.microsoft.com/
SFML Visual C++ 15 (2017) - 32-bit - http://www.sfml-dev.org/
The SFML libraries are already statically linked within the project.
A environment variable must be created called SFML_DIR which should point to the SFML root directory.
Ex. SFML_DIR=C:\SFML-2.5.1
- Open the file MazeGenerator.sln.
- Set the target to Debug or Release 32-bit (x86).
- Build and run.
- Open the file MazeGenerator.sln.
- Follow the procedure to link the required SFML libraries outlined here (either dynamically or statically) - https://www.sfml-dev.org/tutorials/2.5/start-vc.php
- Set the target to Debug or Release 32-bit (x86) based on which SFML libraries you linked from the above tutorial.
- Build and run.