How Koga decides

Setup A piece that is already pinned
  • Before our move, an enemy piece must already be pinned — frozen on a line between its king (absolute pin) or a more valuable piece (relative pin) and one of our long-range pieces.
  • Because it cannot legally step off that line, it cannot run away when we come after it.
The move Pile a new attacker onto it
  • Our move must bring a NEW attacker to bear on the pinned piece: the piece we move ends up attacking the pinned square, and it was not already attacking that square from where it started.
  • Adding a fresh attacker to a piece that cannot be defended by moving wins material — the pinned piece is stuck and must eventually fall.
Filters When we do NOT call it this
  • Not a capture — simply taking the pinned piece is just a capture, not 'attacking' it; this motif is about adding pressure, not grabbing it outright.
  • Not an old attacker — if the moving piece already hit the pinned square before it moved, nothing new has been added.
  • The pin must survive — the pinner, the pinned piece, and the piece behind it must all still be on the board after the move, and the pin must still hold; if the move breaks the pin there is nothing to exploit.
  • The pressure must pay — after the move the pinned piece is winnable (capturing it gains material), or the engine line goes on to win it. Piling onto a pinned piece the defenders still hold wins nothing: …Qf6 hits the pinned c3 pawn, but Bd2 and Qc2 hold it and the line takes f2 instead.

Test positions (the examples that guard against regressions)

Pawn attacks a relatively pinned knight

The rook on e1 pins the black knight on e5 to the queen on e7 (a relative pin). The push f2–f4 brings a new attacker onto the frozen knight, which cannot step away without losing the queen behind it.

✓ detectedRelativetest_motivating_example_pawn_attacks_pinned_knight
. . . r r . k .
. . . . q p p .
. . . . . . . p
p . p . n b . .
. . P p . P . .
P Q . . . . P .
. P . N . . B P
R . . . R . K .
Attacking piece
Pinned piece (frozen)
Pinner (our long-range piece)
Piece behind (king or valuable piece)

Pawn attacks an absolutely pinned knight

A constructed position. The rook on d1 pins the knight on d5 to the king on d8 (an absolute pin). After e3–e4 the pawn attacks the d5 knight, which is glued to the d-file and cannot escape.

✓ detectedAbsolutetest_absolute_pin_pawn_attacks_pinned_knight
. . . k . . . .
. . . . . . . .
. . . . . . . .
. . . n . . . .
. . . . P . . .
. . . . . . . .
. . . . . . . .
. . . R . . K .
Attacking piece
Pinned piece (frozen)
Pinner (our long-range piece)
Piece behind (king or valuable piece)

Capturing the pinned piece is NOT this motif

A constructed position shown JUST BEFORE the move. The rook on e1 pins the knight on e5 to the queen on e7. The bishop on f4 simply takes the knight with Bxe5 — that is an ordinary capture, not piling a new attacker onto a frozen piece, so the motif does not fire.

✗ not detectedCapture (not this motif)test_capture_of_pinned_piece_is_not_attacking
. . . . k . . .
. . . . q . . .
. . . . . . . .
. . . . n . . .
. . . . . B . .
. . . . . . . .
. . . . . . . .
. . . . R . K .
Attacking piece
Pinned piece (frozen)
Pinner (our long-range piece)
Piece behind (king or valuable piece)

The attacker was already hitting the square

A constructed position. The rook on e1 pins the knight on e5 to the queen on e7, and the bishop on f4 already attacks e5. After Bf4–g3 the bishop still attacks e5, but no NEW attacker has been added, so the motif does not fire.

✗ not detectedNo new attackertest_negative_piece_already_attacked_from_origin
. . . . k . . .
. . . . q . . .
. . . . . . . .
. . . . n . . .
. . . . . . . .
. . . . . . B .
. . . . . . . .
. . . . R . K .
Attacking piece
Pinned piece (frozen)
Pinner (our long-range piece)
Piece behind (king or valuable piece)

A move that ignores the pinned piece

The same position as the motivating example: the knight on e5 is pinned by the rook on e1 against the queen on e7. But the move a3–a4 does nothing to the e5 knight, so even though the pin exists, the motif does not fire.

✗ not detectedNo new attacktest_negative_pin_exists_move_does_not_attack
. . . r r . k .
. . . . q p p .
. . . . . . . p
p . p . n b . .
P . P p . . . .
. Q . . . . P .
. P . N . P B P
R . . . R . K .
Pinned piece (frozen)
Pinner (our long-range piece)
Piece behind (king or valuable piece)

A move that abandons the pin

A constructed position shown JUST BEFORE the move. The rook on f1 pins the knight on f4 to the queen on f7 along the f-file. The move Rf1–a1 leaves the f-file and breaks the pin, so there is no longer a pinned piece to attack.

✗ not detectedPin brokentest_negative_move_breaks_pin
. . . . k . . .
. . . . . q . .
. . . . . . . .
. . . . . . . .
. . . . . n . .
. . . . . . . .
. . . . . . . .
. . . . . R K .
Pinner (our long-range piece)
Pinned piece (frozen)
Piece behind (king or valuable piece)

Pressure the defenders hold

chess.com 184201652418 (Avo's report). After 18.bxc3, the rook on c8 pins the c3 pawn to the queen on c2, and ...Qf6 adds a new attacker. But Bd2 and Qc2 still hold c3, so every capture there loses material, and the engine line takes f2 instead. Avo: "Not a tactic at all."

✗ not detectedWins nothingtest_negative_new_attacker_wins_nothing_chesscom_184201652418
. . r . . r k .
p p . . . p p .
. b . . b q . p
. . . . . . . .
. . . . . . . .
. . P . . N . .
P . Q B . P P P
. K . R . . . R
Attacking piece
Pinned piece (frozen)
Pinner (our long-range piece)
Piece behind (king or valuable piece)
Defender (removed or overloaded)

The line wins the pinned piece

Lichess uhw9B. The queen on d1 pins the g1 knight to the king, and ...Ne2 attacks it. Nothing is won yet, because Qg3 still guards g1. But Ne2 also hits the queen: after Qg4 the knight on g1 falls (...Nxg1).

✓ detectedWon in the linetest_pinned_piece_won_in_the_line_keeps_the_tag_uhw9B
. . . . . . . .
. p . . . . k .
. . p . . p . .
. . P . . . p .
. P . . P . . P
. . . . . P Q .
. . . . n . . .
. . . q . . N K
Attacking piece
Pinned piece (frozen)
Pinner (our long-range piece)
Piece behind (king or valuable piece)