X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=public%2Fjavascripts%2Fvariants%2FMarseille.js;h=2eb42606756a4256fb80f33ec5e4698f0eee426c;hp=5f780952fb182f8a7c0b2984cac315335db1be3c;hb=0596f5e7f9a87acbb13445f1bb93e803e9f5ea3c;hpb=c326e657d451c90220edbaa6f09fcb991350524c diff --git a/public/javascripts/variants/Marseille.js b/public/javascripts/variants/Marseille.js index 5f780952..2eb42606 100644 --- a/public/javascripts/variants/Marseille.js +++ b/public/javascripts/variants/Marseille.js @@ -217,6 +217,18 @@ class MarseilleRules extends ChessRules // NOTE: GenRandInitFen() is OK, // since at first move turn indicator is just "w" + static get VALUES() + { + return { + 'p': 1, + 'r': 5, + 'n': 3, + 'b': 3, + 'q': 7, //slightly less than in orthodox game + 'k': 1000 + }; + } + // No alpha-beta here, just adapted min-max at depth 2(+1) getComputerMove() {