/The-Maze-Game

ALX Maze project

Primary LanguageC

Maze Game using SDL2 & Raycasting

Introduction

This project encompasses a maze game developed in C, utilizing the SDL2 library. The game employs raycasting to create a 3D-like environment, reminiscent of classic games such as Wolfenstein.

Description

The game immerses players in a maze environment rendered with raycasting techniques, delivering an experience akin to navigating a 3D world. Explore the maze's intricacies while mastering movement and rotation controls.

Installation

  • Clone the repository to your Linux machine using: git clone [https://github.com/wezer-pixel/The-Maze-Game.git]
  • Install SDL library and required extensions (specific instructions for different Linux distributions may be needed)
  • Compile the code with: gcc main.c -o main -lSDL2 -lm
  • Run the game: ./main

Gameplay

  • Move within the maze using WASD keys
  • Rotate left and right with Q and E respectively
  • Exit the game by pressing the Escape key

Additional Resources

You can find related project documents here.