Let's draw the situation as seen from above.
As we can see, when the door has turned 180∘, Jack is on the opposite side of the door.
Again, let's draw the situation as seen from above.
When the door has rotated 360∘, which is a full turn, Jack is back where he started.