pausing the game loop for 1 second if ball reaches the flag or is captured by a hole