Learning to Play Pursuit-Evasion with Visibility Constraints