projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix issues with preset challenges
[vchess.git]
/
client
/
src
/
variants
/
Grasshopper.js
diff --git
a/client/src/variants/Grasshopper.js
b/client/src/variants/Grasshopper.js
index
a991035
..
416f632
100644
(file)
--- a/
client/src/variants/Grasshopper.js
+++ b/
client/src/variants/Grasshopper.js
@@
-133,6
+133,10
@@
export const VariantRules = class GrasshopperRules extends ChessRules {
);
}
);
}
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
+
static GenRandInitFen(randomness) {
return ChessRules.GenRandInitFen(randomness)
.replace("w 0 1111 -", "w 0 1111")
static GenRandInitFen(randomness) {
return ChessRules.GenRandInitFen(randomness)
.replace("w 0 1111 -", "w 0 1111")