Hello,
I'm currently in the process of implementing comments generator for some
chess moves during auto engine analysis. I am stuck at the method of
determining if the sacrifice has been performed. Now I'm having this:
1. If last move is a capture and the captured piece is a pawn.
2. Get the primary analysis line of the engine.
3. Make next moves of the analysis line if it is a capture on a
previously recorded capture place of a pawn or the side whose piece was
captured. If this doesn't hold then the loop breaks goto 4.
4. If there is significant material imbalance then it is assumed it is a
sacrifice.
This method only finds sacrifices starting with a pawn capture. Are
there any ideas how to implement capture recognition system? Maybe
there're any other ideas regarding auto moves comments analysis?
Bodia