kokopu
Version:
A JavaScript/TypeScript library implementing the chess game rules and providing tools to read/write the standard chess file formats.
42 lines (41 loc) • 1.33 kB
Plain Text
Event = {Game with '0' move number}
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | R |
+---+---+---+---+---+---+---+---+
| R | | | | B | | | |
+---+---+---+---+---+---+---+---+
| | | | | r | | p | P |
+---+---+---+---+---+---+---+---+
| p | | | | | k | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | P | K |
+---+---+---+---+---+---+---+---+
| r | | | | | | | |
+---+---+---+---+---+---+---+---+
w - -
Initial move number = {0}
[start] -+<LONG
[0w] (0w) Rha7 (#hm=1) $2
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| R | | | | | | | |
+---+---+---+---+---+---+---+---+
| R | | | | B | | | |
+---+---+---+---+---+---+---+---+
| | | | | r | | p | P |
+---+---+---+---+---+---+---+---+
| p | | | | | k | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | P | K |
+---+---+---+---+---+---+---+---+
| r | | | | | | | |
+---+---+---+---+---+---+---+---+
b - -
{Black wins}{1 plies}