I am finding the task to change the Algebraic Notation to be expressed in "Extended" Algebraic Notation (e.g. It lists the first square and the last square. For example e5-e4).
I am working on developing an interface program to read the moves that are happening in the game and then transfer them over to the chess program that I am building. However, I cannot interpret the moves being made.
In the attached image I show the Chess Algebraic Notation. I would like to change that notation to an Extended Notation. For example: Instead of dxe4 to express it in e5-e4
How can I change the "dxe4" to "e5-e4"?