cub3d is a project from 42 school that uses raycasting to display a 3d rendered map.
The player should be abble to walk through the map and to turn his head to navigate freely.
cub3d.mp4
The subject also asks you to render differents maps located in ".cub" extension files. Those files can be created or modified by the user so the program needs to carefuly parse the input.
The user can draw his own map using "1" characters as wall and "0" characters as floor and "E" "N" "S" "O" characters as the players spawn (and his facing direction), the rest will be empty.
He can also choose the color of the floor, ceiling, and can add textures to render on the walls

Here are some of the parsing checks that protects the program from crashing:

The map cand be rendered with any texture as long as it is a .xpm file, here is a map with photos of me and my friend as walls
