UNPKG

kokopu

Version:

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

46 lines (45 loc) 1.5 kB
Event = {End-game: 3 pawns vs. 3 paws} Variant = {no-king} +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | p | p | p | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | P | P | P | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ w - - (no-king) [start] -+<LONG [1w] (1w) g5 (#hm=0) [1b] (1b) hxg5 (#hm=0) [2w] (2w) f5 (#hm=0) [2b] (2b) gxf5 (#hm=0) [3w] (3w) h5 (#hm=0) $18 +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | p | | | +---+---+---+---+---+---+---+---+ | | | | | | p | p | P | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ b - - (no-king) {Line}{5 plies}