Geschrieben von: / Posted by: Eli Bendersky at 24 February 2004 13:12:21:
For my chess program, I'm now considering various move notations. I'd like to keep a list of FENs with moves in a file, to test my move generation.
The best move notation for a program to understand is definitely coordinate:
e2-e4, a2-b3 (capture), a7-a8=Q (promotion), that's about it.
However, I'm concerned about the completeness of this representation. For instance, given a board and the last move in coordinate notation, is it possible to reproduce the previous board (i.e. Undo Move ?) I think not, because a pawn capture can be enpassant or not enpassant, it's not possible to know from coordinate notation. Is this right ?
Thanks
Eli