I am trying to develope a chess program in Perl, which gives me the board position exactly last 'x' moves before the checkmate. The purpose is to create boards to solve in 'x' moves. I tried to use Chess.pm. I think that code has bugs.There are other Chess modules at present but none of them are helpful for the purpose. What alternative I should try?. Are there C libaries which I should make use of?Thanks
Update: Replaced the word check by CheckMate
I am trying to generate the 'chess problems'.
In reply to Chess Moves by artist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |