return false;
}
+ // TODO: IsGoodPosition to check that 2 knights are on the board...
+
getPotentialMovesFrom([x, y]) {
let moves = super.getPotentialMovesFrom([x, y]);
return {
p: 1,
r: 5,
- n: 7, //the knight is valuable
+ n: 0, //the knight isn't captured - value doesn't matter
b: 3,
q: 9,
k: 1000