projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lower search depth for Coregal
[vchess.git]
/
client
/
src
/
variants
/
Coregal.js
diff --git
a/client/src/variants/Coregal.js
b/client/src/variants/Coregal.js
index
1a4a403
..
704ce4c
100644
(file)
--- a/
client/src/variants/Coregal.js
+++ b/
client/src/variants/Coregal.js
@@
-298,6
+298,10
@@
export class CoregalRules extends ChessRules {
// NOTE: do not set queen value to 1000 or so, because there may be several.
+ static get SEARCH_DEPTH() {
+ return 2;
+ }
+
getNotation(move) {
if (move.appear.length == 2) {
// Castle: determine the right notation