return moves;
}
- underCheck(move)
+ underCheck(color)
{
return false; //No notion of check
}
return [];
}
- // No variables update because no castling
+ // No variables update because no royal king + no castling
updateVariables(move) { }
unupdateVariables(move) { }