projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Experimental news notification system + fix Eightpieces variant
[vchess.git]
/
client
/
src
/
variants
/
Upsidedown.js
diff --git
a/client/src/variants/Upsidedown.js
b/client/src/variants/Upsidedown.js
index
44dab7f
..
10bb83d
100644
(file)
--- a/
client/src/variants/Upsidedown.js
+++ b/
client/src/variants/Upsidedown.js
@@
-21,7
+21,6
@@
export const VariantRules = class UpsidedownRules extends ChessRules {
}
static GenRandInitFen(randomness) {
- if (!randomness) randomness = 2;
if (randomness == 0)
return "RNBQKBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbqkbnr w 0";
@@
-82,4
+81,8
@@
export const VariantRules = class UpsidedownRules extends ChessRules {
" w 0"
); //no castle, no en-passant
}
+
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
};