UNPKG

kokopu

Version:

A JavaScript/TypeScript library implementing the chess game rules and providing tools to read/write the standard chess file formats.

19 lines (18 loc) 426 B
{ "event": "Game with variation shortened from the beginning.", "initialPosition": "rnbqkbnr/pppp1ppp/8/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 0 2", "mainVariation": [ "Nc6", { "notation": "Bc4", "variations": [ [ "Nc3", "Nf6", "d4" ] ] }, "Bc5" ] }