kokopu
Version:
A JavaScript/TypeScript library implementing the chess game rules and providing tools to read/write the standard chess file formats.
28 lines (27 loc) • 908 B
Plain Text
Event = {Game with null moves}
[] -+<LONG
[] (1w) e4 (
[] (1b) -- (
[] (2w) d4 (
[] (2b) Nf6 (
[] (3w) -- (
[] (3b) Nc6 (
+---+---+---+---+---+---+---+---+
| r | | b | q | k | b | | r |
+---+---+---+---+---+---+---+---+
| p | p | p | p | p | p | p | p |
+---+---+---+---+---+---+---+---+
| | | n | | | n | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| | | | P | P | | | |
+---+---+---+---+---+---+---+---+
| | | | | | | | |
+---+---+---+---+---+---+---+---+
| P | P | P | | | P | P | P |
+---+---+---+---+---+---+---+---+
| R | N | B | Q | K | B | N | R |
+---+---+---+---+---+---+---+---+
w KQkq -
{Line}{6 plies}