projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hopefully Eightpieces is less buggish now
[vchess.git]
/
client
/
src
/
variants
/
Knightrelay.js
diff --git
a/client/src/variants/Knightrelay.js
b/client/src/variants/Knightrelay.js
index
de1e89a
..
43aef74
100644
(file)
--- a/
client/src/variants/Knightrelay.js
+++ b/
client/src/variants/Knightrelay.js
@@
-88,6
+88,10
@@
export const VariantRules = class KnightrelayRules extends ChessRules {
};
}
};
}
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
+
getNotation(move) {
if (move.appear.length == 2 && move.appear[0].p == V.KING)
// Castle
getNotation(move) {
if (move.appear.length == 2 && move.appear[0].p == V.KING)
// Castle