#chess #file-format #player #writer #com #variant #pgn

pgn4

A parser and writer for the pgn4 file format used by Chess.com for 4 player chess games

6 releases

0.3.3 May 16, 2021
0.3.2 Apr 10, 2021
0.3.0 Feb 27, 2021
0.2.0 Dec 28, 2020
0.1.0 Oct 18, 2020

#2351 in Parser implementations

MIT license

57KB
1.5K SLoC

pgn4

A rust library that parses PGN4 files.

PGN4 is an extension of the PGN format for 4 player chess. It is used by Chess.com uses the format to store the 4 player chess games stored on the site. Because the format accommodates many types of variants of 4 player chess the format has a bunch on complexities to correctly parsing any valid game.

The format parsed into is likely more complex than any tool will want to directly handle, but it captures all of the information in the PGN4 file.

Dependencies

~0.4–0.9MB
~20K SLoC