chess:programming:polyglot_book_format:enpassant
Differences
This shows you the differences between two versions of the page.
chess:programming:polyglot_book_format:enpassant [2022/01/11 13:57] – created peter | chess:programming:polyglot_book_format:enpassant [2022/01/11 14:02] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Chess - Programming - Polyglot Book Format - Enpassant ====== | ====== Chess - Programming - Polyglot Book Format - Enpassant ====== | ||
- | **Enpassant** is part of the key. | + | **Enpassant** is part of the [[Chess: |
- | If the opponent has performed a double pawn push and there is now a pawn next to it belonging to the player to move then " | + | It is the exclusive or of entries |
- | If this does not apply then enpassant=0. | + | * The offset is the file of the double-pushed pawn resulting in enpassant |
- | **NOTE: | + | <WRAP info> |
+ | **NOTE: | ||
+ | |||
+ | This is different from the FEN standard. | ||
* In the FEN standard the presence of an " | * In the FEN standard the presence of an " | ||
+ | * It is irrelevant if the potential enpassant capturing move is legal or not. | ||
+ | * Examples where it would not be legal are when the capturing pawn is pinned or when the double pawn push was a discovered check. | ||
- | Also note that it is irrelevant if the potential en passant capturing move is legal or not (examples where it would not be legal are when the capturing pawn is pinned or when the double pawn push was a discovered check). | + | </ |
chess/programming/polyglot_book_format/enpassant.1641909469.txt.gz · Last modified: 2022/01/11 13:57 by peter