Target Square

From Chessprogramming wiki
Jump to: navigation, search

Home * Chess * Squares * Target Square

The Target Square of a move, also called to- or destination square, is the square occupied by the moving piece after making the move. If the target square was occupied by an opponent piece in case of a capture, the opponent piece is removed from the board as part of the completion of the move. In piece wise move generation, move origins are subject of an outer loop over all pieces, while the target squares are subject of an inner loop, after attack and move target generation. Direction-wise move generation traverses target squares per direction and generally requires more effort to determine the from-squares.

Forum Posts

See also

Up one Level