ladybird/Libraries/LibChess
AnicJov fe1628746c Chess: Add ability to export game as PGN file
This patch adds an option to the menubar for exporting the current
game as a PGN file. This file can then be read by other chess
programs (and ours eventually) to replay the game or analyze it.
The implementation is mostly PGN spec compliant, however the code
could use some more work. Particularly the `const_cast`s...
But it's a start. :^)

Fixup: Chess: Fixed hard-coded home path in unveil() call

Fixup: Chess: Removed castling flags from Move struct

The castling detection logic is done inside Move::to_algebraic()
now, removing the need for is_castle_short and is_castle_long flags
inside of the Move struct.
2020-12-06 15:51:34 +01:00
..
Chess.cpp Chess: Add ability to export game as PGN file 2020-12-06 15:51:34 +01:00
Chess.h Chess: Add ability to export game as PGN file 2020-12-06 15:51:34 +01:00
CMakeLists.txt LibChess: Add UCIEndpoint for writing UCI chess engines 2020-08-21 12:26:30 +02:00
UCICommand.cpp LibChess: Use new format functions. 2020-10-17 23:20:31 +02:00
UCICommand.h LibChess: Add UCIEndpoint for writing UCI chess engines 2020-08-21 12:26:30 +02:00
UCIEndpoint.cpp LibChess: Use new format functions. 2020-10-17 23:20:31 +02:00
UCIEndpoint.h LibChess: Add UCIEndpoint for writing UCI chess engines 2020-08-21 12:26:30 +02:00