Open pask2 opened 3 years ago
Allowing castling through check in studies would require coding another variant just for allowing castling through check, and I have astronomical doubts that anyone wants to code and maintain this just so people can make illegal moves. As far as analyzing your game in a study goes, you can just have one chapter that goes up to the illegal move, and then start another chapter at the fen after the illegal move and go from there.
As far as analyzing your game in a study goes, you can just have one chapter that goes up to the illegal move, and then start another chapter at the fen after the illegal move and go from there.
This is what I did, but I wanted to analyze the entire game with Stockfish, which is why I created this issue. I realize all this is a bit self-contradictory though, and I understand if solving it isn't possible.
I recently played a casual OTB game where I made an illegal move (castling through check) that neither I nor my opponent noticed until I tried to put the PGN into a study to analyze it with Stockfish. Since I can't make an illegal move in a study, it would be very helpful if they were allowed (of course automatically annotated to show that they're illegal). Not sure how this would work with the engine, I fear Stockfish will crash if you feed it an illegal position.