Simplified underCheck / getCheckSquares logic. Debugging Berolina
[vchess.git] / views / rules / Checkered / en.pug
CommitLineData
1d184b4c 1p.boxed
92342261
BA
2 | The capture of an enemy piece produces a new "checkered" piece belonging
3 | to both players.
1d184b4c
BA
4
5figure.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
14h3 Specifications
15
16ul
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
24p The game potentially evolves in two stages.
25
26h2.stageDelimiter Stage 1
27
28h3 Basics
29
30ol
92342261
BA
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.
1d184b4c
BA
40
41span Remarks:
42ul
e8e4adbd
BA
43 li.
44 A non-capturing checkered move cannot be "undone" right after since
45 this would repeat the same position.
2316f8b8 46 li Checkered pieces cannot be captured.
1d184b4c
BA
47
48figure.diagram-container
49 .diagram
50 | fen:2kr4/pp6/2p5/4ss1r/1P2ns1P/2Np4/P1P1P1BP/R2o1RK1:
51 figcaption.
92342261
BA
52 Black plays Rxh4=P. (Checkered pawn to) h5 is allowed then,
53 because piece's nature changed.
1d184b4c 54
e8e4adbd 55h3 Pions
1d184b4c
BA
56
57ul
2316f8b8
BA
58 li.
59 Pawns can jump two squares only from their initial rank, and only once in the game:
60 a checkered pawn returning on the pawns' start rank cannot jump. However:
61 li.
62 A pawn captured on its starting square (thus becoming "checkered") keeps the
63 right to advance two squares.
64 li.
65 Checkered pawns cannot capture en passant, because while the pawn was "passing"
66 they were of the same color.
1d184b4c
BA
67
68h2.stageDelimiter Stage 2
69
6752407b 70p.warn This stage is not (and probably will never be) implemented.
e7cfa68d 71
1d184b4c 72p.
92342261
BA
73 During the game one of the two players can decide to take control of the
74 checkered pieces.
1d184b4c 75 They thus become autonomous and vulnerable to being captured - stage 2 begins.
6752407b
BA
76 The other player is in charge of both the white and black pieces, and tries to
77 eliminate checkered pieces.
1d184b4c
BA
78 The checkered side wins by checkmating either the white or black king.
79
6752407b
BA
80h4 Variant of stage 2
81p.
92342261
BA
82 An observer could decide to join the game by taking the checkered pieces
83 at any moment.
6752407b
BA
84 It then becomes a chess game with three players, with some subtelties to be resolved.
85 It was tested in some (real life) games organised by the variant creator.
86
1d184b4c
BA
87h3 Special moves
88
89span Checkered pawns can...
90ul
91 li move and capture in either direction;
92 li take en passant,
93 li be promoted on either the first or eighth row.
94
95h3 Credits
96
97ul
6752407b
BA
98 li.
99 The rules of Checkered Chess were thought up by Patrick Bernier and developed
100 with the help of Benjamin Auder.
101 li.
102 Thanks also to Olive Martin, Christian Poisson, Bevis Martin, Laurent Nouhaud
103 and Frédéric Fradet.