This program is a tribute to the Wolfenstein 3D game.
Basically it is a raycasting algorithm rendering a game in a window, where a player can navigate through a map.
The map is customizeable, following a set of rules detailed on the subject attached.
This program uses the minilibx graphic library to interact with the OS.
This program was built on macOS. It must be run specifically on a macOS environment. On your terminal, execute in the repository of your choice :
git clone https://github.com/ehafidi/cub3d_42.git
cd cub3d_42
make
./cub3d maps/map.cub
- WASD to move the character
- left and right directional arrow to rotate the camera to the left/right
- Esc to close the game