by https://github.com/MabKort and https://github.com/MichaelPerger
During the Cub3D project at School 42, we worked on developing our programming and game development skills. The project involved using the C programming language and the RayCasting algorithm to create a 3D maze game that allowed players to move through a maze-like environment and interact with objects in the game world.
Throughout the project, we learned a variety of skills and concepts related to programming and game development, such as using the RayCasting algorithm to create a 3D view of the maze environment, applying physical laws and principles to the game world, and texture mapping to add textures to the surfaces of 3D objects in the game world.
To complete the project, we were only allowed use some C programming functions and libraries, including:
- open
- close
- read
- write
- printf
- malloc
- free
- perror
- strerror
- exit
- the math library
- everything we coded ourselves in the libft project
- A minimap to show the layout of the maze.
- The ability to rotate the player's view using the mouse.
- The inclusion of enemy sprites that move randomly throughout the maze.
- Detection and handling of wall collisions.
Overall, the Cub3D project was a challenging but rewarding experience that helped us develop our skills as programmers and game developers. By completing the project as a team, we gained valuable experience that will help us in our future careers, and we feel proud of what we were able to achieve together.
- Clone the project from the repository.
- Open a terminal and navigate to the project directory.
- Run the command "
make
" to compile the project. - If the compilation was successful, run the command "
make run
" to start the game.