Description Usage Arguments Value
A game is a tree with nodes, where each node represents the board after a move and each branch represents a variation of the game (not to be confused with a variant of chess). This tree mirrors the PGN of the game.
To explore a game, an object of this class supports print(), plot(),
str(), fen(), pgn() and more.
1 |
headers |
A named list like |
fen |
FEN representing the starting position of the board |
A game root node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.