This is a simple raycaster. ( I might make a game out of it but I'm not sure)
Thanks to griffpatch for tutorials