all_possibilities {chess2plyrs} | R Documentation |
all_possibilities
Description
finds all legal moves for the player moving, and all the squares under attack from the opponent pieces.
Usage
all_possibilities(game)
Arguments
game |
chess game object (i.e., a list with elements board, turn, history, and fen_history as created by newgame function) |
Value
all chess possibilities
[Package chess2plyrs version 0.3.0 Index]