After refactoring. Seems more or less ok
[xogo.git] / variants / Baroque / complete_rules.html
1 <html>
2 <head>
3 <title>Baroque Rules</title>
4 <link href="/common.css" rel="stylesheet"/>
5 <link href="/variants/Baroque/style.css" rel="stylesheet"/>
6 </head>
7 <body>
8
9 <div class="full-rules">
10 <h1>Baroque Rules</h1>
11
12 <div>
13 <h4>Pieces names</h4>
14 <p>Pieces names refer to the way they capture, which is described later.</p>
15 <ul>
16 <li>Pawn : Pawn or Pincer</li>
17 <li>Rook : Coordinator</li>
18 <li>Knight : Long Leaper</li>
19 <li>Bishop : Chameleon</li>
20 <li>Queen : Withdrawer</li>
21 <li>King : King (same behavior as in standard chess)</li>
22 </ul>
23 <p>
24 There is also a new piece : the immobilizer,
25 represented by an upside-down rook.
26 </p>
27 <figure>
28 <div class="diag"
29 data-fen='8/8/4m3/8/8/8/3M4/8 w 0'>
30 </div>
31 <figcaption>Immobilizers on d2 and e6.</figcaption>
32 </figure>
33 </div>
34
35 <div>
36 <h3>Non-capturing moves</h3>
37 <p>
38 Pawns move as orthodox rooks, and the king moves as usual,
39 one square in any direction.
40 All other pieces move like an orthodox queen.
41 </p>
42 <p>
43 When a piece is adjacent to an enemy immobilizer, it cannot move unless
44 the enemy immobilizer is adjacent to a friendly immobilizer or chameleon
45 (cancelling the powers of the opponent's immobilizer).
46 </p>
47 <p>
48 Note : this corresponds to the "pure rules" described on
49 <a href="http://www.inference.org.uk/mackay/ultima/ultima.html">
50 this page
51 </a>
52 , which slightly differ from the initial rules.
53 The aim is to get rid of the weird suicide rule by weakening the
54 immobilizers lock. In particular, in the original rules two adjacent
55 immobilizer are stuck forever until one is captured. Note that it's still
56 the case if all chameleons disappeared.
57 </p>
58 </div>
59
60 <div>
61 <h3>Capturing moves</h3>
62 <p>
63 Easy case first: the king captures as usual, by moving onto an adjacent
64 square occupied by an enemy piece. But this is the only piece following
65 orthodox rules, and also the only one which captures by moving onto an
66 occupied square. All other pieces capture passively: they land on a free
67 square and captured units are determined by some characteristics of the
68 movement.
69 </p>
70 <p>Note: the immobilizer does not capture.</p>
71
72 <h4>Pawns/Pincers</h4>
73 <p>
74 If at the end of its movement a pawn is horizontally or vertically adjacent
75 to an enemy piece, which itself is next to a friendly piece (in the same
76 direction), the "pinced" unit is removed from the board.
77 </p>
78 <figure>
79 <div class="diag"
80 data-fen='7k/5ppp/2N5/2n5/3rB3/8/PPP5/K7 w 0'>
81 </div>
82 <figcaption>1.Pc2c4 captures both coordinator and long leaper.</figcaption>
83 </figure>
84
85 <h4>Coordinators (rooks)</h4>
86 <p>
87 Imagine that rook and king of the same color are two corners of a rectangle
88 (this works if these two pieces are unaligned).
89 If at the end of a rook move an enemy piece stands in any of the two
90 remaining corners, it is captured.
91 </p>
92 <figure>
93 <div class="diag"
94 data-fen='8/2b4K/2q5/3p1N1p/8/8/2R5/k7 w 0'>
95 </div>
96 <figcaption>1.Rc5 captures on c7 and h5.</figcaption>
97 </figure>
98
99 <h4>Long leapers (knights)</h4>
100 <p>
101 A knight captures exactly as a queen in international draughts game: by
102 jumping over its enemies, as many times as it can/want but always in the
103 same direction. In this respect it is less powerful than a draughts' queen:
104 on the following diagram c8 or f6 cannot be captured.
105 However, the knight does not have to maximize the number of captured units
106 (as is the case in draughts).
107 </p>
108 <figure>
109 <div class="diag"
110 data-fen='2n4k/3r4/5b2/3p4/1m6/3b4/3N4/K7 w 0'
111 data-marks='d4,d6,d8,a5'>
112 </div>
113 <figcaption>All marked squares captures are playable from d2.</figcaption>
114 </figure>
115
116 <h4>Withdrawer (queen)</h4>
117 <p>
118 The queen captures by moving away from an adjacent enemy piece, in the
119 opposite direction (without jumping, the path must be free).
120 </p>
121 <figure>
122 <div class="diag"
123 data-fen="7k/8/8/3Qr3/8/8/8/K7 w 0"
124 data-marks="a5,b5,c5">
125 </div>
126 <figcaption>1.Qa5, 1.Qb5 or 1.Qc5 captures the black rook.</figcaption>
127 </figure>
128
129 <h4>Chameleon (bishop)</h4>
130 <p>The chameleon captures pieces in the way they would capture. So, it</p>
131 <ul>
132 <li>pinces pawns (if moving like a pawn),</li>
133 <li>withdraws from withdrawers,</li>
134 <li>leaps over long leapers,</li>
135 <li>coordinates coordinators.</li>
136 </ul>
137 <p>...and these captures can be combined.</p>
138 <p>
139 Remark: the move indicated on the diagram doesn't capture the black pincer
140 on e5, since it is a diagonal move (not like a pawn).
141 </p>
142 <figure>
143 <div class="diag"
144 data-fen="7k/8/8/r3pP2/2n5/8/B7/K7 w 0"
145 data-marks="a5,c4">
146 </div>
147 <figcaption>1.Bd5 captures the two marked pieces.</figcaption>
148 </figure>
149 <p>
150 Besides, chameleon immobilizes immobilizers (but cannot capture them since
151 they do not capture).
152 </p>
153 <p>
154 A chameleon captures the king in the same way the king captures, which
155 means that a chameleon adjacent to a king gives check.
156 </p>
157 </div>
158
159 <div>
160 <h3>End of the game</h3>
161 <p>
162 The game ends by checkmate or stalemate as in standard chess. Note however
163 that checks are more difficult to see, because of the exotic capturing
164 rules. For example, on the following diagram the white king cannot move to
165 e5 because then the black pawn could capture by moving next to it.
166 </p>
167 <figure>
168 <div class="diag"
169 data-fen="7k/8/8/p4r/4K3/8/8/8 w 0"
170 data-marks="e5">
171 </div>
172 <figcaption>1.Ke5 is impossible</figcaption>
173 </figure>
174 </div>
175
176 <div>
177 <h3>More information</h3>
178 <p>
179 The
180 <a href="https://en.wikipedia.org/wiki/Baroque_chess">Wikipedia page</a>
181 is a good starting point.
182 </p>
183 </div>
184
185 </div>
186
187 </body>
188 <script src="/utils/drawDiagrams.js"></script>
189 <script>fenToDiag("Baroque");</script>
190 </html>