Get information about the current board given a move

gives_check(game, move, notation = c("san", "uci", "xboard"))

is_en_passant(game, move, notation = c("san", "uci", "xboard"))

is_capture(game, move, notation = c("san", "uci", "xboard"))

is_zeroing(game, move, notation = c("san", "uci", "xboard"))

is_irreversible(game, move, notation = c("san", "uci", "xboard"))

is_castling(game, move, notation = c("san", "uci", "xboard"))

is_kingside_castling(game, move, notation = c("san", "uci", "xboard"))

is_queenside_castling(game, move, notation = c("san", "uci", "xboard"))

Arguments

game

A game node

move

Move to consider

notation

Notation used for move

Value

A boolean