Private
castleThe move in standard algebraic notation.
A list of MoveAction
s to perform on the board.
Private
checkChecks if performing the move would result in the king being in check.
The move to be checked.
The moving player.
King would be in check true/false
Private
findSearch the current position for a piece that could perform the move.
Row number (0-7) of the square the piece should move to.
Column number (0-7) of the square the piece should move to.
If value is passed, only pieces in that row are checked.
If value is passed, only pieces in that column are checked.
Type of piece that is looked for.
The moving player
The move which will fulfill all criteria.
Private
parsePrivate
pawnPrivate
pieceMain function for parsing a read-in PGN game. In here the moves are transformed from algebraic notation
to a list of different Actions like MoveAction
or CaptureAction
. This parsed data is the passed
into the Trackers for generating the stats.
A game read-in by the GameProcessor class.
Trackers into which the parsed data should be passed.
Static
Private
preprocessGenerated using TypeDoc
Parses a castle move ('O-O' or 'O-O-O') from algebraic notation to a list of
MoveAction
s.