Open ZiyaoWei opened 1 year ago
Hi, it's definitely something to consider.
The existing modules chess.pgn
, chess.polyglot
, chess.gaviota
, chess.syzygy
, chess.engine
, chess.svg
all benefit significantly from sharing types like chess.Move
and chess.Board
. TRF
on the other hand can stand on its own perfectly fine, so I am not sure.
Would the TRF file format be something in scope for python-chess? There is a package for it (https://pypi.org/project/trf/) but it would be nice to have it packaged up in a popular library.
Reference: https://www.fide.com/FIDE/handbook/C04Annex2_TRF16.pdf
In particular, it seems the lichess.org API only supports getting swiss tournament results using this format.