Expand description
§Chess positions
Any Position is determined by:
- the location of pieces on the
Board - parameters for the next turn (these are not visible from the board itself)
- counter for “reversible” turns since last “non-reversible” (aka pawn moves + captures)
Move, aka “halfmoves” - counter of full rounds, aka “fullmoves”
Compared to shakmaty our position is a concrete struct
Re-exports§
Modules§
Structs§
- Castles
- Move
- Move that a player can make.
- Parts
- The raw parts from which a position can be constructed.
- Position
- Chess position, including the board, turn, rights, and counters.
- Sides
Enums§
- EnPassant
- A square that can hold an en-passant target.
- Error
- Kind
- What kind of move is it?
- Side
- A side of the board to castle toward.
- Special