A little maze manually rendered using Raycasting and C++ with SFML.
To build this project, you will need:
- A C++ compiler that supports C++17 (GCC, Clang, MSVC).
- CMake (version 3.14 or higher).
- No need to install SFML manually: CMake will automatically download and build the correct version (2.6.x) during the configuration step!
-
Clone the repository:
git clone https://github.com/Tugamer89/Maze.git cd Maze -
Configure the project with CMake (this step will automatically download SFML):
cmake -B build
-
Build the game:
cmake --build build --config Release
After a successful build, you can start the game by executing the compiled binary located in the build directory.
On Linux / macOS:
./build/mazeOn Windows:
.\build\Release\maze.exe
- W, A, S, D: Move the character
- Right Arrow / Left Arrow: Rotate the camera
- F11 / Esc: Toggle Fullscreen mode