Simple implementation of the Ray Caster principle in SFML. Ray casting is a basic computer graphics rendering algorithm that uses the geometric algorithm of ray tracing. Here it is:
There is a 2D map that you can see in the top left corner, rays are cast from the player. If one ray touches a wall, a column is drawn.
The makefile is at the root (need the SFML library) :
make
./raycaster
sudo apt-get install libsfml-dev
OR
sudo dnf install SFML-devel.x86_64