Mastering Complex Endgames