This program uses normal chess notations except instead of using e4, use Pe4. For mating purposes just appending with '+' will do the job ie. Qe5+ instead of Qe5#. It detects the move pattern as Piece-origin(optional)-destination
This project was my first attempt at building chess. I failed at it miserably. So, I was trying to modify the code in a way that satisfied the new demands but made the code difficult to read and understand. Blocks were used very badly. Also, there were design flaws. I rebuilt the project from scratch which is called rewrite-chess