Cub3D is a second group project in 42 Comon Core. It is a simple 3D game built using C that allows the rendering of a 3D world, using raycasting techniques for creating 3D environments. The game is inspired by classic games like Wolfenstein 3D and utilizes basic game physics for player interaction.
To get started with the Cub3D project, follow these steps to install the necessary dependencies and set up the project on your Linux machine:
Start by cloning the repository to your local machine:
git clone https://github.com/yourusername/cub3d.git
Change to the newly cloned directory:
cd Cub3d
Once the dependencies are installed, use make to compile the project:
make
After compiling, you can run the game with a .cub map file:
./cub3d maps/map
Once the game is running, you can control the player in the 3D environment using the following keyboard controls:
W - Move forward
S - Move backward
A - Strafe left
D - Strafe right
Arrow keys - Rotate the view (look around)
Esc - Exit the game

