Fix '3 knights' bug + tiny advance on problems tab
[vchess.git] / views / rules / Ultima.pug
CommitLineData
32cfcea4 1p.boxed
2f3c8451 2 | Most pieces look the same but behave very differently.
32cfcea4 3 | They generally move like an orthodox queen,
2eef6db6 4 | but capturing rules are complex.
32cfcea4
BA
5
6h3 Specifications
7
8ul
9 li Chessboard: standard.
10 li Material: "standard".
11 li Non-capturing moves: often like queen.
12 li Special moves: none.
13 li Captures: very special.
2f3c8451 14 li End of game: standard; see below.
32cfcea4 15
15c1295a
BA
16h4 Pieces names
17
18p Pieces names refer to the way they capture, which is described later.
19ul
20 li Pawn : pawn or pincer
21 li Rook : coordinator
22 li Knight : long leaper
23 li Bishop : chameleon
24 li Queen : withdrawer
25 li King : king (same behavior as in standard chess)
26p.
27 Besides, a new piece is introduced: the immobilizer, represented by the letter 'm'
28 in FEN diagrams and PGN games. It is represented by an upside-down rook:
29
30figure.diagram-container
31 .diagram
32 | fen:8/8/4m3/8/8/8/3M4/8:
33 figcaption Immobilizers on d2 and e6.
34
32cfcea4
BA
35h3 Non-capturing moves
36
15c1295a
BA
37p
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
2316f8b8
BA
42p.
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).
15c1295a
BA
46p
47 | Note : this corresponds to the "pure rules" described on
48 a(href="http://www.inference.org.uk/mackay/ultima/ultima.html") this page
49 | , which slightly differ from the initial rules.
2316f8b8
BA
50 | The aim is to get rid of the weird suicide rule by weakening the immobilizers lock.
51 | In particular, in the original rules two adjacent immobilizer are stuck forever
52 | until one is captured. Note that it's still the case if all chameleons disappeared.
32cfcea4
BA
53
54h3 Capturing moves
55
15c1295a
BA
56p
57 | Easy case first: the king captures as usual, by moving onto an adjacent square
58 | occupied by an enemy piece. But this is the only piece following orthodox rules,
59 | and also the only one which captures by moving onto an occupied square.
60 | All other pieces capture passively: they land on a free square and captured
61 | units are determined by some characteristics of the movement.
62
63p Note: the immobilizer does not capture.
64
65h4 Pawns/Pincers
66
67p.
68 If at the end of its movement a pawn is horizontally or vertically adjacent to an
69 enemy piece, which itself is next to a friendly piece (in the same direction),
70 the "pinced" unit is removed from the board.
71
72figure.diagram-container
73 .diagram
74 | fen:7k/5ppp/2N5/2n5/3rB3/8/PPP5/K7:
75 figcaption 1.Pc2c4 captures both coordinator and long leaper.
76
77h4 Coordinators (rooks)
78
79p.
80 Imagine that rook and king are two corners of a rectangle (this works if these
81 two pieces are unaligned).
82 If at the end of a rook move an enemy piece stands in any of the two remaining
83 corners, it is captured.
84
85figure.diagram-container
86 .diagram
87 | fen:8/2b4K/2q5/3p1N1p/8/8/2R5/k7:
88 figcaption 1.Rc5 captures on c7 and h5.
89
90h4 Long leapers (knights)
91
92p.
3ad85eac
BA
93 A knight captures exactly as a queen in international draughts game: by jumping
94 over its enemies, as many times as it can/want but always in the same direction.
15c1295a
BA
95 In this respect it is less powerful than a draughts' queen:
96 on the following diagram c8 or f6 cannot be captured.
3ad85eac
BA
97 However, the knight does not have to maximize the number of captured units
98 (as is the case in draughts).
15c1295a
BA
99
100figure.diagram-container
101 .diagram
3ad85eac
BA
102 | fen:2n4k/3r4/5b2/3p4/1m6/3b4/3N4/K7 w d4,d6,d8,a5:
103 figcaption All marked squares captures are playable from d2.
15c1295a
BA
104
105h4 Withdrawer (queen)
106
107p.
108 The queen captures by moving away from an adjacent enemy piece, in the opposite
109 direction (only the long leaper can jump).
110
111figure.diagram-container
112 .diagram
113 | fen:7k/8/8/3Qr3/8/8/8/K7 w a5,b5,c5:
114 figcaption 1.Qa5, 1.Qb5 or 1.Qc5 captures the black rook.
115
116h4 Chameleon (bishop)
117
118p The chameleon captures pieces in the way they would capture. So, it
119ul
120 li pinces pawns,
121 li withdraws from withdrawers,
122 li leaps over long leapers,
123 li coordinates coordinators.
124p ...and these captures can be combined.
125
126figure.diagram-container
127 .diagram
3ff4b646 128 | fen:7k/8/8/r3pP2/2n5/8/B7/K7 w a5,c4,e5:
15c1295a
BA
129 figcaption 1.Bd5 captures all marked pieces.
130
131p.
132 Besides, chameleon immobilizes immobilizers (but cannot capture them since they
133 do not capture).
134
135p.
136 A chameleon captures the king in the same way the king captures, which means that
137 a chameleon adjacent to a king gives check.
32cfcea4
BA
138
139h3 End of the game
140
15c1295a
BA
141p.
142 Checkmate or stalemate as in standard chess. Note however that checks are more
143 difficult to see, because of the exotic capturing rules. For example, on the
144 following diagram the white king cannot move to the marked squares because then
145 the black pawn could capture by moving next to it.
146
147figure.diagram-container
148 .diagram
149 | fen:7k/8/8/p4r/4K3/8/8/8 w e5:
150 figcaption 1.Ke5 is impossible
32cfcea4
BA
151
152h3 Credits
153
154p.
155 A good starting point is the
156 #[a(href="https://en.wikipedia.org/wiki/Baroque_chess") Wikipedia page],
157 which also gives pointers to other interesting pages (including chessvariants.com,
158 as usual).