From: Benjamin Auder Date: Thu, 24 Dec 2020 21:50:38 +0000 (+0100) Subject: Fix typo, continue writing Synochsss rules X-Git-Url: https://git.auder.net/variants/img/pieces/scripts/doc/html/index.css?a=commitdiff_plain;h=d35c037e3c769223fbb8455000fa642530e469aa;p=vchess.git Fix typo, continue writing Synochsss rules --- diff --git a/client/package-lock.json b/client/package-lock.json index 355a62e0..c6652ec0 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -897,9 +897,9 @@ } }, "vue-loader-v16": { - "version": "npm:vue-loader@16.1.1", - "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.1.1.tgz", - "integrity": "sha512-wz/+HFg/3SBayHWAlZXARcnDTl3VOChrfW9YnxvAweiuyKX/7IGx1ad/4yJHmwhgWlOVYMAbTiI7GV8G33PfGQ==", + "version": "npm:vue-loader@16.1.2", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.1.2.tgz", + "integrity": "sha512-8QTxh+Fd+HB6fiL52iEVLKqE9N1JSlMXLR92Ijm6g8PZrwIxckgpqjPDWRP5TWxdiPaHR+alUWsnu1ShQOwt+Q==", "dev": true, "optional": true, "requires": { diff --git a/client/src/translations/rules/Bicolour/en.pug b/client/src/translations/rules/Bicolour/en.pug index 30c63bf4..7761a24e 100644 --- a/client/src/translations/rules/Bicolour/en.pug +++ b/client/src/translations/rules/Bicolour/en.pug @@ -1,7 +1,7 @@ p.boxed. Kings are subject to check and checkmate by own as well as opponent's pieces. -p +p. Kings are attacked by all pieces, and can capture any piece. For example, on the following diagram the king can escape check by capturing a rook. diff --git a/client/src/translations/rules/Empire/es.pug b/client/src/translations/rules/Empire/es.pug index 9dcf474d..641d7dca 100644 --- a/client/src/translations/rules/Empire/es.pug +++ b/client/src/translations/rules/Empire/es.pug @@ -7,7 +7,7 @@ figure figcaption.text-center Posición inicial determinista. p. - Imperial Chess es una variante desarrollada en 2020 por Couch Tomato, + Ajedrez del Imperio es una variante desarrollada en 2020 por Couch Tomato, el tercer juego asimétrico. Esta variante presenta el ejército de "Imperio" (oro) contra el ejército inicial habitual ("Reino", negro). Las piezas del imperio generalmente se mueven como damas, pero diff --git a/client/src/translations/rules/Empire/fr.pug b/client/src/translations/rules/Empire/fr.pug index fcac58da..d38078f2 100644 --- a/client/src/translations/rules/Empire/fr.pug +++ b/client/src/translations/rules/Empire/fr.pug @@ -7,7 +7,7 @@ figure figcaption.text-center Position initiale déterministe. p. - Les Échecs Impériaux sont une variante élaborée en 2020 par Couch Tomato, + Les Échecs de l'Empire sont une variante élaborée en 2020 par Couch Tomato, le troisième jeu asymétrique. Cette variante met en scène l'armée de "l'Empire" (or) contre l'armée initiale usuelle (le "Royaume", noir). Les pièces de l'Empire se déplacent en général comme des dames mais diff --git a/client/src/translations/rules/Synochess/en.pug b/client/src/translations/rules/Synochess/en.pug index c95f0a7c..0f789cd0 100644 --- a/client/src/translations/rules/Synochess/en.pug +++ b/client/src/translations/rules/Synochess/en.pug @@ -2,41 +2,40 @@ p.boxed | The player in second has a different set of pieces, | mostly coming from Chinese and Korean chess. +figure.diagram-container + .diagram + | fen:rneakenr/8/1c4c1/1ss2ss1/8/8/PPPPPPPP/RNBQKBNR: + figcaption Initial deterministic setup. + p. - Synochess is a chess variant designed in 2020 by Couch Tomato. - The idea of the game was to create a variant where the western chess army - can fight against the xiangqi or Chinese chess army in a fair manner. - In this game, the white army represents the western chess side and is - called the Kingdom, while the black army represents an amalgamation of - xiangqi and janggi (Korean chess) and is called the Dynasty. + Synochess is a variant designed in 2020 by Couch Tomato. + The idea is to permit the western chess army (white) to fight + against the xiangqi or Chinese chess army (black) in a fair manner. + The white army is called the Kingdom, while the black army represents + an amalgamation of xiangqi and janggi (Korean chess) + and is called the Dynasty. p. The name Synochess is based off an earlier name, Sinochess, but it was changed as the Dynasty became less "Sino" (as in Chinese) and more a - mixture of Chinese and Korean. Instead, the prefix syn- means together, - and the game represents two different historic branches of chess coming - together into one. + mixture of Chinese and Korean. Instead, the prefix syn- means together. ul li The Kingdom (white) always moves first. li The Dynasty (black) cannot castle. - li. - Kingdom pawns can only promote to their own pieces (queen, rook, knight, - bishop). Dynasty soldiers do not promote. + li Dynasty soldiers do not promote (on last rank). h3 Special Rules ul li. King Faceoff — As in Xiangqi, Kings may not face each other - (on a file or rank) without intervening pieces. + (on a file or rank). li. Reinforcement Soldiers — Black starts with two soldiers in hand. Instead of moving a piece on the board, the Dynasty player can drop a - soldier onto an open square in rank 5 (Dynasty's 4th rank). - li. - Campmate — A king that reaches the final rank (without moving - into check) wins the game. + soldier onto an open square in rank 5. + li Campmate — A king that reaches the final rank wins the game. li. Stalemate — As in Xiangqi, stalemates and moves repetitions are a loss. @@ -44,16 +43,77 @@ ul h3 Dynasty Pieces p. - There are four new units unique to the Dynasty: 6 Soldiers (2 start in + Four new units on the Dynasty side: 6 Soldiers (2 start in hand), 2 Cannons, 2 Elephants, and 1 Advisor. p. The Chariots are equal to the Rooks and use the same abbreviation (R) — the difference is purely cosmetic. Similarly, the Kings are the same, but just appear different. -p. - Details and diagrams of each piece are below.   +ul + li. + Soldier (S) — The Soldiers can move one square orthogonally forward, + or lateraly. + li Advisor (A) — The Advisor moves and captures exactly like a king. + li. + Cannon (C) — The Cannon moves like a rook, but needs an + intervening piece in-between to achieve a capture. + It cannot hop over another cannon, however. + li. + Elephant (E) — The Elephant is a leaping piece that moves + diagonally one or two spaces. + +figure.diagram-container + .diagram.diag12 + | fen:8/6P1/5P2/4e3/3P1p2/8/8/8 c3,c7,d4,d6,g3,f6,g7: + .diagram.diag22 + | fen:3B4/3P4/8/1P1c1p1P/8/3c4/8/3N4 d8,d6,c5,e5,h5,d4: + figcaption Elephant & Cannon movements. + +h3 Piece valuation + +p The following simplified values are used by the basic bot: + +table + tr + th Kingdom piece + th Value + th Dynasty piece + th Value + tr + td Pawn + td 1 + td Soldier + td 2 + tr + td Queen + td 9 + td Elephant + td 2.75 + tr + td Bishop + td 3 + td Advisor + td 2.75 + tr + td Knight + td 3 + td Cannon + td 3 + tr + td Rook + td 5 + td Knight + td 3 + tr + td - + td - + td Chariot + td 5 -p TODO: continue +h3 More information -p https://www.pychess.org/variant/synochess +p + | See + a(href="https://www.pychess.org/variant/synochess") Synochess + |  on pychess-variants, where you can also play this variant. diff --git a/client/src/translations/rules/Synochess/fr.pug b/client/src/translations/rules/Synochess/fr.pug index 21203baa..63b1be10 100644 --- a/client/src/translations/rules/Synochess/fr.pug +++ b/client/src/translations/rules/Synochess/fr.pug @@ -1 +1,56 @@ -p.boxed TODO +p.boxed + | Le joueur en second a un jeu de pièces différent, + | provenant essentiellement des échecs chinois et coréens. + +figure.diagram-container + .diagram + | fen:rneakenr/8/1c4c1/1ss2ss1/8/8/PPPPPPPP/RNBQKBNR: + figcaption Position initiale déterministe. + +p. + Synochess est une variante imaginée en 2020 par Couch Tomato. + L'idée est de permettre un duel équilibré entre les armées occidentale + (blancs) et orientales (chinoises et coréennes, noirs). + L'armée blanche est appelée le Royaume, tandis que les pièces noires + proviennent d'un amalgame des échecs chinois et coréen (jangqi), ce camp + étant appelé la Dynastie. + +p. + Le nom Synochess est basé sur un ancien nom, Sinochess, faisant référence + à la Chine (préfixe sino-). Le jeu ayant évolué vers un mélange des échecs + chinois et coréen, le préfixe syn- signifiant "ensemble" est plus adapté. + +ul + li Le Royaume (blancs) commence toujours. + li La Dynastie (noirs) ne peut pas roquer. + li Les soldats de la Dynastie ne sont pas promus (sur la dernière rangée). + +h3 Règles spéciales + +ul + li. + Roi en vis-à-vis — Comme au Xiangqi, les Rois ne peuvent pas se + faire face (sur une colonne ou rangée). + li. + Soldats en renfort — Les noirs démarrent avec deux soldats en main. + Au lieu de jouer un coup, ils peuvent parachuter un soldat sur une case + libre de la 5eme rangée. + li. + "Mat de camp" — Si le roi atteint la dernière rangée, alors + la partie est gagnée. + li Pat — Comme au Xiangqi, le pat et la répétition de coups perdent. + +h3 Pièces de la Dynastie + +p. + Quatre nouvelles pièces du côté de la Dynastie : 6 Soldats (2 seront + parachutés), 2 Canons, 2 Éléphants, et 1 Conseiller. +p. + Les Chariots sont égaux aux tours, et utilisent la même abréviation — + la différence est purement cosmétique. De même, les Rois sont les mêmes + pièces dessinées différemment. + +ul + li. + TODO: continue + li ... diff --git a/server/package-lock.json b/server/package-lock.json index 767c2350..79ed2538 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -2876,9 +2876,9 @@ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "interpret": { "version": "1.2.0",