How Koga decides
- A deflection forces an enemy piece to leave a square it was guarding, so that we can then strike where it used to defend.
- We look at the engine's main line: our move compels the opponent to move a particular piece, that piece stops covering a key square, and a later move of ours exploits the now-undefended square.
- Deflection is read off the forcing sequence, so the win can land immediately or several moves deeper in the line.
- The deflecting move has to be genuinely forcing: either it gives check, or it puts a piece in danger so the opponent must answer (a forced recapture or a real threat).
- A quiet, perfectly safe move does not force anything — the opponent is free to keep guarding, so we do not call that a deflection even if the defender happens to wander off.
- If the threatened piece can simply step aside and keep defending the same square from its new home, it was never deflected.
- Leaving a square undefended only matters if we can use it: a capture on that square, or a checkmate that needs it.
- A check that wins nothing does not qualify. Repetition shuffles, perpetual-check chases, and fortress wandering all produce checks on abandoned squares but never cash in — so they are rejected.
- We also require that losing the defender truly weakens the square: after it leaves, our forces on that square must at least match the remaining defenders.
- Deflection outranks distraction: when both could describe the same luring-away idea, we report the deflection and drop the distraction.
- A plain hanging piece outranks deflection: if the point is simply that a piece is left en prise, that is reported instead.
Test positions (the examples that guard against regressions)
Check drags the king off guard duty
Lichess 00DBg. After ...Bc5+ the line runs Be3 Bxe3+ Kxe3, and the white king on f2 — the only guard of g3 — is dragged to e3 by the check. With the king gone, ...Qxg3 wins the knight. The deflection is the forced Kxe3, several moves into the line.
Defender can retreat and keep defending
A constructed position. White plays Nc4, threatening the rook on b6. But the rook guards the knight on b1 and can step anywhere along the b-file — b2 through b8 — without ever leaving that defence. Because it is never forced off its duty, there is no deflection.
The forcing move must itself be forcing
From a real game (lichess.org/ekna9t19, Black to move 33...Rcc6). The line is Rcc6 Rh8+ Kxf7 Rh7+ Kg8 Rxb7, and Black's rook does leave h7 (uncovering f7) before ...Kxf7. But Rcc6 is a quiet, safe attack on the h6 pawn — it never forces the white rook to move. The white rook's Rh8+ is a desperado check of its own, so the f7 loss is incidental, not a deflection.
Check that wins nothing (fortress shuffle)
From a drawn king-and-knight vs king-and-bishop fortress (game lichess.org/MEZTnWYD, 70.Ne4, eval 0.00). Ne4 attacks the bishop on g5; Black's ...Kd5 leaves d4, uncovering c3; and 71.Nc3+ lands on c3 with check. But the knight is merely escaping — the check wins nothing and the line just shuffles. Since the abandonment never pays off, it is not a deflection.
Golden puzzles — every real Lichess puzzle Koga is tested against for this tactic (8)
Lichess 00ziz
Lichess 00ziz (rating 2053). Solution: d6 cxd6 cxb6.
Lichess 00uKb
Lichess 00uKb (rating 1548). Solution: h4 Qxh4 Qxe5+.
Lichess 011o8
Lichess 011o8 (rating 1532). Solution: Re7+ Kg8 Qxh6.
Lichess 01g9c
Lichess 01g9c (rating 1886). Solution: Ng4+ Kf1 Rxf3#.
Lichess 01Npb
Lichess 01Npb (rating 2098). Solution: f4 exf4 Kxd4 f5 gxf5.
Lichess 00bPT
Lichess 00bPT (rating 1878). Solution: Bh3+ Kc7 Qxe7+.
Lichess 021cc
Lichess 021cc (rating 1395). Solution: g5 fxg5 Kxe5.
Lichess 001h8
Lichess 001h8 (rating 1780). Solution: Qxh7+ Rxh7 Rxc8+ Kg7 Rc7+.