Skip to content

Latest commit

ย 

History

History
61 lines (39 loc) ยท 1.84 KB

File metadata and controls

61 lines (39 loc) ยท 1.84 KB

3D Maze Project ๐ŸŽฎ

Introduction ๐ŸŒ€

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.

Authors ๐Ÿ‘จโ€๐Ÿ’ป

Installation โš™๏ธ

Prerequisites:

  1. Ensure SDL2 is installed:
sudo apt-get install libsdl2-dev
  1. Clone the repository:
git clone https://github.com/Badrdineyk/The-Maze-Project/

Compile the Project:

gcc -Wall -Werror -Wextra -pedantic ./src/*.c -lm -o maze `sdl2-config --cflags` `sdl2-config --libs`;

Run the Game:

./maze or type make run

Usage ๐Ÿ•น๏ธ

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.

Contributing ๐Ÿš€

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

License ๐Ÿ“„

This project is licensed under the MIT License - see the LICENSE file for details.