kokopu
Version:
A JavaScript/TypeScript library implementing the chess game rules and providing tools to read/write the standard chess file formats.
48 lines (47 loc) • 1.61 kB
Plain Text
Event = {Smothered checkmate}
Variant = {black-king-only}
+---+---+---+---+---+---+---+---+
| r | | | | | | | k |
+---+---+---+---+---+---+---+---+
| | | | | | p | p | p |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | N | |
+---+---+---+---+---+---+---+---+
| | | Q | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
w - - (black-king-only)
[start] -+<LONG
[1w] (1w) Nxf7+ (#hm=0)
[1b] (1b) Kg8 (#hm=1)
[2w] (2w) Nh6+ (#hm=2)
[2b] (2b) Kh8 (#hm=3)
[3w] (3w) Qg8+ (#hm=4)
[3b] (3b) Rxg8 (#hm=0)
[4w] (4w) Nf7# (#hm=1)
+---+---+---+---+---+---+---+---+
| | | | | | | r | k |
+---+---+---+---+---+---+---+---+
| | | | | | N | p | p |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
b - - (black-king-only)
{White wins}{7 plies}