- The repository is a maze project that uses various data structures and algorithms to generate and solve mazes.
# Maze Game
This is a simple maze game written in C using OpenGL (Open Graphics Library) and GLUT (OpenGL Utility Toolkit). The game generates a maze using an algorithm (e.g., Kruskal's algorithm) and allows the player to navigate through it.
## Table of Contents
- [Features](#features)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Building](#building)
- [Running](#running)
- [Controls](#controls)
- [Gameplay](#gameplay)
- [Contributors](#contributors)
## Features
- Dynamic maze generation using algorithms like Kruskal's.
- Player control to navigate through the maze.
- Interactive lighting effects.
- Maze transition animation.
- Nim character animation.
## Getting Started
### Prerequisites
Make sure you have the following installed on your system:
- C Compiler (e.g., GCC)
- OpenGL and GLUT development libraries
### Building
Use a C compiler to build the executable:
```bash
gcc maze_game.c -o maze_game -lGL -lGLU -lglut -lm
Run the compiled executable:
./maze_game
- Arrow Keys: Move the player in the maze.
- Space Bar: Toggle the enemy movement.
- 1-5 keys: Toggle different lighting and visual effects.
- C key: Change the maze size.
- V key: Toggle between different viewing modes.
Navigate through the maze, reach the entrance and exit doors, and enjoy the visual effects and animations. Adjust lighting and viewing modes for a different gaming experience.
- RAPHAEL KARIUKI
- Ridwan Abdullahi