This is the ray casting test Move the player by draging the mouse cursor The bottom left screen shows what the player sees The screen turning dark shows that the player is getting close to the red wall