The 3D Maze Game is a first-person maze exploration game built using C programming language and the SDL2 library. The game utilizes ray-casting techniques to transform a 2D map into a 3D environment, creating an immersive experience where players navigate through a dynamically generated maze. This project was inspired by classic maze games and a love for puzzles and problem-solving.
- Project Landing Page: Landing Page
- Final Project Article: Link to the Article
- Ensure SDL2 is installed:
sudo apt-get install libsdl2-dev
- Clone the repository:
git clone https://github.com/Badrdineyk/The-Maze-Project/
gcc -Wall -Werror -Wextra -pedantic ./src/*.c -lm -o maze `sdl2-config --cflags` `sdl2-config --libs`;
./maze or type make run
Once the game is running, you can control your character using the keyboard:
-
Arrow keys: Move forward, backward, and rotate.
-
Objective: Navigate through the maze and find the exit as quickly as possible.
We welcome contributions! Please follow these steps:
1. Fork the repository
2. Create a new branch (git checkout -b feature-name)
3. Commit your changes (git commit -m 'Add feature')
4. Push to your branch (git push origin feature-name)
5. Open a pull request and describe the feature you've added
This project is licensed under the MIT License - see the LICENSE file for details.