From: Benjamin Auder Goal: bring a piece safely on the last rank. Pieces move to the next board after playing (other side of the mirror). Win by mate-capturing the enemy king.
+```wget https://xogo.live/extras.zip && unzip extras.zip```
Rename parameters.js.dist → parameters.js, and edit file.
```npm i```
diff --git a/common.css b/common.css
index 5fee7ef..eabf641 100644
--- a/common.css
+++ b/common.css
@@ -260,6 +260,10 @@ piece.mark.transparent {
color: #0D1C46;
font-weight: bold;
}
+.full-rules .img-center {
+ display: block;
+ margin: 0 auto;
+}
/* TODO: use same CSS for rules and full-rules? */
.full-rules p, .full-rules ul, .full-rules ol {
margin: 10px 0;
diff --git a/variants/Alapo/rules.html b/variants/Alapo/rules.html
index 9ec57e0..910613b 100644
--- a/variants/Alapo/rules.html
+++ b/variants/Alapo/rules.html
@@ -2,8 +2,10 @@
The goal is to eliminate all enemy pawns.
- - Full rules description. - ++ + Full rules description. + +
diff --git a/variants/Arena/rules.html b/variants/Arena/rules.html index 5aa8716..b9098c3 100644 --- a/variants/Arena/rules.html +++ b/variants/Arena/rules.html @@ -14,8 +14,10 @@ A player who lose both king and queen also lose the game. - - chessvariants page. - + diff --git a/variants/Atomic/rules.html b/variants/Atomic/rules.html index 6067ed5..6675403 100644 --- a/variants/Atomic/rules.html +++ b/variants/Atomic/rules.html @@ -5,6 +5,8 @@Win by checkmate or by exploding the enemy king.
- - lichess page. - + diff --git a/variants/Avalam/rules.html b/variants/Avalam/rules.html index 83e301e..6883b3b 100644 --- a/variants/Avalam/rules.html +++ b/variants/Avalam/rules.html @@ -9,8 +9,10 @@ largest number of towers of his color (on top) wins. - - More informations. - + diff --git a/variants/Avalanche/rules.html b/variants/Avalanche/rules.html index b8bb255..9528d3a 100644 --- a/variants/Avalanche/rules.html +++ b/variants/Avalanche/rules.html @@ -6,8 +6,10 @@The goal is either to checkmate or to capture the enemy king.
- - chessvariants page. - + diff --git a/variants/Balaklava/rules.html b/variants/Balaklava/rules.html index 97c96a6..96ce11b 100644 --- a/variants/Balaklava/rules.html +++ b/variants/Balaklava/rules.html @@ -10,8 +10,10 @@+ Bario is a chess variant invented by Panos Louridas in 1998. + + His website + + contains many examples and explanations. + See also the discussion + + on chessvariants.com + . +
-figure - img.img-center(src="/variants/Bario/chessboard2.jpg" style="width:75%") - figcaption.text-center. - [With author's permission] +Queens, rooks, bishops and knights begin the game in a reserve below the board, because their location isn't determined yet. At each turn, you can either move something already defined on the board, or -ol - li move a piece from your reserve to any question mark, and then - li move the now defined piece on the board. +
+Your pieces remain in an undefined state until they are moved.
-figure.diagram-container - .diagram - | fen:uuuuu1uk/p2p1qp1/1p6/7p/7P/5N2/PP1P1PP1/UUUKU1UU: - figcaption The white king cannot move, a rook might be on c8 or e8 +An undefined piece gives check if some specialization giving check exists.
-h4 Details, special cases +At the first move, you must select a square for the king anywhere on the first rank — preferably in a corner. This deviates from the original intention of the author, but this way you will not need to castle later in the game. Click on a square to place the king. +
-p. +If after your move all your pieces are defined (and weren't before), then all pieces on board revert to undefined state, unless: -ul - li. +
+If one of your undefined pieces is captured, you first have to choose which one was captured from the reserve: place it at the capture location. +
+ + + + + diff --git a/variants/Bario/rules.html b/variants/Bario/rules.html index 733246f..2dbcf24 100644 --- a/variants/Bario/rules.html +++ b/variants/Bario/rules.html @@ -14,12 +14,16 @@ all pieces on board return to undefined state. - - Author's website. - + - - Full rules description. - ++ + Full rules description. + +
diff --git a/variants/Baroque/complete_rules.html b/variants/Baroque/complete_rules.html index 1ac46cc..87709ed 100644 --- a/variants/Baroque/complete_rules.html +++ b/variants/Baroque/complete_rules.html @@ -5,7 +5,6 @@ -The goal is still to checkmate.
- - Full rules description. - ++ + Full rules description. + +
diff --git a/variants/Benedict/rules.html b/variants/Benedict/rules.html index db103a1..c2798b3 100644 --- a/variants/Benedict/rules.html +++ b/variants/Benedict/rules.html @@ -10,8 +10,10 @@ where only the queen can change the color of enemy pieces. - - chessvariants page. - + diff --git a/variants/Berolina/rules.html b/variants/Berolina/rules.html index bfa1cca..1824b27 100644 --- a/variants/Berolina/rules.html +++ b/variants/Berolina/rules.html @@ -1,3 +1,7 @@ -Pawns movements are reversed: they capture forward, and move diagonally. From the initial rank they can move two squares in diagonal. See also.
++ Pawns movements are reversed: they capture forward, and move diagonally. + From the initial rank they can move two squares in diagonal. + See also. +
diff --git a/variants/Cannibal/rules.html b/variants/Cannibal/rules.html index 480b5cf..81d9c58 100644 --- a/variants/Cannibal/rules.html +++ b/variants/Cannibal/rules.html @@ -1,5 +1,7 @@After each capture, the capturer transforms into the captured piece.
- - chessvariants page. - + diff --git a/variants/Chakart/complete_rules.html b/variants/Chakart/complete_rules.html index 7bf3080..d1c8fd6 100644 --- a/variants/Chakart/complete_rules.html +++ b/variants/Chakart/complete_rules.html @@ -5,7 +5,6 @@ -+ + Full rules description. + +
diff --git a/variants/Checkered/complete_rules.html b/variants/Checkered/complete_rules.html index 5f21663..503e78d 100644 --- a/variants/Checkered/complete_rules.html +++ b/variants/Checkered/complete_rules.html @@ -6,7 +6,6 @@ -Note: the initial French name for this variant is "l'Ãchiqueté".
@@ -52,8 +51,10 @@+ + Full rules description. + +
diff --git a/variants/Chess960/rules.html b/variants/Chess960/rules.html index 776fa4a..5192abe 100644 --- a/variants/Chess960/rules.html +++ b/variants/Chess960/rules.html @@ -1,3 +1,5 @@ - - Orthodox chess rules. - + diff --git a/variants/Circular/rules.html b/variants/Circular/rules.html index 6db9dd8..f9067b7 100644 --- a/variants/Circular/rules.html +++ b/variants/Circular/rules.html @@ -1,4 +1,4 @@
-Lower and upper sides of the board communicate.
+ Lower and upper sides of the board communicate.
All pawns move forward (up).
Captured pieces can be landed later in a non-capturing form;
-they regain their ability to capture when captured again.
+ Captured pieces can be landed later in a non-capturing form;
+ they regain their ability to capture when captured again.
+
See also their Discord server :-)
diff --git a/variants/Crazyhouse/rules.html b/variants/Crazyhouse/rules.html index 148015a..f4d239f 100644 --- a/variants/Crazyhouse/rules.html +++ b/variants/Crazyhouse/rules.html @@ -2,6 +2,8 @@Promoted pawns return on the board as pawns.
- - lichess page. - + diff --git a/variants/Cwda/complete_rules.html b/variants/Cwda/complete_rules.html index 9114c05..2276050 100644 --- a/variants/Cwda/complete_rules.html +++ b/variants/Cwda/complete_rules.html @@ -5,7 +5,6 @@ -Chess with different armies on chessvariants.com.
++ + Chess with different armies + + on chessvariants.com. +
diff --git a/variants/Cwda/rules.html b/variants/Cwda/rules.html index cbd2d72..dac6d17 100644 --- a/variants/Cwda/rules.html +++ b/variants/Cwda/rules.html @@ -5,8 +5,10 @@ . - - Full rules description. - ++ + Full rules description. + +
diff --git a/variants/Dark/rules.html b/variants/Dark/rules.html index 137a626..66d2828 100644 --- a/variants/Dark/rules.html +++ b/variants/Dark/rules.html @@ -2,8 +2,10 @@Win by capturing the enemy king.
- - Wikipedia page. - + diff --git a/variants/Doublemove/rules.html b/variants/Doublemove/rules.html index 5ac21d4..2a74cbf 100644 --- a/variants/Doublemove/rules.html +++ b/variants/Doublemove/rules.html @@ -1,7 +1,9 @@After the initial white move, each player moves twice on each turn.
- - chessvariants page. - + diff --git a/variants/Giveaway/rules.html b/variants/Giveaway/rules.html index 3e257bd..54e40aa 100644 --- a/variants/Giveaway/rules.html +++ b/variants/Giveaway/rules.html @@ -1,5 +1,7 @@Win by losing all your material, or get stalemated.
- - lichess page. - + diff --git a/variants/Hex/rules.html b/variants/Hex/rules.html index 15a91b1..b4d7628 100644 --- a/variants/Hex/rules.html +++ b/variants/Hex/rules.html @@ -1,11 +1,15 @@Win by connecting both edges of your color.
- - Detailed rules. - + - - A Strategy Guide. - + diff --git a/variants/Madrasi/rules.html b/variants/Madrasi/rules.html index 741869c..96627ff 100644 --- a/variants/Madrasi/rules.html +++ b/variants/Madrasi/rules.html @@ -1,7 +1,9 @@Pieces of same nature attacking each other are immobilized.
- - Wikipedia page. - + diff --git a/variants/Progressive/rules.html b/variants/Progressive/rules.html index 0521495..b957f45 100644 --- a/variants/Progressive/rules.html +++ b/variants/Progressive/rules.html @@ -3,6 +3,8 @@ then White play 3, and so on. - - Wikipedia page. - + diff --git a/variants/Recycle/rules.html b/variants/Recycle/rules.html index ceea70c..badd18b 100644 --- a/variants/Recycle/rules.html +++ b/variants/Recycle/rules.html @@ -3,8 +3,10 @@ can be self-captured and dropped later in the game. - - chessvariants page. - + diff --git a/variants/Refusal/rules.html b/variants/Refusal/rules.html index 5c0b533..0eadaef 100644 --- a/variants/Refusal/rules.html +++ b/variants/Refusal/rules.html @@ -3,8 +3,10 @@ Different pawn promotions count as different moves. - - chessvariants page. - + diff --git a/variants/Rifle/rules.html b/variants/Rifle/rules.html index 650264b..79084a5 100644 --- a/variants/Rifle/rules.html +++ b/variants/Rifle/rules.html @@ -1,7 +1,9 @@Pieces capture (as usual) without moving.
- - chessvariants page. - + diff --git a/variants/Suction/rules.html b/variants/Suction/rules.html index a9cfb2e..9ca71e4 100644 --- a/variants/Suction/rules.html +++ b/variants/Suction/rules.html @@ -5,8 +5,10 @@Win by bringing the enemy king on your first rank.
- - chessvariants page. - + diff --git a/variants/_Antiking/rules.html b/variants/_Antiking/rules.html index e850c5e..e52edbb 100644 --- a/variants/_Antiking/rules.html +++ b/variants/_Antiking/rules.html @@ -18,8 +18,10 @@