CIF - Game Info - Game Flags
An element nullMove, invalidMove, illegalMove, handicapCastling, or mirroredCastling exists if and only if the main line of the move section contains a move which is null, invalid, illegal, a handicap castling, or a mirrored casting, respectively. About the meaning of these attributes:
The game flag annotated should be set if and only if the game contains any annotation.
The game flag recursive should be set if and only if the game contains any sub-variation.
-
nullMove: A null move acts as a placeholder for an expected move that is not played. Only the color of the side to move is switching. Note that a null move is also tagged as an illegal move if the king of the side to move is in check.
-
invalidMove: A move is invalid if it does not fit the standard chess rules, but only if not one of the following conditions holds:
- It is counted as an illegal move.
- It is counted as a handicap castling (see handicapCastling)
- It is counted as a mirrored castling (see mirroredCastling)
Example: Moving a knight from b1 to b3 is an invalid move. (This may happen in children's chess games. Database application Scidb is supporting children's chess.).
-
illegalMove: A move is illegal if:
- After the move the king of the side not to move is in check.
- The castling is illegal because the king is in check, or is moving over an attacked square, or does not have this castling right.
Note that an illegal move will not be tagged as invalid.
-
handicapCastling: A handicap castling is a castling without an associated rook, and this can only happen in handicap games.
Example: White has given the rook on a1 as a handicap, but the opponents agreed that the castling on the queenside is still allowed even without the rook on a1.
Note that a handicap castling will not be tagged as invalid or illegal.
-
mirroredCastling: A mirrored castling can happen in wild/0 and wild/1 variants (FICS). A castling is mirrored, if the king is on the d file, and is castling by moving two steps towards the rook.
Note that a mirrored castling will not be tagged as invalid or illegal.
-
custom: This will be especially used by application Scid for the storage of user defined flags.