PGN Reader is a user-friendly and efficient application that allows you to read .pgn files smoothly through a terminal. The application is incredibly fast and lightweight, which means it can work on almost any device or system. It supports Chess 960 and can handle variations, comments, and annotations with clean and readable formatting. PGN Reader provides a simple way to access all the necessary information from your .pgn files.
PGN reader consists of:
- README.md > File explaning everything about the application
- LICENSE > License under which the program must be used
- EXAMPLE.png > Screenshot of a terminal while viewing a game in PGN Reader
- example.pgn > Annotated PGN file containing The Game Of The Century
- src > Directory with source code of the application
Using and compiling PGN Reader is as easy as it gets. Download the entire project and then compile the source code.
NOTE: you have to compile all .c files, not only main.c
gcc -o pgn-reader ./src/*.c
After the program is compiled, view .pgn file as follows
<executable> <path to .pgn file>
./pgn-reader ./example.pgn
A: It's a file extension specifically used for saving chess games. More information on wikipedia
A: The quickest way is to use lichess and import a game to their site (you can get a computer analysis for free too). Then, in an analysis tab, you can export your game as a .pgn
.
A: If ever an alien civilization destroys all network infrastructure and asks you to present them The Game of the Century within a few milliseconds, or otherwise they will destroy everything you know and love, only then will your gratitude be immeasurable.