// King is treated differently: it never turn checkered
if (this.getPiece(x, y) == V.KING) {
// If at least one checkered piece, allow switching:
// King is treated differently: it never turn checkered
if (this.getPiece(x, y) == V.KING) {
// If at least one checkered piece, allow switching: