Use the arrow keys to control movement and turning. The green lines on the mini map show where the rays are being casted and you can compare with the view at the top to understand partially how its working.