X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=Translations;fp=Translations;h=025513ef74cdb59201683b1efe522dd3303d1bde;hb=1042fd0a36b520695f79326dd6b0d504f67c20ab;hp=0000000000000000000000000000000000000000;hpb=22e01c6df431703183f45aed0c202b2617f3ab56;p=vchess.git diff --git a/Translations b/Translations new file mode 100644 index 00000000..025513ef --- /dev/null +++ b/Translations @@ -0,0 +1,1364 @@ +diff --git a/client/src/translations/es.js b/client/src/translations/es.js +index 98b3da9..0b1830d 100644 +--- a/client/src/translations/es.js ++++ b/client/src/translations/es.js +@@ -114,7 +114,3 @@ export const translations = + "Shared pieces": "Piezas compartidas", + "Standard rules": "Reglas estandar", + }; +- +-// TODO: +-// jugada ou movimiento ? +-// fin de la partida au lieu de final de partida ? +diff --git a/client/src/translations/rules/Atomic/en.pug b/client/src/translations/rules/Atomic/en.pug +index 6c5df20..9a856e4 100644 +--- a/client/src/translations/rules/Atomic/en.pug ++++ b/client/src/translations/rules/Atomic/en.pug +@@ -1,44 +1,44 @@ + p.boxed. +- Each capture results in an "explosion" through which all surrounding +- pieces other than pawns are removed from the board. ++ Each capture results in an "explosion" through which all surrounding ++ pieces other than pawns are removed from the board. +  + p. +- When a piece P captures an opponent figure on some square S, all pieces +- sitting on a square reachable by a king move from S are removed, including P +- itself. +- The pawns, however, remain: they have to be taken directly to disappear. ++ When a piece P captures an opponent figure on some square S, all pieces ++ sitting on a square reachable by a king move from S are removed, including P ++ itself. ++ The pawns, however, remain: they have to be taken directly to disappear. +  + p. +- Suicide is forbidden. Thus a king can touch the opponent king and become +- immune to checks, like on the following diagrams: 1.Rxf5 is impossible. ++ Suicide is forbidden. Thus a king can touch the opponent king and become ++ immune to checks, like on the following diagrams: 1.Rxf5 is impossible. +  + figure.diagram-container +- .diagram.diag12 +- | fen:rnb5/pp4pp/2p5/N4pK1/3P2k1/8/PP4PP/5R2 a5,b7: +- .diagram.diag22 +- | fen:8/p5pp/2p5/5pK1/3P2k1/8/PP4PP/5R2: +- figcaption Left: before 1.Nxb7. Right: after capture. ++ .diagram.diag12 ++ | fen:rnb5/pp4pp/2p5/N4pK1/3P2k1/8/PP4PP/5R2 a5,b7: ++ .diagram.diag22 ++ | fen:8/p5pp/2p5/5pK1/3P2k1/8/PP4PP/5R2: ++ figcaption Left: before 1.Nxb7. Right: after capture. +  + h3 End of the game +  + p There are two ways to win, by decreasing strength order: + ol +- li Explode opponent king +- li Checkmate opponent king ++ li Explode opponent king ++ li Checkmate opponent king +  + p Explosions have priority: a checkmate followed by a king explosion loses. +  + figure.diagram-container +- .diagram +- | fen:r3kbnr/pp3ppp/3p4/4p3/8/8/PPPPPPPP/R1BQKBNR: +- figcaption. +- After the moves 1.Nc3 d6?? 2.Nd5 e5 (forced to avoid king explosion) +- 3.Nxc7 ++ .diagram ++ | fen:r3kbnr/pp3ppp/3p4/4p3/8/8/PPPPPPPP/R1BQKBNR: ++ figcaption. ++ After the moves 1.Nc3 d6?? 2.Nd5 e5 (forced to avoid king explosion) ++ 3.Nxc7 +  + h3 More information +  + p. +- Many resources can be found on the web (this variation is played on lichess +- and FICS, among others). +- This game was played first in 1995 at the German Internet Chess Server (GICS) +- according to Wikipedia. ++ Many resources can be found on the web (this variation is played on lichess ++ and FICS, among others). ++ This game was played first in 1995 at the German Internet Chess Server (GICS) ++ according to Wikipedia. +diff --git a/client/src/translations/rules/Atomic/es.pug b/client/src/translations/rules/Atomic/es.pug +index 8aad23c..3ab15c6 100644 +--- a/client/src/translations/rules/Atomic/es.pug ++++ b/client/src/translations/rules/Atomic/es.pug +@@ -1,43 +1,43 @@ + p.boxed. +- Cada captura crea una "explosión" que elimina todas las piezas cercanas, +- excepto los peones. ++ Cada captura crea una "explosión" que elimina todas las piezas cercanas, ++ excepto los peones. +  + p. +- Cuando una pieza P captura a un enemigo en la casilla C, todas las +- piezas en las casillas alcanzable por un rey desde C desaparecen, P incluida. +- Los peones permanecen sin embargo: deben ser capturadas directamente. ++ Cuando una pieza P captura a un enemigo en la casilla C, todas las ++ piezas en las casillas alcanzable por un rey desde C desaparecen, P incluida. ++ Los peones permanecen sin embargo: deben ser capturadas directamente. +  + p. +- El suicidio está prohibido. Por lo tanto, el rey puede tocar al rey +- contrario y volverse invulnerable a los jaques, como en el siguiente +- diagrama : 1.Rxf5 es imposible. ++ El suicidio está prohibido. Por lo tanto, el rey puede tocar al rey ++ contrario y volverse invulnerable a los jaques, como en el siguiente ++ diagrama : 1.Rxf5 es imposible. +  + figure.diagram-container +- .diagram.diag12 +- | fen:rnb5/pp4pp/2p5/N4pK1/3P2k1/8/PP4PP/5R2 a5,b7: +- .diagram.diag22 +- | fen:8/p5pp/2p5/5pK1/3P2k1/8/PP4PP/5R2: +- figcaption Izquierda : antes 1.Nxb7. Derecha : después de la captura. ++ .diagram.diag12 ++ | fen:rnb5/pp4pp/2p5/N4pK1/3P2k1/8/PP4PP/5R2 a5,b7: ++ .diagram.diag22 ++ | fen:8/p5pp/2p5/5pK1/3P2k1/8/PP4PP/5R2: ++ figcaption Izquierda : antes 1.Nxb7. Derecha : después de la captura. +  + h3 Final de partida +  + p Hay dos maneras de ganar, en orden descendente de prioridad : + ol +- li Haz explotar al rey contrario +- li Mater el rey contrario ++ li Haz explotar al rey contrario ++ li Mater el rey contrario +  + p Las explosiones tienen prioridad : un mate seguida de una explosión pierde. +  + figure.diagram-container +- .diagram +- | fen:r3kbnr/pp3ppp/3p4/4p3/8/8/PPPPPPPP/R1BQKBNR: +- figcaption. +- Después de las jugadas 1.Nc3 d6?? 2.Nd5 e5 (forzado, para evitar la +- explosión del rey) 3.Nxc7 ++ .diagram ++ | fen:r3kbnr/pp3ppp/3p4/4p3/8/8/PPPPPPPP/R1BQKBNR: ++ figcaption. ++ Después de las jugadas 1.Nc3 d6?? 2.Nd5 e5 (forzado, para evitar la ++ explosión del rey) 3.Nxc7 +  + h3 Más información +  + p. +- Hay muchas páginas de internet sobre esta variante (se puede jugar en +- lichess y en FICS, entre otros). +- Nació en 1995 en el German Internet Chess Server (GICS) segun Wikipedia. ++ Hay muchas páginas de internet sobre esta variante (se puede jugar en ++ lichess y en FICS, entre otros). ++ Nació en 1995 en el German Internet Chess Server (GICS) segun Wikipedia. +diff --git a/client/src/translations/rules/Atomic/fr.pug b/client/src/translations/rules/Atomic/fr.pug +index 4dae5fa..2a32049 100644 +--- a/client/src/translations/rules/Atomic/fr.pug ++++ b/client/src/translations/rules/Atomic/fr.pug +@@ -1,45 +1,45 @@ + p.boxed. +- Chaque capture engendre une "explosion" faisant disparaître toutes les +- pièces avoisinantes - sauf les pions. ++ Chaque capture engendre une "explosion" faisant disparaître toutes les ++ pièces avoisinantes - sauf les pions. +  + p. +- Quand une pièce P capture un ennemi sur la case C, toutes les pièces situées +- sur des cases atteignables en un coup de roi depuis C disparaissent, y +- compris P elle-même. +- Les pions subsistent toutefois : ils doivent être capturés directement. ++ Quand une pièce P capture un ennemi sur la case C, toutes les pièces situées ++ sur des cases atteignables en un coup de roi depuis C disparaissent, y ++ compris P elle-même. ++ Les pions subsistent toutefois : ils doivent être capturés directement. +  + p. +- Le suicide est interdit. Ainsi, le roi peut toucher le roi adverse et +- devenir invulnérable aux échecs, comme sur le diagramme suivant : 1.Rxf5 +- est impossible. ++ Le suicide est interdit. Ainsi, le roi peut toucher le roi adverse et ++ devenir invulnérable aux échecs, comme sur le diagramme suivant : 1.Rxf5 ++ est impossible. +  + figure.diagram-container +- .diagram.diag12 +- | fen:rnb5/pp4pp/2p5/N4pK1/3P2k1/8/PP4PP/5R2 a5,b7: +- .diagram.diag22 +- | fen:8/p5pp/2p5/5pK1/3P2k1/8/PP4PP/5R2: +- figcaption Gauche : avant 1.Nxb7. Droite : après capture. ++ .diagram.diag12 ++ | fen:rnb5/pp4pp/2p5/N4pK1/3P2k1/8/PP4PP/5R2 a5,b7: ++ .diagram.diag22 ++ | fen:8/p5pp/2p5/5pK1/3P2k1/8/PP4PP/5R2: ++ figcaption Gauche : avant 1.Nxb7. Droite : après capture. +  + h3 Fin de partie +  + p Il y a deux façons de gagner, par ordre décroissant de priorité : + ol +- li Faire exploser le roi adverse +- li Mater le roi adverse ++ li Faire exploser le roi adverse ++ li Mater le roi adverse +  + p Les explosions ont la priorité : un mat suivi d'une explosion perd. +  + figure.diagram-container +- .diagram +- | fen:r3kbnr/pp3ppp/3p4/4p3/8/8/PPPPPPPP/R1BQKBNR: +- figcaption. +- Après les coups 1.Nc3 d6?? 2.Nd5 e5 (forcé pour éviter l'explosion du roi) +- 3.Nxc7 ++ .diagram ++ | fen:r3kbnr/pp3ppp/3p4/4p3/8/8/PPPPPPPP/R1BQKBNR: ++ figcaption. ++ Après les coups 1.Nc3 d6?? 2.Nd5 e5 (forcé pour éviter l'explosion du roi) ++ 3.Nxc7 +  + h3 Plus d'information +  + p. +- On trouve beaucoup de pages internet au sujet de cette variante (elle est +- jouée sur lichess et sur FICS, entre autres). +- Celle-ci est née en 1995 sur le German Internet Chess Server (GICS) +- à en croire Wikipedia. ++ On trouve beaucoup de pages internet au sujet de cette variante (elle est ++ jouée sur lichess et sur FICS, entre autres). ++ Celle-ci est née en 1995 sur le German Internet Chess Server (GICS) ++ à en croire Wikipedia. +diff --git a/client/src/translations/rules/Baroque/en.pug b/client/src/translations/rules/Baroque/en.pug +index 58a0e4c..2a00083 100644 +--- a/client/src/translations/rules/Baroque/en.pug ++++ b/client/src/translations/rules/Baroque/en.pug +@@ -1,173 +1,163 @@ + p.boxed +- | Most pieces look the same but behave very differently. +- | They generally move like an orthodox queen, +- | but capturing rules are complex. ++ | Most pieces look the same but behave very differently. ++ | They generally move like an orthodox queen, ++ | but capturing rules are complex. +  + p +- | Note: 'Baroque' is the initial name thought by the author, +- | but 'Ultima' is also largely adopted. +- a(href="https://www.chessvariants.com/people.dir/abbott.html") +- | He prefers 'Baroque' +- | , and I think me too. +- +-h3 Specifications +- +-ul +- li Chessboard: standard. +- li Material: "standard". +- li Non-capturing moves: often like queen. +- li Special moves: none. +- li Captures: very special. +- li End of game: standard; see below. ++ | Note: 'Baroque' is the initial name thought by the author, ++ | but 'Ultima' is also largely adopted. ++ a(href="https://www.chessvariants.com/people.dir/abbott.html") ++ | He prefers 'Baroque' ++ | , and I think me too. +  + h4 Pieces names +  + p Pieces names refer to the way they capture, which is described later. + ul +- li Pawn : pawn or pincer +- li Rook : coordinator +- li Knight : long leaper +- li Bishop : chameleon +- li Queen : withdrawer +- li King : king (same behavior as in standard chess) ++ li Pawn : pawn or pincer ++ li Rook : coordinator ++ li Knight : long leaper ++ li Bishop : chameleon ++ li Queen : withdrawer ++ li King : king (same behavior as in standard chess) + p. +- Besides, a new piece is introduced: the immobilizer, written by the letter 'm' +- in FEN diagrams and PGN games. It is represented by an upside-down rook: ++ Besides, a new piece is introduced: the immobilizer, written by the letter 'm' ++ in FEN diagrams and PGN games. It is represented by an upside-down rook: +  + figure.diagram-container +- .diagram +- | fen:8/8/4m3/8/8/8/3M4/8: +- figcaption Immobilizers on d2 and e6. ++ .diagram ++ | fen:8/8/4m3/8/8/8/3M4/8: ++ figcaption Immobilizers on d2 and e6. +  + h3 Non-capturing moves +  + p. +- Pawns move as orthodox rooks, and the king moves as usual, +- one square in any direction. +- All other pieces move like an orthodox queen. ++ Pawns move as orthodox rooks, and the king moves as usual, ++ one square in any direction. ++ All other pieces move like an orthodox queen. +  + p. +- When a piece is adjacent to an enemy immobilizer, it cannot move unless +- the enemy immobilizer is adjacent to a friendly immobilizer or chameleon +- (cancelling the powers of the opponent's immobilizer). ++ When a piece is adjacent to an enemy immobilizer, it cannot move unless ++ the enemy immobilizer is adjacent to a friendly immobilizer or chameleon ++ (cancelling the powers of the opponent's immobilizer). + p +- | Note : this corresponds to the "pure rules" described on  +- a(href="http://www.inference.org.uk/mackay/ultima/ultima.html") this page +- | , which slightly differ from the initial rules. +- | The aim is to get rid of the weird suicide rule by weakening the immobilizers lock. +- | In particular, in the original rules two adjacent immobilizer are stuck forever +- | until one is captured. Note that it's still the case if all chameleons disappeared. ++ | Note : this corresponds to the "pure rules" described on  ++ a(href="http://www.inference.org.uk/mackay/ultima/ultima.html") this page ++ | , which slightly differ from the initial rules. ++ | The aim is to get rid of the weird suicide rule by weakening the immobilizers lock. ++ | In particular, in the original rules two adjacent immobilizer are stuck forever ++ | until one is captured. Note that it's still the case if all chameleons disappeared. +  + h3 Capturing moves +  + p. +- Easy case first: the king captures as usual, by moving onto an adjacent square +- occupied by an enemy piece. But this is the only piece following orthodox rules, +- and also the only one which captures by moving onto an occupied square. +- All other pieces capture passively: they land on a free square and captured +- units are determined by some characteristics of the movement. ++ Easy case first: the king captures as usual, by moving onto an adjacent square ++ occupied by an enemy piece. But this is the only piece following orthodox rules, ++ and also the only one which captures by moving onto an occupied square. ++ All other pieces capture passively: they land on a free square and captured ++ units are determined by some characteristics of the movement. +  + p Note 1: the immobilizer does not capture. +  + p. +- Note 2: for passive captures, a 'X' is added at the end of the move notation, +- to indicate that something was taken (replaying the game is necessary to know where). ++ Note 2: for passive captures, a 'X' is added at the end of the move notation, ++ to indicate that something was taken (replaying the game is necessary to know where). +  + h4 Pawns/Pincers +  + p. +- If at the end of its movement a pawn is horizontally or vertically adjacent to an +- enemy piece, which itself is next to a friendly piece (in the same direction), +- the "pinced" unit is removed from the board. ++ If at the end of its movement a pawn is horizontally or vertically adjacent to an ++ enemy piece, which itself is next to a friendly piece (in the same direction), ++ the "pinced" unit is removed from the board. +  + figure.diagram-container +- .diagram +- | fen:7k/5ppp/2N5/2n5/3rB3/8/PPP5/K7: +- figcaption 1.Pc2c4 captures both coordinator and long leaper. ++ .diagram ++ | fen:7k/5ppp/2N5/2n5/3rB3/8/PPP5/K7: ++ figcaption 1.Pc2c4 captures both coordinator and long leaper. +  + h4 Coordinators (rooks) +  + p. +- Imagine that rook and king of the same color are two corners of a rectangle +- (this works if these two pieces are unaligned). +- If at the end of a rook move an enemy piece stands in any of the two remaining +- corners, it is captured. ++ Imagine that rook and king of the same color are two corners of a rectangle ++ (this works if these two pieces are unaligned). ++ If at the end of a rook move an enemy piece stands in any of the two remaining ++ corners, it is captured. +  + figure.diagram-container +- .diagram +- | fen:8/2b4K/2q5/3p1N1p/8/8/2R5/k7: +- figcaption 1.Rc5 captures on c7 and h5. ++ .diagram ++ | fen:8/2b4K/2q5/3p1N1p/8/8/2R5/k7: ++ figcaption 1.Rc5 captures on c7 and h5. +  + h4 Long leapers (knights) +  + p. +- A knight captures exactly as a queen in international draughts game: by jumping +- over its enemies, as many times as it can/want but always in the same direction. +- In this respect it is less powerful than a draughts' queen: +- on the following diagram c8 or f6 cannot be captured. +- However, the knight does not have to maximize the number of captured units +- (as is the case in draughts). ++ A knight captures exactly as a queen in international draughts game: by jumping ++ over its enemies, as many times as it can/want but always in the same direction. ++ In this respect it is less powerful than a draughts' queen: ++ on the following diagram c8 or f6 cannot be captured. ++ However, the knight does not have to maximize the number of captured units ++ (as is the case in draughts). +  + figure.diagram-container +- .diagram +- | fen:2n4k/3r4/5b2/3p4/1m6/3b4/3N4/K7 d4,d6,d8,a5: +- figcaption All marked squares captures are playable from d2. ++ .diagram ++ | fen:2n4k/3r4/5b2/3p4/1m6/3b4/3N4/K7 d4,d6,d8,a5: ++ figcaption All marked squares captures are playable from d2. +  + h4 Withdrawer (queen) +  + p. +- The queen captures by moving away from an adjacent enemy piece, in the opposite +- direction (without jumping, the path must be free). ++ The queen captures by moving away from an adjacent enemy piece, in the opposite ++ direction (without jumping, the path must be free). +  + figure.diagram-container +- .diagram +- | fen:7k/8/8/3Qr3/8/8/8/K7 a5,b5,c5: +- figcaption 1.Qa5, 1.Qb5 or 1.Qc5 captures the black rook. ++ .diagram ++ | fen:7k/8/8/3Qr3/8/8/8/K7 a5,b5,c5: ++ figcaption 1.Qa5, 1.Qb5 or 1.Qc5 captures the black rook. +  + h4 Chameleon (bishop) +  + p The chameleon captures pieces in the way they would capture. So, it + ul +- li pinces pawns (if moving like a pawn), +- li withdraws from withdrawers, +- li leaps over long leapers, +- li coordinates coordinators. ++ li pinces pawns (if moving like a pawn), ++ li withdraws from withdrawers, ++ li leaps over long leapers, ++ li coordinates coordinators. + p ...and these captures can be combined. +  + p. +- Remark: the move indicated on the diagram doesn't capture the black pincer +- on e5, since it is a diagonal move (not like a pawn). ++ Remark: the move indicated on the diagram doesn't capture the black pincer ++ on e5, since it is a diagonal move (not like a pawn). +  + figure.diagram-container +- .diagram +- | fen:7k/8/8/r3pP2/2n5/8/B7/K7 a5,c4: +- figcaption 1.Bd5 captures the two marked pieces. ++ .diagram ++ | fen:7k/8/8/r3pP2/2n5/8/B7/K7 a5,c4: ++ figcaption 1.Bd5 captures the two marked pieces. +  + p. +- Besides, chameleon immobilizes immobilizers (but cannot capture them since they +- do not capture). ++ Besides, chameleon immobilizes immobilizers (but cannot capture them since they ++ do not capture). +  + p. +- A chameleon captures the king in the same way the king captures, which means that +- a chameleon adjacent to a king gives check. ++ A chameleon captures the king in the same way the king captures, which means that ++ a chameleon adjacent to a king gives check. +  + h3 End of the game +  + p. +- Checkmate or stalemate as in standard chess. Note however that checks are more +- difficult to see, because of the exotic capturing rules. For example, on the +- following diagram the white king cannot move to e5 because then +- the black pawn could capture by moving next to it. ++ Checkmate or stalemate as in standard chess. Note however that checks are more ++ difficult to see, because of the exotic capturing rules. For example, on the ++ following diagram the white king cannot move to e5 because then ++ the black pawn could capture by moving next to it. +  + figure.diagram-container +- .diagram +- | fen:7k/8/8/p4r/4K3/8/8/8 e5: +- figcaption 1.Ke5 is impossible ++ .diagram ++ | fen:7k/8/8/p4r/4K3/8/8/8 e5: ++ figcaption 1.Ke5 is impossible +  + h3 More information +  + p +- | A good starting point is the  +- a(href="https://en.wikipedia.org/wiki/Baroque_chess") Wikipedia page +- | , which also gives pointers to other interesting pages (including +- | chessvariants.com, as usual). ++ | A good starting point is the  ++ a(href="https://en.wikipedia.org/wiki/Baroque_chess") Wikipedia page ++ | , which also gives pointers to other interesting pages (including ++ | chessvariants.com, as usual). +diff --git a/client/src/translations/rules/Baroque/fr.pug b/client/src/translations/rules/Baroque/fr.pug +index ff69845..0c1b691 100644 +--- a/client/src/translations/rules/Baroque/fr.pug ++++ b/client/src/translations/rules/Baroque/fr.pug +@@ -1,179 +1,169 @@ + p.boxed +- | La plupart des pièces sont connues mais se déplacent différemment ; +- | en général comme une dame orthodoxe, mais les captures sont complexes. ++ | La plupart des pièces sont connues mais se déplacent différemment ; ++ | en général comme une dame orthodoxe, mais les captures sont complexes. +  + p +- | Note : le nom initialement choisit par l'auteur est 'Baroque', +- | mais 'Ultima' est également largement utilisé. +- a(href="https://www.chessvariants.com/people.dir/abbott.html") +- | Il préfère 'Baroque' +- | , et moi aussi je crois. +- +-h3 Caractéristiques +- +-ul +- li Échiquier : standard. +- li Matériel : "standard". +- li Coups non capturants : souvent comme une dame. +- li Coups spéciaux : aucun. +- li Captures : très particulières. +- li Fin de partie : standard ; voir ci-dessous. ++ | Note : le nom initialement choisit par l'auteur est 'Baroque', ++ | mais 'Ultima' est également largement utilisé. ++ a(href="https://www.chessvariants.com/people.dir/abbott.html") ++ | Il préfère 'Baroque' ++ | , et moi aussi je crois. +  + h4 Noms des pièces +  + p Les noms des pièces se rapportent à leur mode de capture, qui est décrit plus loin + ul +- li Pion : pion ou pinceur +- li Tour : coordinateur +- li Cavalier : "sauteur long" +- li Fou : caméléon +- li Dame : "retireur" +- li King : roi (même comportement qu'aux échecs orthodoxes) ++ li Pion : pion ou pinceur ++ li Tour : coordinateur ++ li Cavalier : "sauteur long" ++ li Fou : caméléon ++ li Dame : "retireur" ++ li King : roi (même comportement qu'aux échecs orthodoxes) + p. +- En outre, une nouvelle pièce est ajoutée : l'immobiliseur, dénoté par la +- lettre 'm' dans les diagrammes FEN et parties PGN. Il est représenté par +- une tour renversée : ++ En outre, une nouvelle pièce est ajoutée : l'immobiliseur, dénoté par la ++ lettre 'm' dans les diagrammes FEN et parties PGN. Il est représenté par ++ une tour renversée : +  + figure.diagram-container +- .diagram +- | fen:8/8/4m3/8/8/8/3M4/8: +- figcaption Immobiliseurs en d2 et e6. ++ .diagram ++ | fen:8/8/4m3/8/8/8/3M4/8: ++ figcaption Immobiliseurs en d2 et e6. +  + h3 Coups non capturants +  + p. +- Les pions se déplacent comme des tours orthodoxes, et les déplacements du roi +- sont standards. Toutes les autres pièces se déplacent comme une dame orthodoxe. ++ Les pions se déplacent comme des tours orthodoxes, et les déplacements du roi ++ sont standards. Toutes les autres pièces se déplacent comme une dame orthodoxe. +  + p. +- Quand une pièce est à côté d'un immobiliseur ennemi, elle ne peut plus bouger +- à moins que cet immobiliseur ne côtoie lui-même un immobiliseur ou caméléon ami +- (annulant les pouvoirs de l'immobiliseur adverse). ++ Quand une pièce est à côté d'un immobiliseur ennemi, elle ne peut plus bouger ++ à moins que cet immobiliseur ne côtoie lui-même un immobiliseur ou caméléon ami ++ (annulant les pouvoirs de l'immobiliseur adverse). +  + p +- | Note : cela correspond aux "règles pures" telles que décrites sur  +- a(href="http://www.inference.org.uk/mackay/ultima/ultima.html") cette page +- | , qui diffèrent légèrement des règles originelles. +- | Le but est de s'affranchir de la bizarre règle de suicide, en affaiblissant +- | un peu le verrou des immobiliseurs. +- | En particulier, selon les règles de base deux immobiliseurs adjacents ne +- | pourront jamais bouger sauf si l'un des deux est capturé. +- | Attention c'est toujours le cas si tous les caméléons disparaissent. ++ | Note : cela correspond aux "règles pures" telles que décrites sur  ++ a(href="http://www.inference.org.uk/mackay/ultima/ultima.html") cette page ++ | , qui diffèrent légèrement des règles originelles. ++ | Le but est de s'affranchir de la bizarre règle de suicide, en affaiblissant ++ | un peu le verrou des immobiliseurs. ++ | En particulier, selon les règles de base deux immobiliseurs adjacents ne ++ | pourront jamais bouger sauf si l'un des deux est capturé. ++ | Attention c'est toujours le cas si tous les caméléons disparaissent. +  + h3 Coups capturants +  + p. +- Le cas facile d'abord : le roi capture comme d'habitude, en se déplaçant sur +- une case adjacente occupée par l'ennemi. C'est le seul cas de pièce suivant les +- règles orthodoxes, et aussi la seule à capturer en allant sur une case occupée. +- Toutes les autres pièces capturent passivement : elles arrivent sur une case +- libre, et capturent une ou plusieurs pièces selon des caractéristiques +- géométriques du déplacement. ++ Le cas facile d'abord : le roi capture comme d'habitude, en se déplaçant sur ++ une case adjacente occupée par l'ennemi. C'est le seul cas de pièce suivant les ++ règles orthodoxes, et aussi la seule à capturer en allant sur une case occupée. ++ Toutes les autres pièces capturent passivement : elles arrivent sur une case ++ libre, et capturent une ou plusieurs pièces selon des caractéristiques ++ géométriques du déplacement. +  + p Note 1 : l'immobiliseur ne capture pas. +  + p. +- Note 2 : concernant les captures passives, un 'X' est ajouté en fin de coup +- pour indiquer que quelque chose a été pris (il faut rejouer la partie pour +- savoir quoi et où). ++ Note 2 : concernant les captures passives, un 'X' est ajouté en fin de coup ++ pour indiquer que quelque chose a été pris (il faut rejouer la partie pour ++ savoir quoi et où). +  + h4 Pions/Pinceurs +  + p. +- Si en fin de déplacement un pion se retrouve horizontalement ou verticalement +- adjacent à une pièce ennemie, qui elle-même est voisine d'une pièce amie (dans +- la même direction), alors la pièce "pincée" est capturée. ++ Si en fin de déplacement un pion se retrouve horizontalement ou verticalement ++ adjacent à une pièce ennemie, qui elle-même est voisine d'une pièce amie (dans ++ la même direction), alors la pièce "pincée" est capturée. +  + figure.diagram-container +- .diagram +- | fen:7k/5ppp/2N5/2n5/3rB3/8/PPP5/K7: +- figcaption 1.Pc2c4 capture à la fois le coordinateur et le "sauteur long". ++ .diagram ++ | fen:7k/5ppp/2N5/2n5/3rB3/8/PPP5/K7: ++ figcaption 1.Pc2c4 capture à la fois le coordinateur et le "sauteur long". +  + h4 Coordinateurs (tours) +  + p. +- Imaginez que la tour et le roi de même couleur sont deux coins d'un rectangle +- (ça fonctionne si les deux pièces ne sont pas alignées). +- Si à la fin d'un déplacement d'une tour une pièce adverse se trouve dans l'un +- des deux coins restants, elle est capturée. ++ Imaginez que la tour et le roi de même couleur sont deux coins d'un rectangle ++ (ça fonctionne si les deux pièces ne sont pas alignées). ++ Si à la fin d'un déplacement d'une tour une pièce adverse se trouve dans l'un ++ des deux coins restants, elle est capturée. +  + figure.diagram-container +- .diagram +- | fen:8/2b4K/2q5/3p1N1p/8/8/2R5/k7: +- figcaption 1.Rc5 capture en c7 et h5. ++ .diagram ++ | fen:8/2b4K/2q5/3p1N1p/8/8/2R5/k7: ++ figcaption 1.Rc5 capture en c7 et h5. +  + h4 "Sauteurs longs" (cavaliers) +  + p. +- Un cavalier capture exactement comme une dame au jeu de dames internationales : +- en sautant par dessus les pièces ennemies, autant de fois qu'il le souhaite +- mais toujours dans la même direction. Dans ce sens, il a moins de pouvoir +- qu'une dame au jeu précité : sur le diagramme suivant c8 et f6 ne peuvent être +- pris. En revanche, le cavalier n'est pas obligé de maximiser le nombre de +- pièces adverses capturés (come c'est le cas au jeu de dames). ++ Un cavalier capture exactement comme une dame au jeu de dames internationales : ++ en sautant par dessus les pièces ennemies, autant de fois qu'il le souhaite ++ mais toujours dans la même direction. Dans ce sens, il a moins de pouvoir ++ qu'une dame au jeu précité : sur le diagramme suivant c8 et f6 ne peuvent être ++ pris. En revanche, le cavalier n'est pas obligé de maximiser le nombre de ++ pièces adverses capturés (come c'est le cas au jeu de dames). +  + figure.diagram-container +- .diagram +- | fen:2n4k/3r4/5b2/3p4/1m6/3b4/3N4/K7 d4,d6,d8,a5: +- figcaption Toutes les captures marquées sont jouables depuis d2. ++ .diagram ++ | fen:2n4k/3r4/5b2/3p4/1m6/3b4/3N4/K7 d4,d6,d8,a5: ++ figcaption Toutes les captures marquées sont jouables depuis d2. +  + h4 "Retireur" (dame) +  + p. +- La dame capture en s'éloignant d'une pièce adverse adjacente, dans la direction +- opposée (sans effectuer de sauts, la voie doit être libre). ++ La dame capture en s'éloignant d'une pièce adverse adjacente, dans la direction ++ opposée (sans effectuer de sauts, la voie doit être libre). +  + figure.diagram-container +- .diagram +- | fen:7k/8/8/3Qr3/8/8/8/K7 a5,b5,c5: +- figcaption 1.Qa5, 1.Qb5 ou 1.Qc5 capturent la tour noire. ++ .diagram ++ | fen:7k/8/8/3Qr3/8/8/8/K7 a5,b5,c5: ++ figcaption 1.Qa5, 1.Qb5 ou 1.Qc5 capturent la tour noire. +  + h4 Caméléon (fou) +  + p. +- Le caméléon capture les pièces ennemies de la façon dont elles capturent. +- Ainsi, il ++ Le caméléon capture les pièces ennemies de la façon dont elles capturent. ++ Ainsi, il + ul +- li pince les pions (s'il bouge comme un pion), +- li retire les retireurs, +- li saute par dessus les sauteurs longs, +- li coordonne les coordinateurs. ++ li pince les pions (s'il bouge comme un pion), ++ li retire les retireurs, ++ li saute par dessus les sauteurs longs, ++ li coordonne les coordinateurs. + p ...et ces captures peuvent se cumuler. +  + p. +- Remarque : sur le diagramme le coup indiqué ne correspond pas à un déplacement de +- pion, et ne capture donc pas le pinceur noir en e5. ++ Remarque : sur le diagramme le coup indiqué ne correspond pas à un déplacement de ++ pion, et ne capture donc pas le pinceur noir en e5. +  + figure.diagram-container +- .diagram +- | fen:7k/8/8/r3pP2/2n5/8/B7/K7 a5,c4: +- figcaption 1.Bd5 capture les deux pièces marquées. ++ .diagram ++ | fen:7k/8/8/r3pP2/2n5/8/B7/K7 a5,c4: ++ figcaption 1.Bd5 capture les deux pièces marquées. +  + p. +- En outre, le caméléon immobilise les immobiliseurs (mais ne peut les capturer +- puisqu'eux-même ne capturent pas). ++ En outre, le caméléon immobilise les immobiliseurs (mais ne peut les capturer ++ puisqu'eux-même ne capturent pas). +  + p. +- Un caméléon capture le roi de la même façon que le roi capture, ce qui signifie +- qu'un caméléon à côté d'un roi ennemi donne échec. ++ Un caméléon capture le roi de la même façon que le roi capture, ce qui signifie ++ qu'un caméléon à côté d'un roi ennemi donne échec. +  +-h3 Fin de partie ++h3 Fin de la partie +  + p. +- Il faut mater le roi adverse comme aux échecs orthodoxes (et le pat fait nulle). +- Cependant, les échecs peuvent être difficiles à voir à cause des définitions +- exotiques des captures. Par exemple sur le diagramme suivant, le roi blanc ne +- peut aller en e5 car il serait capturé par le pion noir (venant en d5). ++ Il faut mater le roi adverse comme aux échecs orthodoxes (et le pat fait nulle). ++ Cependant, les échecs peuvent être difficiles à voir à cause des définitions ++ exotiques des captures. Par exemple sur le diagramme suivant, le roi blanc ne ++ peut aller en e5 car il serait capturé par le pion noir (venant en d5). +  + figure.diagram-container +- .diagram +- | fen:7k/8/8/p4r/4K3/8/8/8 e5: +- figcaption 1.Ke5 est impossible ++ .diagram ++ | fen:7k/8/8/p4r/4K3/8/8/8 e5: ++ figcaption 1.Ke5 est impossible +  + h3 Plus d'information +  + p +- | La  +- a(href="https://en.wikipedia.org/wiki/Baroque_chess") page Wikipedia +- |   est un bon point de départ, donnant des liens sur plusieurs autres +- | pages intéressantes (incluant chessvariants.com, comme d'habitude). ++ | La  ++ a(href="https://en.wikipedia.org/wiki/Baroque_chess") page Wikipedia ++ |  est un bon point de départ, donnant des liens sur plusieurs autres ++ | pages intéressantes (incluant chessvariants.com, comme d'habitude). +diff --git a/client/src/translations/rules/Berolina/en.pug b/client/src/translations/rules/Berolina/en.pug +index d723bc4..2864b80 100644 +--- a/client/src/translations/rules/Berolina/en.pug ++++ b/client/src/translations/rules/Berolina/en.pug +@@ -1,49 +1,37 @@ + p.boxed +- | Pawns advance diagonally and capture by moving forward. +- +-h3 Specifications +- +-ul +- li Chessboard: standard. +- li Material: standard. +- li Non-capturing moves: different pawn moves. +- li Special moves: standard (different en-passant). +- li Captures: standard (except pawns). +- li End of game: standard. +- +-h3 Basics ++ | Pawns advance diagonally and capture by moving forward. +  + p. +- Only the pawn movements change, but since there are many on the board it's a +- consequent change. They move forward diagonally instead of moving straight, +- and capture by advancing to the next square vertically. ++ Only the pawn movements change, but since there are many on the board it's a ++ consequent change. They move forward diagonally instead of moving straight, ++ and capture by advancing to the next square vertically. +  + figure.diagram-container +- .diagram +- | fen:8/8/5p2/5P2/P7/8/5P2/8 b5,e3,d4,g3,h4,e6,f6,g6: +- figcaption Possible pawn moves ++ .diagram ++ | fen:8/8/5p2/5P2/P7/8/5P2/8 b5,e3,d4,g3,h4,e6,f6,g6: ++ figcaption Possible pawn moves +  + p. +- The initial 2-squares jump is allowed, as well as en-passant captures: +- after 1.d2b4 on the diagram, 1...Pxc3 e.p. is possible. ++ The initial 2-squares jump is allowed, as well as en-passant captures: ++ after 1.d2b4 on the diagram, 1...Pxc3 e.p. is possible. +  + p. +- About notation: since pawn captures are non-ambigous they writes e.g. +- "Pxe6" ('P' is redundant but looks nicer); simple pawn moves are often +- ambiguous, so they write for example "f2g3" (again, the starting row is +- redundant but this also looks better). ++ About notation: since pawn captures are non-ambigous they writes e.g. ++ "Pxe6" ('P' is redundant but looks nicer); simple pawn moves are often ++ ambiguous, so they write for example "f2g3" (again, the starting row is ++ redundant but this also looks better). +  + figure.diagram-container +- .diagram +- | fen:rnbqkbnr/p1pppppp/8/8/1Pp2P2/5N2/PPP1PPP1/R1BQKBNR c3: +- figcaption. +- After 1.Nf3 b7d5 2.h2f4 d5c4 3.d2b4, en-passant capture on marked square +- is possible ++ .diagram ++ | fen:rnbqkbnr/p1pppppp/8/8/1Pp2P2/5N2/PPP1PPP1/R1BQKBNR c3: ++ figcaption. ++ After 1.Nf3 b7d5 2.h2f4 d5c4 3.d2b4, en-passant capture on marked square ++ is possible +  + h3 Other source +  + p +- | See for example the  +- a(href="https://brainking.com/en/GameRules?tp=59") Berolina chess +- |  page on brainking.com. ++ | See for example the  ++ a(href="https://brainking.com/en/GameRules?tp=59") Berolina chess ++ |  page on brainking.com. +  +diff --git a/client/src/translations/rules/Berolina/fr.pug b/client/src/translations/rules/Berolina/fr.pug +index 4ee1c25..1c981e6 100644 +--- a/client/src/translations/rules/Berolina/fr.pug ++++ b/client/src/translations/rules/Berolina/fr.pug +@@ -1,51 +1,39 @@ + p.boxed +- | Les pions avancent en diagonale, et capturent en montant +- | d'une case verticalement. +- +-h3 Caractéristiques +- +-ul +- li Échiquier: standard. +- li Matériel: standard. +- li Coups non capturants: mouvements de pions différents. +- li Coups spéciaux: standards (prise en passant adaptée. +- li Captures: standards (excepté les pions). +- li Fin de partie: standard. +- +-h3 Bases ++ | Les pions avancent en diagonale, et capturent en montant ++ | d'une case verticalement. +  + p. +- Seuls les déplacements de pions changent, mais puisqu'il y en a beaucoup sur +- l'échiquier c'est un changement important. Ils se déplacent en diagonale +- (toujours vers l'avant) au lieu d'avancer tout droit, et capturent en +- montant d'une case verticalement. ++ Seuls les déplacements de pions changent, mais puisqu'il y en a beaucoup sur ++ l'échiquier c'est un changement important. Ils se déplacent en diagonale ++ (toujours vers l'avant) au lieu d'avancer tout droit, et capturent en ++ montant d'une case verticalement. +  + figure.diagram-container +- .diagram +- | fen:8/8/5p2/5P2/P7/8/5P2/8 b5,e3,d4,g3,h4,e6,f6,g6: +- figcaption Possibles coups de pion ++ .diagram ++ | fen:8/8/5p2/5P2/P7/8/5P2/8 b5,e3,d4,g3,h4,e6,f6,g6: ++ figcaption Possibles coups de pion +  + p. +- Le saut initial de deux cases est permis, ainsi que la prise en passant : +- après 3.d2b4 sur le diagrame, 3...Pxc3 e.p. est possible. ++ Le saut initial de deux cases est permis, ainsi que la prise en passant : ++ après 3.d2b4 sur le diagrame, 3...Pxc3 e.p. est possible. +  + p. +- Au sujet de la notation : puisque les captures effectuées par les pions ne +- sont pas ambigues on les note par exemple "Pxe6" ('P' est redondant mais +- l'écriture est plus jolie ainsi) ; en revanche les simples déplacements sont +- en général ambigus, et donc notés par exemple "f2g3" (ici encore, +- la rangée de départ est inutile mais l'écriture paraît mieux ainsi). ++ Au sujet de la notation : puisque les captures effectuées par les pions ne ++ sont pas ambigues on les note par exemple "Pxe6" ('P' est redondant mais ++ l'écriture est plus jolie ainsi) ; en revanche les simples déplacements sont ++ en général ambigus, et donc notés par exemple "f2g3" (ici encore, ++ la rangée de départ est inutile mais l'écriture paraît mieux ainsi). +  + figure.diagram-container +- .diagram +- | fen:rnbqkbnr/p1pppppp/8/8/1Pp2P2/5N2/PPP1PPP1/R1BQKBNR c3: +- figcaption. +- Après 1.Nf3 b7d5 2.h2f4 d5c4 3.d2b4, il est possible de capturer en passant +- sur la case marquée ++ .diagram ++ | fen:rnbqkbnr/p1pppppp/8/8/1Pp2P2/5N2/PPP1PPP1/R1BQKBNR c3: ++ figcaption. ++ Après 1.Nf3 b7d5 2.h2f4 d5c4 3.d2b4, il est possible de capturer en passant ++ sur la case marquée +  + h3 Autre source +  + p +- | Visitez par exemple la page  +- a(href="https://brainking.com/fr/GameRules?tp=59") Échecs Berolina +- |  page sur brainking.com. ++ | Visitez par exemple la page  ++ a(href="https://brainking.com/fr/GameRules?tp=59") Échecs Berolina ++ |  sur brainking.com. +diff --git a/client/src/translations/rules/Checkered/en.pug b/client/src/translations/rules/Checkered/en.pug +index befc6cb..ae4ce1f 100644 +--- a/client/src/translations/rules/Checkered/en.pug ++++ b/client/src/translations/rules/Checkered/en.pug +@@ -1,27 +1,17 @@ + p.boxed +- | The capture of an enemy piece produces a new "checkered" piece belonging +- | to both players. ++ | The capture of an enemy piece produces a new "checkered" piece belonging ++ | to both players. +  + figure.showPieces.text-center +- img(src="/images/pieces/Checkered/cp.svg") +- img(src="/images/pieces/Checkered/cr.svg") +- img(src="/images/pieces/Checkered/cn.svg") +- img(src="/images/pieces/Checkered/cb.svg") +- img(src="/images/pieces/Checkered/cq.svg") +- figcaption Checkered pieces, born after captures. ++ img(src="/images/pieces/Checkered/cp.svg") ++ img(src="/images/pieces/Checkered/cr.svg") ++ img(src="/images/pieces/Checkered/cn.svg") ++ img(src="/images/pieces/Checkered/cb.svg") ++ img(src="/images/pieces/Checkered/cq.svg") ++ figcaption Checkered pieces, born after captures. +  + p Note: the initial French name for this variant is "l'Échiqueté". +  +-h3 Specifications +- +-ul +- li Chessboard: standard. +- li Material: additional checkered pieces. +- li Non-capturing moves: standard; see below. +- li Special moves: standard; see below. +- li Captures: standard; see below. +- li End of game: standard. +- + p The game potentially evolves in two stages. +  + h2.stageDelimiter Stage 1 +@@ -29,98 +19,98 @@ h2.stageDelimiter Stage 1 + h3 Basics +  + ol +- li +- | Each capture produces a new piece, taking on nature of +- | the capturing or captured one. +- li +- | The new piece arising from a capture has a new color: +- | "checkered", as illustrated above. +- li +- | All checkered pieces belong to the player in turn and can +- | capture the opponents pieces. ++ li ++ | Each capture produces a new piece, taking on nature of ++ | the capturing or captured one. ++ li ++ | The new piece arising from a capture has a new color: ++ | "checkered", as illustrated above. ++ li ++ | All checkered pieces belong to the player in turn and can ++ | capture the opponents pieces. +  + p Remarks: + ul +- li. +- A non-capturing checkered move cannot be "undone" right after since +- this would repeat the same position. +- li Checkered pieces cannot be captured. ++ li. ++ A non-capturing checkered move cannot be "undone" right after since ++ this would repeat the same position. ++ li Checkered pieces cannot be captured. +  + figure.diagram-container +- .diagram +- | fen:2kr4/pp6/2p5/4ss1r/1P2ns1P/2Np4/P1P1P1BP/R2o1RK1: +- figcaption. +- Black plays Rxh4=P. (Checkered pawn to) h5 is allowed then, +- because piece's nature changed. ++ .diagram ++ | fen:2kr4/pp6/2p5/4ss1r/1P2ns1P/2Np4/P1P1P1BP/R2o1RK1: ++ figcaption. ++ Black plays Rxh4=P. (Checkered pawn to) h5 is allowed then, ++ because piece's nature changed. +  +-h3 Pions ++h3 Pawns +  + ul +- li. +- Pawns can jump two squares only from their initial rank, and only once in the game: +- a checkered pawn returning on the pawns' start rank cannot jump. However: +- li. +- A pawn captured on its starting square (thus becoming "checkered") keeps the +- right to advance two squares. +- li. +- Checkered pawns cannot capture en passant, because while the pawn was "passing" +- they were of the same color. ++ li. ++ Pawns can jump two squares only from their initial rank, and only once in the game: ++ a checkered pawn returning on the pawns' start rank cannot jump. However: ++ li. ++ A pawn captured on its starting square (thus becoming "checkered") keeps the ++ right to advance two squares. ++ li. ++ Checkered pawns cannot capture en passant, because while the pawn was "passing" ++ they were of the same color. +  + p.bold.bigfont If you wanna play, you can stop reading here. +  + h3 Stalemate or checkmate? +  + p. +- The following diagram seems to show a mating pattern, but the king if +- "attacked" by a checkered pawn – which still belongs to white. +- Therefore, it can be considered that it's not really a check because +- white is unable to "give back the turn". +- Without the black bishop on a7 it would be mate (without debate), because +- the king could virtually go to g1 before being captured by the pawn-chamaleon. ++ The following diagram seems to show a mating pattern, but the king if ++ "attacked" by a checkered pawn – which still belongs to white. ++ Therefore, it can be considered that it's not really a check because ++ white is unable to "give back the turn". ++ Without the black bishop on a7 it would be mate (without debate), because ++ the king could virtually go to g1 before being captured by the pawn-chamaleon. +  + figure.diagram-container +- .diagram +- | fen:7k/b5pp/8/8/8/8/6ss/7K: +- figcaption After 1...g2+(#?) ++ .diagram ++ | fen:7k/b5pp/8/8/8/8/6ss/7K: ++ figcaption After 1...g2+(#?) +  + p. +- The interface considers that it's mate in both cases, following the idea +- "it's checkmate if we cannot move, and the opponent on its turn could +- take the king" (maybe after an impossible move). ++ The interface considers that it's mate in both cases, following the idea ++ "it's checkmate if we cannot move, and the opponent on its turn could ++ take the king" (maybe after an impossible move). +  + h2.stageDelimiter Stage 2 +  + p.warn This stage is not (and probably will never be) implemented. +  + p. +- During the game one of the two players can decide to take control of the +- checkered pieces. +- They thus become autonomous and vulnerable to being captured - stage 2 begins. +- The other player is in charge of both the white and black pieces, and tries to +- eliminate checkered pieces. +- The checkered side wins by checkmating either the white or black king. ++ During the game one of the two players can decide to take control of the ++ checkered pieces. ++ They thus become autonomous and vulnerable to being captured - stage 2 begins. ++ The other player is in charge of both the white and black pieces, and tries to ++ eliminate checkered pieces. ++ The checkered side wins by checkmating either the white or black king. +  + h4 Variant of stage 2 + p. +- An observer could decide to join the game by taking the checkered pieces +- at any moment. +- It then becomes a chess game with three players, with some subtelties to be resolved. +- It was tested in some (real life) games organised by the variant creator. ++ An observer could decide to join the game by taking the checkered pieces ++ at any moment. ++ It then becomes a chess game with three players, with some subtelties to be resolved. ++ It was tested in some (real life) games organised by the variant creator. +  + h3 Special moves +  + p Checkered pawns can... + ul +- li move and capture in either direction; +- li take en passant, +- li be promoted on either the first or eighth row. ++ li move and capture in either direction; ++ li take en passant, ++ li be promoted on either the first or eighth row. +  + h3 Credits +  + ul +- li. +- The rules of Checkered Chess were thought up by Patrick Bernier and developed +- with the help of Benjamin Auder. +- li. +- Thanks also to Olive Martin, Christian Poisson, Bevis Martin, Laurent Nouhaud +- and Frédéric Fradet. ++ li. ++ The rules of Checkered Chess were thought up by Patrick Bernier and developed ++ with the help of Benjamin Auder. ++ li. ++ Thanks also to Olive Martin, Christian Poisson, Bevis Martin, Laurent Nouhaud ++ and Frédéric Fradet. +diff --git a/client/src/translations/rules/Checkered/fr.pug b/client/src/translations/rules/Checkered/fr.pug +index 163b017..e365337 100644 +--- a/client/src/translations/rules/Checkered/fr.pug ++++ b/client/src/translations/rules/Checkered/fr.pug +@@ -1,29 +1,19 @@ + p.boxed +- | La capture d'une pièce ennemie donne lieu à la naissance d'une pièce +- | "échiquetée", qui appartient aux deux camps. ++ | La capture d'une pièce ennemie donne lieu à la naissance d'une pièce ++ | "échiquetée", qui appartient aux deux camps. +  + figure.showPieces.text-center +- img(src="/images/pieces/Checkered/cp.svg") +- img(src="/images/pieces/Checkered/cr.svg") +- img(src="/images/pieces/Checkered/cn.svg") +- img(src="/images/pieces/Checkered/cb.svg") +- img(src="/images/pieces/Checkered/cq.svg") +- figcaption Pièces échiquetées, nées suite aux captures. ++ img(src="/images/pieces/Checkered/cp.svg") ++ img(src="/images/pieces/Checkered/cr.svg") ++ img(src="/images/pieces/Checkered/cn.svg") ++ img(src="/images/pieces/Checkered/cb.svg") ++ img(src="/images/pieces/Checkered/cq.svg") ++ figcaption Pièces échiquetées, nées suite aux captures. +  + p. +- Note : le (vrai) nom initial de cette variante est "l'Échiqueté". +- "Checkered" en est la traduction anglaise, et ce dernier terme me paraît +- plus lisible pour des non francophones. +- +-h3 Caractéristiques +- +-ul +- li Échiquier : standard. +- li Matériel : standard + pièces échiquetées. +- li Coups non capturants : standards ; voir ci-dessous. +- li Coups spéciaux : standards ; voir ci-dessous. +- li Captures : standards ; voir ci-dessous. +- li Fin de partie : standard. ++ Note : le (vrai) nom initial de cette variante est "l'Échiqueté". ++ "Checkered" en est la traduction anglaise, et ce dernier terme me paraît ++ plus lisible pour des non francophones. +  + p La partie évolue potentiellement en deux phases. +  +@@ -32,101 +22,101 @@ h2.stageDelimiter Phase 1 + h3 Bases +  + ol +- li. +- Toute capture produit une nouvelle pièce, prenant soit la nature du +- capturant, soit celle du capturée. +- li. +- La nouvelle pièce issue de ce processus a une nouvelle couleur : "échiqueté", +- comme illustré ci-dessus. +- li. +- Les pièces échiquetées appartiennent au joueur ayant le trait, et +- peuvent alors capturer les pièces adverses. ++ li. ++ Toute capture produit une nouvelle pièce, prenant soit la nature du ++ capturant, soit celle du capturée. ++ li. ++ La nouvelle pièce issue de ce processus a une nouvelle couleur : "échiqueté", ++ comme illustré ci-dessus. ++ li. ++ Les pièces échiquetées appartiennent au joueur ayant le trait, et ++ peuvent alors capturer les pièces adverses. +  + p Remarques : + ul +- li. +- Un coup échiqueté non capturant ne peut être défait juste après, +- car cela répéterait la position. +- li Les pièces échiquetées ne peuvent pas être capturées. ++ li. ++ Un coup échiqueté non capturant ne peut être défait juste après, ++ car cela répéterait la position. ++ li Les pièces échiquetées ne peuvent pas être capturées. +  + figure.diagram-container +- .diagram +- | fen:2kr4/pp6/2p5/4ss1r/1P2ns1P/2Np4/P1P1P1BP/R2o1RK1: +- figcaption. +- Les noirs jouent Rxh4=P. (Pion échiqueté en) h5 est alors autorisé, +- car la nature de la pièce a changé. ++ .diagram ++ | fen:2kr4/pp6/2p5/4ss1r/1P2ns1P/2Np4/P1P1P1BP/R2o1RK1: ++ figcaption. ++ Les noirs jouent Rxh4=P. (Pion échiqueté en) h5 est alors autorisé, ++ car la nature de la pièce a changé. +  + h3 Pions +  + ul +- li. +- Les pions peuvent avancer de deux cases seulement depuis leur rangée +- de départ, et ce une seule fois dans la partie : un pion échiqueté +- revenant sur une rangée de départ ne peut pas avancer de deux cases. +- Cependant : +- li. +- Un pion échiqueté issu d'une capture sur la rangée de départ garde +- le droit d'avancer de deux cases. +- li. +- Les pions échiquetés ne peuvent capturer en passant, puisque pendant que +- le pion adverse "passait" ils étaient dans le même camp. ++ li. ++ Les pions peuvent avancer de deux cases seulement depuis leur rangée ++ de départ, et ce une seule fois dans la partie : un pion échiqueté ++ revenant sur une rangée de départ ne peut pas avancer de deux cases. ++ Cependant : ++ li. ++ Un pion échiqueté issu d'une capture sur la rangée de départ garde ++ le droit d'avancer de deux cases. ++ li. ++ Les pions échiquetés ne peuvent capturer en passant, puisque pendant que ++ le pion adverse "passait" ils étaient dans le même camp. +  + p.bold.bigfont Pour jouer, vous pouvez arrêter de lire ici. +  + h3 Mat ou pat ? +  + p. +- La situation du diagramme suivant ressemble à un mat, mais le roi est +- "attaqué" par un pion échiqueté : celui-ci appartient pour l'instant aux blancs. +- On peut donc considérer qu'ils ne sont pas vraiment en échec +- puisqu'incapables de "rendre le trait". +- Sans le fou noir en a7 ce serait mat (indiscutable), car le roi pourrait +- virtuellement aller en g1 avant de se faire capturer par le pion caméléon. ++ La situation du diagramme suivant ressemble à un mat, mais le roi est ++ "attaqué" par un pion échiqueté : celui-ci appartient pour l'instant aux blancs. ++ On peut donc considérer qu'ils ne sont pas vraiment en échec ++ puisqu'incapables de "rendre le trait". ++ Sans le fou noir en a7 ce serait mat (indiscutable), car le roi pourrait ++ virtuellement aller en g1 avant de se faire capturer par le pion caméléon. +  + figure.diagram-container +- .diagram +- | fen:7k/b5pp/8/8/8/8/6ss/7K: +- figcaption Après 1...g2+(#?) ++ .diagram ++ | fen:7k/b5pp/8/8/8/8/6ss/7K: ++ figcaption Après 1...g2+(#?) +  + p. +- L'interface considère que c'est mat dans les deux cas, partant +- du principe que "c'est mat si on ne peut pas bouger et que l'adversaire +- au trait peut capturer le roi" (éventuellement après un coup interdit). ++ L'interface considère que c'est mat dans les deux cas, partant ++ du principe que "c'est mat si on ne peut pas bouger et que l'adversaire ++ au trait peut capturer le roi" (éventuellement après un coup interdit). +  + h2.stageDelimiter Phase 2 +  + p.warn Cette étape n'est pas (et ne sera probablement jamais) implémentée ici. +  + p. +- Au cours de la partie l'un des deux joueurs peut décider de prendre le +- contrôle des pièces échiquetées. Celles-ci deviennent alors autonomes +- et vulnérables aux captures - la phase 2 commence. +- L'autre joueur déplace alors à la fois les pièces blanches et noires, +- avec pour but l'élimination du camp échiqueté. +- Ce dernier peut gagner en matant l'un des deux rois. ++ Au cours de la partie l'un des deux joueurs peut décider de prendre le ++ contrôle des pièces échiquetées. Celles-ci deviennent alors autonomes ++ et vulnérables aux captures - la phase 2 commence. ++ L'autre joueur déplace alors à la fois les pièces blanches et noires, ++ avec pour but l'élimination du camp échiqueté. ++ Ce dernier peut gagner en matant l'un des deux rois. +  + h4 Variante de la phase 2 + p. +- Un observateur peut à tout moment décider de se joindre à la partie +- en contrôlant le camp échiqueté. On se retrouve alors dans un jeu à trois +- couleurs et trois joueurs, avec quelques subtilités à résoudre. +- Ceci a été testé dans quelques parties (IRL) organisées par l'auteur de +- cette règle. ++ Un observateur peut à tout moment décider de se joindre à la partie ++ en contrôlant le camp échiqueté. On se retrouve alors dans un jeu à trois ++ couleurs et trois joueurs, avec quelques subtilités à résoudre. ++ Ceci a été testé dans quelques parties (IRL) organisées par l'auteur de ++ cette règle. +  + h3 Coups spéciaux +  + p Les pions échiquetées peuvent... + ul +- li se déplacer et capturer dans toutes les directions ; +- li prendre en passant, +- li et être promus sur la première ou huitième rangée. ++ li se déplacer et capturer dans toutes les directions ; ++ li prendre en passant, ++ li et être promus sur la première ou huitième rangée. +  + h3 Remerciements +  + ul +- li. +- Les règles de l'Échiqueté ont été déterminées par Patrick Bernier, puis +- développées avec l'aide de Benjamin Auder. +- li. +- Merci également à Olive Martin, Christian Poisson, Bevis Martin, +- Laurent Nouhaud et Frédéric Fradet. ++ li. ++ Les règles de l'Échiqueté ont été déterminées par Patrick Bernier, puis ++ développées avec l'aide de Benjamin Auder. ++ li. ++ Merci également à Olive Martin, Christian Poisson, Bevis Martin, ++ Laurent Nouhaud et Frédéric Fradet. +diff --git a/client/src/translations/rules/Chess960/en.pug b/client/src/translations/rules/Chess960/en.pug +index 2d1db6b..006fdf2 100644 +--- a/client/src/translations/rules/Chess960/en.pug ++++ b/client/src/translations/rules/Chess960/en.pug +@@ -1,8 +1,6 @@ + p.boxed + | Orthodox rules (with shuffled starting position). +  +-h3 Basics +- + p. + Chess is played between two players, one moving the white pieces and the other + the black pieces. A "move" consists of a piece's movement on the board. +diff --git a/client/src/translations/rules/Chess960/fr.pug b/client/src/translations/rules/Chess960/fr.pug +index 9b62de1..a21297c 100644 +--- a/client/src/translations/rules/Chess960/fr.pug ++++ b/client/src/translations/rules/Chess960/fr.pug +@@ -1,8 +1,6 @@ + p.boxed + | Jeu orthodoxe (avec une position de départ aléatoire). +  +-h3 Bases +- + p. + Les échecs sont un jeu entre deux joueurs, l'un déplaçant les pièces blanches + et l'autre les pièces noires. Un "coup" consiste en un tel mouvement sur