From: Benjamin Auder Date: Wed, 20 May 2020 08:52:02 +0000 (+0200) Subject: Fix Ordamirror (typo in name) X-Git-Url: https://git.auder.net/variants/current/doc/scripts/pieces/img/%24%7BgetWhatsApp%28link%29%7D?a=commitdiff_plain;h=f0d7f75fad99b004400490b5fccf20d410cd56e4;p=vchess.git Fix Ordamirror (typo in name) --- diff --git a/client/public/variants/Orda/Falcon.png b/client/public/variants/Orda/Falcon.png new file mode 100644 index 00000000..3f357c38 --- /dev/null +++ b/client/public/variants/Orda/Falcon.png @@ -0,0 +1 @@ +#$# git-fat aab13bf0c4b040f73ce43200bfe840038638453a 16375 diff --git a/client/src/translations/rules/Ordamirror/en.pug b/client/src/translations/rules/Ordamirror/en.pug index 62ef1539..9d76458b 100644 --- a/client/src/translations/rules/Ordamirror/en.pug +++ b/client/src/translations/rules/Ordamirror/en.pug @@ -14,8 +14,9 @@ p p The new piece is a falcon, moving like a queen and capturing like a knight. figure.diagram-container - .diagram + .diagram.diag12 | fen:8/1P6/8/3F2p1/3Pp3/2p1p3/8/8 d6,d7,d8,a5,b5,c5,a2,b3,c4,e5,f5,c6,e6,f7,g8,c3,e3: + img.diag22(src="/variants/Orda/Falcon.png") figcaption Movements of the falcon p. diff --git a/client/src/translations/rules/Ordamirror/es.pug b/client/src/translations/rules/Ordamirror/es.pug index 429d5fd3..f459cb06 100644 --- a/client/src/translations/rules/Ordamirror/es.pug +++ b/client/src/translations/rules/Ordamirror/es.pug @@ -18,8 +18,9 @@ p. y captura como un caballo. figure.diagram-container - .diagram + .diagram.diag12 | fen:8/1P6/8/3F2p1/3Pp3/2p1p3/8/8 d6,d7,d8,a5,b5,c5,a2,b3,c4,e5,f5,c6,e6,f7,g8,c3,e3: + img.diag22(src="/variants/Orda/Falcon.png") figcaption Movimientos de halcón p. diff --git a/client/src/translations/rules/Ordamirror/fr.pug b/client/src/translations/rules/Ordamirror/fr.pug index 6763febd..379e5400 100644 --- a/client/src/translations/rules/Ordamirror/fr.pug +++ b/client/src/translations/rules/Ordamirror/fr.pug @@ -18,8 +18,9 @@ p. et capturant comme un cavalier. figure.diagram-container - .diagram + .diagram.diag12 | fen:8/1P6/8/3F2p1/3Pp3/2p1p3/8/8 d6,d7,d8,a5,b5,c5,a2,b3,c4,e5,f5,c6,e6,f7,g8,c3,e3: + img.diag22(src="/variants/Orda/Falcon.png") figcaption Déplacements du faucon p. diff --git a/client/src/variants/Ordamirror.js b/client/src/variants/Ordamirror.js index 290ab23d..d79d8c5f 100644 --- a/client/src/variants/Ordamirror.js +++ b/client/src/variants/Ordamirror.js @@ -3,7 +3,7 @@ import { OrdaRules } from "@/variants/Orda"; import { ArrayFun } from "@/utils/array"; import { randInt } from "@/utils/alea"; -export class DoubleordaRules extends OrdaRules { +export class OrdamirrorRules extends OrdaRules { static get PawnSpecs() { return Object.assign( {},