UNPKG

kokopu

Version:

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

49 lines (48 loc) 1.62 kB
Event = {Chess game variant - No king} Variant = {no-king} +---+---+---+---+---+---+---+---+ | r | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | R | +---+---+---+---+---+---+---+---+ w - - (no-king) [start] -+<LONG [1w] (1w) Rh8 (#hm=1) [1b] (1b) Ra1 (#hm=2) [2w] (2w) Ra8 (#hm=3) [2b] (2b) Rh1 (#hm=4) [3w] (3w) Ra1 (#hm=5) [3b] (3b) Rh8 (#hm=6) [4w] (4w) Rh1 (#hm=7) [4b] (4b) Ra8 (#hm=8) +---+---+---+---+---+---+---+---+ | r | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | R | +---+---+---+---+---+---+---+---+ w - - (no-king) {Line}{8 plies}