R语言chess包说明文档(版本 1.0.0)

返回R语言所有包列表

back 回到游戏树,恢复当前分支的最后一步
board_color 获取有关给定颜色的当前板的信息
board_is 获取有关当前板的信息
board_move 获取当前板的移动信息
board_to_string 将线路板转换为unicode或ASCII字符串
can_claim_draw 获取有关当前板的信息
can_claim_fifty_moves 获取有关当前板的信息
can_claim_threefold_repetition 获取有关当前板的信息
fen 董事会代表
forward 在游戏树中前进,从当前分支执行下一步
game 创建新游戏
gives_check 获取当前板的移动信息
glyph_to_nag 将glyph转换为NAG
halfmove_clock 获取自上次捕获或典当移动以来的半步移动数
has_castling_rights 获取有关给定颜色的当前板的信息
has_en_passant 获取有关当前板的信息
has_insufficient_material 获取有关给定颜色的当前板的信息
has_kingside_castling_rights 获取有关给定颜色的当前板的信息
has_queenside_castling_rights 获取有关给定颜色的当前板的信息
install_chess 安装python chess
is_capture 获取当前板的移动信息
is_castling 获取当前板的移动信息
is_check 获取有关当前板的信息
is_checkmate 获取有关当前板的信息
is_en_passant 获取当前板的移动信息
is_fivefold_repetition 获取有关当前板的信息
is_game_over 获取有关当前板的信息
is_insufficient_material 获取有关当前板的信息
is_irreversible 获取当前板的移动信息
is_kingside_castling 获取当前板的移动信息
is_queenside_castling 获取当前板的移动信息
is_repetition 获取有关当前板的信息
is_seventyfive_moves 获取有关当前板的信息
is_stalemate 获取有关当前板的信息
is_zeroing 获取当前板的移动信息
line 下一步的分支游戏
move 移动并创造变化
moves 获取所有可用的合法移动
move_ 移动并创造变化
move_number 获取移动次数
nag 解析移动的数字注释图示符(NAG)
note 获取移动评论
parse_move 在上下文中分析移动
pgn 获取游戏节点的PGN
play 在黑板上移动一块
plot.chess.pgn.GameNode 板的绘图渲染
ply_number 获取层数
print.chess.Board 印刷电路板
print.chess.pgn.GameNode 打印游戏节点
print.chess.pgn.Variations 打印变体列表
read_game 从PGN读取游戏
result 获取游戏结果(如果游戏尚未结束,则使用“*”)
root 获取游戏的根节点
turn 轮到谁了
variation 跟随一个动作的变化,演奏它的第一个动作
variations 获取下一步的所有变体(当前节点的子级)
write_game 将游戏另存为PGN
write_svg 保存一个SVG与渲染板