X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FCoregal.js;h=704ce4c53624f0e0693b4709643ec202853a45db;hb=f82609cd2aea6d5ee880773795278948fbfac666;hp=1a4a4038a031274e6769c528e84136c8a0a25d83;hpb=3f22c2c3939dfd6bd66da26e6d6d9848c6da86d2;p=vchess.git diff --git a/client/src/variants/Coregal.js b/client/src/variants/Coregal.js index 1a4a4038..704ce4c5 100644 --- 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