Double+Attack

toc =Seeing Potential Forks= Like a skewer or other tactical threats, it might be nice to determine the availability of forks in advance, to either try those moves early, to don't prune or reduce them, or even to try them at the horizon in quiescence search. As always, it depends on the board representation and the availability of appropriate data structures like Attack and Defend Maps, whether additional effort in determination of fork pattern, what kind of pieces to consider etc., makes sense and pay off.
 * Home * Chess * Tactics * Double Attack**
 * [[image:Le_duelliste_à_l'épée_et_au_poignard.jpg width="286" height="207" link="http://commons.wikimedia.org/wiki/File:Le_duelliste_%C3%A0_l%27%C3%A9p%C3%A9e_et_au_poignard.jpg"]] ||~  || A **Double Attack** attacks two or more pieces or important squares simultaneously with one move, either by [|forking] with the moving piece, or at least by a single direct attack of the moving piece in conjunction with a discovered attack. The so called royal knight fork winning the queen is most important, but like other double attacks involving checks already covered by usual move selection heuristics. ||
 * Le duelliste à l'épée et au poignard ||~  ||^   ||

Knight and Pawn
A common technique in bitboards to determine fork move target sets for respective pieces is to treat potential opponent targets as the kind of piece which may fork, and to pairwise intersect all their disjoint direction attacks, as demonstrated in knight forks.

Pawn fork targets have only two different and contact attacking directions. For instance, white pawn fork targets need the intersection of east and west black pawn attacks of all black pieces, excluding the guarding real black pawn attacks. If this resulting set intersects with white pawn push targets, white has likely (considering pins) one or more pawn forks.

Single pawn and knight forks are easy to determine with any board representation, since the patterns are simple. For knight forks one may rely on knight-distance of two, implying the precondition of same square color between all potential attacking targets and one own attacking knight.

Sliding Pieces
For sliding piece forks, Mailbox or 0x88 based board representations may rely on techniques as described in Intersection Squares, while it seems bitboards have an edge using attack set intersection of a pair of targets.

=See also=
 * Knight Forks
 * Discovered Attack
 * Discovered Check
 * Double Check
 * Skewer

=External Links=
 * [|Fork (chess) from Wikipedia]
 * [|Discovered attack from Wikipedia]
 * [|Top 10 chess: Tactical Motif I: Double Attack]
 * [|The Double Attack] from [|Ward Farnsworth's Predator at the Chessboard]
 * [|Middle game - Double attacks] by Mark Weeks

=References= =What links here?= include page="Double Attack" component="backlinks" limit="60"
 * Up one Level**