SDL tutorial on raycasting translated to SFML. A cool example with textures and has a minimap to show where it's being projected from.