The Maze is a 3D Maze game that uses ray casting to render a 2D map into a 3D navigable world! The Maze was written was written in C using SDL2 library.
SDL2 is a powerful library used for multimedia and game development. It provides low-level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
$ git clone https://github.com/mostsfa538/the_maze.git
- SDL2 and is required to compile and use this program
- Compile with
gcc 4.8.4
with the following flags:gcc -Wall -Werror -Wextra -pedantic ./src/*.c -lm -o maze `sdl2-config --cflags` `sdl2-config --libs
`` ORmake
- Run the maze:
./maze
W
: move forwardS
: move backwardA
: rotate camera leftD
: rotate camera right/
: enable/disable mapF
: toggle fullscreenESC
: quit