Fix typo, continue writing Synochsss rules
authorBenjamin Auder <benjamin.auder@somewhere>
Thu, 24 Dec 2020 21:50:38 +0000 (22:50 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Thu, 24 Dec 2020 21:50:38 +0000 (22:50 +0100)
client/package-lock.json
client/src/translations/rules/Bicolour/en.pug
client/src/translations/rules/Empire/es.pug
client/src/translations/rules/Empire/fr.pug
client/src/translations/rules/Synochess/en.pug
client/src/translations/rules/Synochess/fr.pug
server/package-lock.json

index 355a62e..c6652ec 100644 (file)
           }
         },
         "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": {
index 30c63bf..7761a24 100644 (file)
@@ -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.
index 9dcf474..641d7dc 100644 (file)
@@ -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
index fcac58d..d38078f 100644 (file)
@@ -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
index c95f0a7..0f789cd 100644 (file)
@@ -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 &mdash; 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 &mdash; 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 &mdash; A king that reaches the final rank (without moving
-    into check) wins the game.
+    soldier onto an open square in rank 5.
+  li Campmate &mdash; A king that reaches the final rank wins the game.
   li.
     Stalemate &mdash; 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)
   &mdash; 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) &mdash; The Soldiers can move one square orthogonally forward,
+    or lateraly.
+  li Advisor (A) &mdash; The Advisor moves and captures exactly like a king.
+  li.
+    Cannon (C) &mdash; 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) &mdash; 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
+  | &nbsp;on pychess-variants, where you can also play this variant.
index 21203ba..63b1be1 100644 (file)
@@ -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 &mdash; Comme au Xiangqi, les Rois ne peuvent pas se
+    faire face (sur une colonne ou rangée).
+  li.
+    Soldats en renfort &mdash; 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" &mdash; Si le roi atteint la dernière rangée, alors
+    la partie est gagnée.
+  li Pat &mdash; 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 &mdash;
+  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 ...
index 767c235..79ed253 100644 (file)
       "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",