kokopu
Version:
A JavaScript/TypeScript library implementing the chess game rules and providing tools to read/write the standard chess file formats.
31 lines (30 loc) • 1.09 kB
Plain Text
Event = {Multi-part comment}
[] -+<LONG
[] (1w) e4 (
[] (1b) e6 (
|
[] +---+
[] | (1b) c6 (
|
[] (2w) d4 (
[] (2b) d5 (
[] (3w) e5 (
+---+---+---+---+---+---+---+---+
| r | n | b | q | k | b | n | r |
+---+---+---+---+---+---+---+---+
| p | p | p | | | p | p | p |
+---+---+---+---+---+---+---+---+
| | | | | p | | | |
+---+---+---+---+---+---+---+---+
| | | | p | P | | | |
+---+---+---+---+---+---+---+---+
| | | | P | | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| P | P | P | | | P | P | P |
+---+---+---+---+---+---+---+---+
| R | N | B | Q | K | B | N | R |
+---+---+---+---+---+---+---+---+
b KQkq -
{Line}{5 plies}