projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Checkered and Ultima rules. Write Chess960 rules and complete others
[vchess.git]
/
views
/
rules
/
Switching.pug
diff --git
a/views/rules/Switching.pug
b/views/rules/Switching.pug
index
3104734
..
ce2fdbc
100644
(file)
--- a/
views/rules/Switching.pug
+++ b/
views/rules/Switching.pug
@@
-1,5
+1,6
@@
p.boxed
p.boxed
- | In addition to standard moves, a piece can be exchanged with an adjacent friendly unit.
+ | In addition to standard moves, a piece can be exchanged
+ | with an adjacent friendly unit.
h3 Specifications
h3 Specifications
@@
-20,6
+21,11
@@
p
| Switching must involves two different units.
| Switching while the king is under check is not allowed.
| Switching must involves two different units.
| Switching while the king is under check is not allowed.
+figure.diagram-container
+ .diagram
+ | fen:1RB3k1/5ppp/8/8/8/8/8/K7:
+ figcaption White can mate in 1 by switching b8-c8
+
p.
Note: if the king and rook are on two adjacent squares, castling and switching
from the king are triggered in the same way. Castling takes priority:
p.
Note: if the king and rook are on two adjacent squares, castling and switching
from the king are triggered in the same way. Castling takes priority: