Skip to content

Luke-LoPresti/MazeGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze Generator

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.

maze

Requirements

Please Note: Earlier versions may work.

Dependencies

SFML 2.5.1 or above - http://www.sfml-dev.org/

MS Build

Microsoft Visual Studio 19 or above - https://visualstudio.microsoft.com/
SFML Visual C++ 15 (2017) - 32-bit - http://www.sfml-dev.org/

Building

Method 1

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

  1. Open the file MazeGenerator.sln.
  2. Set the target to Debug or Release 32-bit (x86).
  3. Build and run.

Method 2

  1. Open the file MazeGenerator.sln.
  2. 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
  3. Set the target to Debug or Release 32-bit (x86) based on which SFML libraries you linked from the above tutorial.
  4. Build and run.

About

A Maze Generator made with C++ and SFML.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages