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