UNPKG

kokopu

Version:

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

32 lines (31 loc) 711 B
Event: Custom initial position +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | k | | | | | | +---+---+---+---+---+---+---+---+ | p | | P | | | | | | +---+---+---+---+---+---+---+---+ | P | | K | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ w - - 60.Kd5 60...Kc8 61.Kd4 61...Kd8 62.Kc4 62...Kc8 63.Kd5 63...Kc7 64.Kc5 64...Kc8 65.Kb6 +1-0