Made castling behavior right.

As I understood, have made change to remove bug with castling.
This commit is contained in:
ecobabush 2017-08-16 13:40:41 +03:00 committed by GitHub
parent 895fc8e254
commit b9b3284205

View file

@ -111,8 +111,8 @@
},
castle: {
"2/0": {k:[1],r:[1],n:"O-O"},
"22/20": {k:[21],r:[21],n:"O-O"},
"2/0": {k:[1],r:[1,2],n:"O-O"},
"22/20": {k:[21],r:[21,22],n:"O-O"},
},
evaluate: function(aGame,evalValues,material) {
@ -186,4 +186,4 @@
};
}
})();
})();