UNPKG

kokopu

Version:

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

42 lines (41 loc) 1.36 kB
Event = {Back-rank checkmate} Variant = {white-king-only} +---+---+---+---+---+---+---+---+ | r | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | P | P | P | +---+---+---+---+---+---+---+---+ | | | | | | | K | | +---+---+---+---+---+---+---+---+ b - - (white-king-only) [start] -+<LONG [1b] (1b) Ra1# (#hm=1) +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | P | P | P | +---+---+---+---+---+---+---+---+ | r | | | | | | K | | +---+---+---+---+---+---+---+---+ w - - (white-king-only) {Black wins}{1 plies}