Implemented game serialization to the PGN format #16

Merged
CyB3RC0nN0R merged 9 commits from f/pgn_save into master 2019-12-11 07:53:46 +01:00

9 Commits

Author SHA1 Message Date
d0cfa4c1ff Fixed setter parameter naming for fullmove number in Log 2019-12-11 07:53:44 +01:00
3e5d584e6f Fixed missing end of line chunk in movetext 2019-12-11 07:45:39 +01:00
1fd1540d60 Fixed fullmove counters in PGN export 2019-12-10 21:27:06 +01:00
546b818345 Including fullmove counters in PGN export 2019-12-08 22:15:29 +01:00
719e4f99ef Implemented saving to PGN file
+ copyVariations parameter in copy constructors of Board and Log

This procedure still required work in the form of efficiently rewinding
the board to the first position for SAN move extraction and shortening
SAN moves to the smallest possible representation.
2019-12-06 23:54:11 +01:00
927d5ed254 Working on SAN serialization of moves
+ SAN generation for castling moves
+ Appending promotion piece symbol in pawn promotion SAN

+ Asking the user to view a generated PGN file
2019-11-24 21:31:32 +01:00
21199dede5 Created Move#fromSAN, moved implementation from Board 2019-11-19 06:30:53 +01:00
cf5b507f00 Added a PGN file saving routine
+ showFileSaveDialog in DialogUtil
+ Javadoc in Log and PGNDatabase
+ "Save game file" button in MenuBar
+ saveFile method in MainWindow
+ Formatting and result tag in PGNGame tag pair serialization
2019-11-08 15:22:12 +01:00
12f6f7f0ef Added empty save methods to PGNDatabase and PGNGame 2019-11-07 05:53:28 +01:00