Made castling behavior right.
As I understood, have made change to remove bug with castling.
This commit is contained in:
parent
895fc8e254
commit
b9b3284205
|
@ -111,8 +111,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
castle: {
|
castle: {
|
||||||
"2/0": {k:[1],r:[1],n:"O-O"},
|
"2/0": {k:[1],r:[1,2],n:"O-O"},
|
||||||
"22/20": {k:[21],r:[21],n:"O-O"},
|
"22/20": {k:[21],r:[21,22],n:"O-O"},
|
||||||
},
|
},
|
||||||
|
|
||||||
evaluate: function(aGame,evalValues,material) {
|
evaluate: function(aGame,evalValues,material) {
|
||||||
|
@ -186,4 +186,4 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue