Use left arrow to turn left, right arrow to turn right. Up arrow to go forward, a to go to the left, d to go to the right.
Made using griffpatch's raycasting tutorial. You should check it out, it is surprisingly simple.