1 //https://www.chessvariants.com/diffmove.dir/switching.html
2 class SwitchingRules
extends ChessRules
5 // Move completion: promote switched pawns (as in Magnetic)
7 // To every piece potential moves: add switchings
9 // Prevent king switching if under check