board_color {chess}R Documentation

Get information about the current board given a color

Description

Get information about the current board given a color

Usage

has_insufficient_material(game, color)

has_castling_rights(game, color)

has_kingside_castling_rights(game, color)

has_queenside_castling_rights(game, color)

Arguments

game

A game node

color

Color to use (TRUE is White and FALSE is Black)

Value

A boolean


[Package chess version 1.0.1 Index]