X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FDoublearmy.js;h=8a6c806fa3f1308af80c1e6f14eb767ead83ecba;hb=9aeba28ad5f7417aaae64b3a863a7dde388dffe5;hp=0fafe96fbf760f3382fb87913ee74df2a48daaee;hpb=de3f56254c410a7c245a50053b7c905233b58115;p=vchess.git diff --git a/client/src/variants/Doublearmy.js b/client/src/variants/Doublearmy.js index 0fafe96f..8a6c806f 100644 --- a/client/src/variants/Doublearmy.js +++ b/client/src/variants/Doublearmy.js @@ -3,9 +3,10 @@ import { ChessRules } from "@/base_rules"; // Ideas with 2 kings: // Stage 1 {w, b} : 2 kings on board, value 5. // Stage 2: only one, get mated and all that, value 1000 -// ...But the middle king will get captured quickly... +// ...But the middle king will be captured quickly... export class DoublearmyRules extends ChessRules { + static get COMMONER() { return "c"; } @@ -78,4 +79,5 @@ export class DoublearmyRules extends ChessRules { static get SEARCH_DEPTH() { return 2; } + };