res = true;
// If opponent king disappeared, move is valid
else if (this.kingPos[oppCol][0] < 0)
res = false;
// Otherwise, if we remain under check, move is not valid
else
res = true;
// If opponent king disappeared, move is valid
else if (this.kingPos[oppCol][0] < 0)
res = false;
// Otherwise, if we remain under check, move is not valid
else