Rainbow Pierces the Sun

Rainbow Pierces the Sun楚河 漢界相帥相卒卒車卒炮兵俥俥砲象兵車砲將兵

"Rainbow Pierces the Sun" is a Xiangqi (Chinese Chess) puzzle from the collection Xinwu Endgame Collection. Red moves first and wins in 25 moves; the key first move is -R=4. Below you will find the full solution, what each move achieves, where it could go wrong, and the alternative defences.

Solve this puzzle on ChessZing →

Free, in the browser, no download.

Pieces on the board

Red has a General, 2 Elephants, 2 Chariots, a Cannon, 3 Soldiers. Black has a General, a Elephant, 2 Chariots, 2 Cannons, 3 Soldiers.

Solution move by move

  1. 1. Red -R=4 (check, threatens mate next move, the General has no escape square)
    Why it works
    • Creates an immediate mating threat that must be answered.
    • Takes away the General's escape squares.
    What to watch out for
    • The Chariot stands where it can be captured.
    1. Black C1=6
    1楚河 漢界相帥相卒卒車卒炮兵俥俥砲象兵車砲將兵
    1. Black C1=6
  2. 2. Red R1=6 (threatens mate next move)
    Why it works
    • Creates an immediate mating threat that must be answered.
    What to watch out for
    • Not forcing: the defender has 40 replies, so compare each one before playing it.
    2. Black C2=8 (captures the Soldier, threatens mate next move)
    2楚河 漢界相帥相卒卒車卒炮兵俥俥砲象兵車將砲
    2. Black C2=8
  3. 3. Red R4-2 (captures the Chariot, threatens mate next move)
    Why it works
    • Wins material: takes the Chariot.
    • Creates an immediate mating threat that must be answered.
    What to watch out for
    • Not forcing: the defender has 39 replies, so compare each one before playing it.
    • The Chariot stands where it can be captured.
    3. Black C8+9 (check, the only legal reply, the General has no escape square)
    3楚河 漢界相帥相砲卒卒俥卒炮兵俥砲象兵車將
    3. Black C8+9
  4. 4. Red R4-1
    Why it works–
    What to watch out for
    • Not forcing: the defender has 40 replies, so compare each one before playing it.
    • The Chariot stands where it can be captured.
    4. Black R1=3 (threatens mate next move)
    4楚河 漢界相帥俥相砲卒卒卒炮兵俥砲象兵車將
    4. Black R1=3
  5. 5. Red E7+5
    Why it works–
    What to watch out for
    • Not forcing: the defender has 42 replies, so compare each one before playing it.
    5. Black C8=6 (captures the Chariot)
    5楚河 漢界帥砲相卒卒相卒炮兵俥砲象兵車將
    5. Black C8=6
  6. 6. Red C1+1
    Why it works–
    What to watch out for
    • Not forcing: the defender has 44 replies, so compare each one before playing it.
    6. Black P7=6
    6楚河 漢界帥砲相卒卒相卒兵炮俥砲象兵車將
    6. Black P7=6
  7. 7. Red C1+6
    Why it works–
    What to watch out for
    • Not forcing: the defender has 38 replies, so compare each one before playing it.
    7. Black -C=5
    7楚河 漢界帥砲相卒卒相卒兵俥砲象兵車將炮
    7. Black -C=5
  8. 8. Red C1=7 (captures the Chariot, threatens mate next move)
    Why it works
    • Wins material: takes the Chariot.
    • Creates an immediate mating threat that must be answered.
    What to watch out for
    • Not forcing: the defender has 26 replies, so compare each one before playing it.
    • The Cannon stands where it can be captured.
    8. Black C5-3 (captures the Soldier)
    8楚河 漢界帥砲相卒卒相卒兵俥象砲炮將
    8. Black C5-3
  9. 9. Red R6+5 (check)
    9. Black K6+1
    9楚河 漢界帥砲相卒卒相卒兵象砲將炮俥
    9. Black K6+1
  10. 10. Red R6-1
    Why it works–
    What to watch out for
    • Not forcing: the defender has 14 replies, so compare each one before playing it.
    10. Black K6-1
    10楚河 漢界帥砲相卒卒相卒兵象俥砲炮將
    10. Black K6-1
  11. 11. Red R6=5 (captures the Cannon)
    Why it works
    • Wins material: takes the Cannon.
    What to watch out for
    • Not forcing: the defender has 14 replies, so compare each one before playing it.
    11. Black E5-3 (captures the Cannon)
    11楚河 漢界帥砲相卒卒相卒兵俥象將
    11. Black E5-3
  12. 12. Red E5+7
    Why it works–
    What to watch out for
    • Not forcing: the defender has 12 replies, so compare each one before playing it.
    12. Black P6+1
    12楚河 漢界帥砲相卒卒卒兵相俥象將
    12. Black P6+1
  13. 13. Red R5=8
    Why it works–
    What to watch out for
    • Not forcing: the defender has 8 replies, so compare each one before playing it.
    13. Black E3+5
    13楚河 漢界帥砲相卒卒卒兵相象俥將
    13. Black E3+5
  14. 14. Red R8-2
    Why it works–
    What to watch out for
    • Not forcing: the defender has 12 replies, so compare each one before playing it.
    14. Black K6+1
    14楚河 漢界帥砲相卒卒卒兵相俥象將
    14. Black K6+1
  15. 15. Red E7-9
    Why it works–
    What to watch out for
    • Not forcing: the defender has 12 replies, so compare each one before playing it.
    15. Black K6=5
    15楚河 漢界帥砲相卒卒卒相兵俥象將
    15. Black K6=5
  16. 16. Red P9+1
    Why it works–
    What to watch out for
    • Not forcing: the defender has 12 replies, so compare each one before playing it.
    16. Black P1+1
    16楚河 漢界卒帥砲相卒卒相兵俥象將
    16. Black P1+1
  17. 17. Red R8=5
    Why it works–
    What to watch out for
    • Not forcing: the defender has 7 replies, so compare each one before playing it.
    17. Black P1=2
    17楚河 漢界卒帥砲相卒卒相兵俥象將
    17. Black P1=2
  18. 18. Red P9+1
    Why it works–
    What to watch out for
    • Not forcing: the defender has 8 replies, so compare each one before playing it.
    18. Black P2=3 (check, the only legal reply, the General has no escape square)
    18楚河 漢界卒帥砲相卒卒相兵俥象將
    18. Black P2=3
  19. 19. Red E9-7 (captures the Soldier, sacrifices the Elephant)
    Why it works
    • Wins material: takes the Soldier.
    What to watch out for
    • Gives up the Elephant; the follow-up must be exact or the sacrifice is wasted.
    • Not forcing: the defender has 7 replies, so compare each one before playing it.
    19. Black C6=3 (captures the Elephant)
    19楚河 漢界砲帥相卒卒兵俥象將
    19. Black C6=3
  20. 20. Red E3+1
    Why it works–
    What to watch out for
    • Not forcing: the defender has 17 replies, so compare each one before playing it.
    20. Black C3-9
    20楚河 漢界帥卒卒相兵俥象將砲
    20. Black C3-9
  21. 21. Red P9=8
    Why it works–
    What to watch out for
    • Not forcing: the defender has 23 replies, so compare each one before playing it.
    21. Black C3=8
    21楚河 漢界帥卒卒相兵俥象將砲
    21. Black C3=8
  22. 22. Red R5=2
    Why it works–
    What to watch out for
    • Not forcing: the defender has 20 replies, so compare each one before playing it.
    22. Black P6+1 (threatens mate next move)
    22楚河 漢界帥卒卒相兵俥象將砲
    22. Black P6+1
  23. 23. Red R2-6
    Why it works–
    What to watch out for
    • Not forcing: the defender has 27 replies, so compare each one before playing it.
    23. Black P6=5 (check, the only legal reply, the General has no escape square)
    23楚河 漢界帥卒俥卒相兵象將砲
    23. Black P6=5
  24. 24. Red R2=5 (captures the Soldier, sacrifices the Chariot)
    Why it works
    • Wins material: takes the Soldier.
    What to watch out for
    • Gives up the Chariot; the follow-up must be exact or the sacrifice is wasted.
    • Not forcing: the defender has 26 replies, so compare each one before playing it.
    24. Black P5+1 (captures the Chariot, check)
    24楚河 漢界帥卒相兵象將砲
    24. Black P5+1
  25. 25. Red K6=5 (captures the Soldier)
    Why it works
    • Wins material: takes the Soldier.
    What to watch out for
    • Not forcing: the defender has 20 replies, so compare each one before playing it.
    25楚河 漢界帥相兵象將砲
    25. Red K6=5

Variations and alternative defences

What if Black defends differently? The alternatives below were checked with the rules engine; lines marked with a mating move lose at once, the others are worth trying on the analysis board.

Final position

Final position楚河 漢界帥相兵象將砲

The record ends here.

Questions about this puzzle

Who moves first in "Rainbow Pierces the Sun"?

Red moves first, as in every puzzle of Xinwu Endgame Collection.

How many moves does the solution take?

25 moves. The main line is shown above; alternative defences are covered in the variations section.

What is the key move?

The first move -R=4 starts the combination. Everything that follows depends on it.

Can I play this position myself?

Yes. Open it on ChessZing, where the board checks your moves and shows the solution if you get stuck.

Nearby puzzles

More from Xinwu Endgame Collection →

Languages: English · Tiếng Việt · 简体中文 · 繁體中文