From: Benjamin Auder Date: Thu, 26 Mar 2020 11:45:35 +0000 (+0100) Subject: Fix Yurt movements in Orda chess X-Git-Url: https://git.auder.net/js/css/%7B%7B%20path%28%27mixstore_static_about%27%29%20%7D%7D?a=commitdiff_plain;h=79e05a1ac8a396aa3655b195998ef1f07cdba68e;p=vchess.git Fix Yurt movements in Orda chess --- diff --git a/client/src/translations/rules/Orda/en.pug b/client/src/translations/rules/Orda/en.pug index 9539645c..2f63d041 100644 --- a/client/src/translations/rules/Orda/en.pug +++ b/client/src/translations/rules/Orda/en.pug @@ -256,7 +256,7 @@ p. The game is still young, so strategy is still being developed! Much of the data is currently based on Engine play. The Horde cannot castle. However, a very fundamental component of a - majority Horde openings is to move the Khan to f7. + majority Horde openings is to move the Khan to g7. Reaching this spot in within the first four moves is ideal — in fact, Fairy Stockfish opened up with Kf7 in 56% of its games. The rest is variable. diff --git a/client/src/translations/rules/Orda/es.pug b/client/src/translations/rules/Orda/es.pug index 4c684a6f..7f5ab78a 100644 --- a/client/src/translations/rules/Orda/es.pug +++ b/client/src/translations/rules/Orda/es.pug @@ -256,7 +256,7 @@ h3 Estrategia p. La variante aún es joven, por lo que la estrategia aún no se ha escrito. Gran parte de los datos actuales provienen de partes de la computadora. - La Horda no puede enrocarse, pero observamos que colocar el khan en f7 + La Horda no puede enrocarse, pero observamos que colocar el khan en g7 en los primeros cuatro movimientos asegura igualmente al rey. De hecho, Fairy Stockfish comienza con esta jugada en el 56% de los casos. El resto es variable. diff --git a/client/src/translations/rules/Orda/fr.pug b/client/src/translations/rules/Orda/fr.pug index 211fa71e..a39264be 100644 --- a/client/src/translations/rules/Orda/fr.pug +++ b/client/src/translations/rules/Orda/fr.pug @@ -258,7 +258,7 @@ h3 Stratégie p. La variante est encore jeune, donc la stratégie reste à écrire ! Beaucoup des données actuelles proviennent de parties de l'ordinateur. - La Horde ne peut pas roquer, mais on observe que placer le khan en f7 + La Horde ne peut pas roquer, mais on observe que placer le khan en g7 dans les quatre premiers coups met le roi en sécurité de manière similaire. En fait, Fairy Stockfish commence par ce coup dans 56% des cas. Le reste est variable. diff --git a/client/src/variants/Orda.js b/client/src/variants/Orda.js index 4d911f40..f1bfc911 100644 --- a/client/src/variants/Orda.js +++ b/client/src/variants/Orda.js @@ -212,8 +212,8 @@ export class OrdaRules extends ChessRules { getPotentialYurtMoves(sq) { return this.getSlideNJumpMoves( sq, - V.steps[V.BISHOP].concat([1, 0]), - "oneSTep" + V.steps[V.BISHOP].concat([ [1, 0] ]), + "oneStep" ); } @@ -268,7 +268,7 @@ export class OrdaRules extends ChessRules { sq, color, V.YURT, - V.steps[V.BISHOP].concat([1, 0]), + V.steps[V.BISHOP].concat([ [1, 0] ]), "oneStep" ); }