Draft Checkered + fix getBoard and Capablanca chess
[xogo.git] / variants / Chakart / complete_rules.html
... / ...
CommitLineData
1<html>
2<head>
3 <title>Chakart Rules</title>
4 <link href="/common.css" rel="stylesheet"/>
5 <link href="/variants/Chakart/style.css" rel="stylesheet"/>
6</head>
7<body>
8
9<div class="full-rules">
10<h1>Chakart Rules</h1>
11
12<div>
13 <p>
14 Pieces move as usual, but they all hide a special "power"
15 inspired by Mario Kart:
16 </p>
17 <ul>
18 <li>
19 The pawn (Toad) leaves a "turbo" mushroom on its initial square,
20 or on the intermediate one in case of a two squares move.
21 </li>
22 <li>
23 The knight (Yoshi) let a surprise egg on its initial square.
24 See about egg effect below.
25 </li>
26 <li>
27 The rook (Donkey) put a banana on a square diagonally adjacent to the
28 arrival one, at random, if possible.
29 </li>
30 <li>
31 The bishop (Wario) put a bomb on a square orthogonally adjacent to the
32 arrival one, at random, if possible.
33 </li>
34 <li>
35 The queen (Mario) can play a stealth move once in the game:
36 the opponent will only know that a queen moved - to an empty square.
37 A promoted queen also has this power if not already used.
38 </li>
39 <li>
40 The king (Peach) can "throw a shell" on an enemy reachable by a queen,
41 once in the game. A promoted king also has this power, if not already
42 used. The capture is done remotely without moving.
43 </li>
44 </ul>
45 <p>The king cannot castle, and pawns don't capture en passant.</p>
46 <figure>
47 <div class="diag"
48 data-fen='qbbrrnek/pppppppp/5n2/8/1BwP4/3m4/PPP1PPPP/QBNN1KRR b 3 {"flags":"1111"}'>
49 </div>
50 <figcaption>After 1.d4 Nf6 2.Bb4 (put a bomb on c4).</figcaption>
51 </figure>
52</div>
53
54<div>
55 <p>
56 So the goal is to capture Peach :) If pawns promoted into king, then all
57 of them must be captured. Since it still looked too easy, the 4 mentioned
58 objects alter the move played, generally at random:
59 </p>
60 <ul>
61 <li>
62 A king or a pawn arriving on a mushroom advance one square further,
63 while a knight jump another time in the same direction, if possible.
64 Pawns can "eat" objects diagonally too.
65 Mushrooms have no effect on sliders (queen, rook, bishop).
66 </li>
67 <li>
68 A piece arriving on a banana (resp. bomb) is redirected at random by one
69 square in an orthogonal (resp. diagonal) direction. If a piece (of any
70 color!) stands on that square, then it is captured.
71 </li>
72 <li>
73 The effects can cumulate, as illustrated on the diagram: the pawn
74 "captures" the banana on e4, and is then redirected toward e5: mushroom,
75 it jumps to the next square, which sends it on d5 eating the white rook.
76 (We can imagine that the hope was to eat the black knight instead).
77 A piece may ends on its initial square, move back, and so on. That being
78 said, a given object can only be used once on the path.
79 </li>
80 </ul>
81 <figure>
82 <div class="diag left"
83 data-fen='rn1b2qk/pbpp1ppp/1w2wp2/1p1Rm3/3PdnPr/4PPd1/PPP1m2P/NNB1KRQB b 1 {"flags":"1111"}'>
84 </div>
85 <div class="diag right"
86 data-fen='rn1b2qk/pbpp1ppp/1w3p2/1p1P4/3P1nPr/4P1d1/PPP1m2P/NNB1KRQB w 2 {"flags":"1111"}'>
87 </div>
88 <figcaption>Left: before 1.fxe4. Right: after the move, ending on d6.</figcaption>
89 </figure>
90</div>
91
92<div>
93 <p>
94 The egg case is more complex: a move ending on an egg triggers an effect
95 chosen at random, positive or negative. There are four bonus and four
96 penalties. They are introduced in a dual form: first the positive, then
97 the negative.
98 </p>
99 <ul>
100 <li>
101 King Boo (*B) let you exchange the position of any pair of pieces on the
102 board.
103 </li>
104 <li>Koopa (*K) drives the piece back onto its initial square.</li>
105 <li>
106 Toadette (*T) allows to place a new &mdash; random &mdash; piece on the
107 board. If the piece is dropped on an egg, banana or bomb, its effects
108 are applied.
109 </li>
110 <li>
111 Chomp (*C) eats the piece, which is thus captured. If it's Peach, then
112 bad luck, game over :)
113 </li>
114 <li>Daisy (*D) allows to play again with any of your pieces.</li>
115 <li>
116 Bowser (*M) immobilizes the piece (which is surrounded by a light green
117 halo). It won't be allowed to move on the next turn.
118 </li>
119 <li>Luigi (*L) changes the color of a random enemy piece.</li>
120 <li>Waluigi (*W) changes the color of one of your pieces (at random).</li>
121 </ul>
122 <figure>
123 <div class="diag left"
124 data-fen='erk2rq1/1m2e1m1/mppmne1m/p1BpppPp/mm1P1QbP/1Nmnw1dm/e1mP2d1/1BwR1RKN b 1 {"flags":"1111"}'>
125 </div>
126 <div class="diag right"
127 data-fen='erk3Q1/1m2e1d1/mppmnr1m/p1BpppPp/mm1P1QbP/1Nmnw1dm/e1mP2d1/1BwR1RKN w 2 {"flags":"1111"}'>
128 </div>
129 <figcaption>
130 1...Rxf6*W: Waluigi turns the g8 queen into white.
131 This last can then capture the king. Bad luck :(
132 </figcaption>
133 </figure>
134</div>
135
136</div>
137
138</body>
139<script src="/utils/drawDiagrams.js"></script>
140<script>fenToDiag("Chakart");</script>
141</html>