📝H. G. Muller wrote on Wed, Aug 9, 2017 02:09 PM UTC:
Well, I don't understand Zillions coding. But do you mean 'legally' as 'also not leaving the player in check'? I.e. would player A be allowed to move his virgin King from f1 to d1 if e1 was attacked by a Rook of player B that was pinned on the King of player B?
For orthodox Chess being in check is defined in terms of pseudo-legal moves, and 'not passing through check' would also forbid castling when a pinned piece attacks the square through which the King passes, and thus does not have a legal move to that square.
Capturing your own pieces is not even pseudo-legal, however, so I guess it is would never be a problem to jump over an enemy piece.
Well, I don't understand Zillions coding. But do you mean 'legally' as 'also not leaving the player in check'? I.e. would player A be allowed to move his virgin King from f1 to d1 if e1 was attacked by a Rook of player B that was pinned on the King of player B?
For orthodox Chess being in check is defined in terms of pseudo-legal moves, and 'not passing through check' would also forbid castling when a pinned piece attacks the square through which the King passes, and thus does not have a legal move to that square.
Capturing your own pieces is not even pseudo-legal, however, so I guess it is would never be a problem to jump over an enemy piece.