chess:programming:polyglot_book_format:move
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
chess:programming:polyglot_book_format:move [2022/01/10 14:21] – peter | chess:programming:polyglot_book_format:move [2022/01/11 14:08] (current) – [Castling Moves] peter | ||
---|---|---|---|
Line 21: | Line 21: | ||
A **Promoted Piece** is encoded as follows: | A **Promoted Piece** is encoded as follows: | ||
- | ^Promoted Piece^Value^ | + | ^ Promoted Piece ^ Value ^ |
- | |None|0| | + | | None | 0 | |
- | |Knight|1| | + | | Knight |
- | |Bishop|2| | + | | Bishop |
- | |Rook|3| | + | | Rook | 3 | |
- | |Queen|4| | + | | Queen |
---- | ---- | ||
Line 42: | Line 42: | ||
<WRAP info> | <WRAP info> | ||
**NOTE: | **NOTE: | ||
- | |||
* Therefore a program should verify that a Castle-move was actually valid. | * Therefore a program should verify that a Castle-move was actually valid. | ||
+ | * For example, verify that there is really a king present on e1/e8. | ||
</ | </ |
chess/programming/polyglot_book_format/move.1641824462.txt.gz · Last modified: 2022/01/10 14:21 by peter