board_is {chess}R Documentation

Get information about the current board

Description

Get information about the current board

Usage

is_checkmate(game)

is_check(game)

is_game_over(game)

is_stalemate(game)

is_insufficient_material(game)

is_seventyfive_moves(game)

is_fivefold_repetition(game)

is_repetition(game, count = 3)

can_claim_draw(game)

can_claim_fifty_moves(game)

can_claim_threefold_repetition(game)

has_en_passant(game)

Arguments

game

A game node

count

Number of moves to count for repetition

Value

A boolean


[Package chess version 1.0.1 Index]