Some code cleaning + clarifying (TODO: work on variables names)
[vchess.git] / views / rules / Checkered.pug
1 p.boxed
2 | The capture of an enemy piece produces a new "checkered" piece belonging
3 | to both players.
4
5 figure.showPieces.center-align
6 img(src="/images/tmp_checkered/cp.png")
7 img(src="/images/tmp_checkered/cr.png")
8 img(src="/images/tmp_checkered/cn.png")
9 img(src="/images/tmp_checkered/cb.png")
10 img(src="/images/tmp_checkered/cq.png")
11 img(src="/images/tmp_checkered/no_ck.png")
12 figcaption Checkered pieces, born after captures.
13
14 h3 Specifications
15
16 ul
17 li Chessboard: standard.
18 li Material: additional checkered pieces.
19 li Non-capturing moves: standard; see below.
20 li Special moves: standard; see below.
21 li Captures: standard; see below.
22 li End of game: standard.
23
24 p The game potentially evolves in two stages.
25
26 h2.stageDelimiter Stage 1
27
28 h3 Basics
29
30 ol
31 li
32 | Each capture produces a new piece, taking on nature of
33 | the capturing or captured one.
34 li
35 | The new piece arising from a capture has a new color:
36 | "checkered", as illustrated above.
37 li
38 | All checkered pieces belong to the player in turn and can
39 | capture the opponents pieces.
40
41 span Remarks:
42 ul
43 li A checkered move cannot be "undone" right after if this repeat the position.
44 li Checkered chess pieces cannot be captured.
45
46 figure.diagram-container
47 .diagram
48 | fen:2kr4/pp6/2p5/4ss1r/1P2ns1P/2Np4/P1P1P1BP/R2o1RK1:
49 figcaption.
50 Black plays Rxh4=P. (Checkered pawn to) h5 is allowed then,
51 because piece's nature changed.
52
53 h3 Pawn moves
54
55 ul
56 li A pawn captured on its starting square keeps the right to advance two squares.
57 li Checkered pawns cannot capture en passant.
58
59 h2.stageDelimiter Stage 2
60
61 p.warn This stage is not (and probably will never be) implemented.
62
63 p.
64 During the game one of the two players can decide to take control of the
65 checkered pieces.
66 They thus become autonomous and vulnerable to being captured - stage 2 begins.
67 The other player is in charge of both the white and black pieces, and tries to
68 eliminate checkered pieces.
69 The checkered side wins by checkmating either the white or black king.
70
71 h4 Variant of stage 2
72 p.
73 An observer could decide to join the game by taking the checkered pieces
74 at any moment.
75 It then becomes a chess game with three players, with some subtelties to be resolved.
76 It was tested in some (real life) games organised by the variant creator.
77
78 h3 Special moves
79
80 span Checkered pawns can...
81 ul
82 li move and capture in either direction;
83 li take en passant,
84 li be promoted on either the first or eighth row.
85
86 h3 Credits
87
88 ul
89 li.
90 The rules of Checkered Chess were thought up by Patrick Bernier and developed
91 with the help of Benjamin Auder.
92 li.
93 Thanks also to Olive Martin, Christian Poisson, Bevis Martin, Laurent Nouhaud
94 and Frédéric Fradet.