3D Maze Game is a simple maze game implemented using raycasting technique. It is written in C and utilizes the ncurses library for terminal-based rendering.
To compile and run the game, you need to have the following software installed on your system:
- C compiler (e.g., GCC)
- ncurses library
- Clone or download the repository.
- Make sure you have the ncurses library installed on your system.
- On Ubuntu, you can install it by running:
sudo apt-get install libncurses-dev
- On macOS, you can install it using Homebrew:
brew install ncurses
- For other operating systems, please refer to the documentation specific to your system.
- On Ubuntu, you can install it by running:
- Compile the source code by executing the following command:
gcc -std=c99 -o game main.c game.c map.c rendering.c input.c utils.c -lncurses
- After successful compilation, run the game by executing the following command:
./game
- The game should start, and you will be presented with a 3D maze.
- Use the arrow keys to navigate through the maze and try to reach the goal.
- Press 'Q' to quit the game.
Contributions to improve the game are welcome! If you have any suggestions, bug fixes, or feature enhancements, feel free to submit a pull request or open an issue.
This project is licensed under the MIT License.
This project was inspired by the classic maze games and utilizes the raycasting technique made popular by early 3D games.
Isaac Afolabi