Left and right arrow keys to rotate. Up arrow key and W to move forward. Down and S keys to move backward. A and D to move to the sides.
@griffpatch for 3D raycaster engine