d694ce81ed
When Stockfish detects a forced mate, it sets the mate field and resets the score to 0. The previous code was showing '0 cp' which was misleading. Changes: - Format evaluation strings to show 'Mate in X' when mate is detected - Only show delta (centipawn change) when neither position has a mate - Update eval instruction to specifically mention mate situations - Add explanation of mate notation in the prompt Example output now: - Pre-Eval: -326 cp - Post-Eval: Mate in 3 (instead of showing '0 cp' which was confusing)