Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix writing of FEN tag in game header. If start position of the game is from ataxx startpos, then don't write the FEN and SetUp tags in the pgn game headers. * Initialize game headers with the STR or Seven Tag Roster, such as: Event, Site, Date, Round, White, Black and Result. * Initialize date tag value to the current date. Tested to work on windows 7 OS. Example output from ataxx startpos. [Event "?"] [Site "?"] [Date "2019.10.25"] [Round "-"] [White "?"] [Black "?"] [Result "1-0"] 1. a6 a1c3 2. b7 c3c5 3. b6 g7e5 4. d4 1-0 Example output from non ataxx startpos. [Event "?"] [Site "?"] [Date "2019.10.25"] [Round "-"] [White "?"] [Black "?"] [Result "1-0"] [FEN "7/x6/2x2o1/7/1o5/7/6x x 3"] [SetUp "1"] 1. b4 f5d4 2. c4 1-0
- Loading branch information