UNPKG

kokopu

Version:

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

109 lines (108 loc) 4.06 kB
White = {Carlsen, Magnus} Black = {Nakamura, Hikaru} Event = {Nakamura - Carlsen Chess960 Match} Round = {9} Site = {Høvikodden, Bærum NOR} Date = {2018-02-13} Variant = {chess960} +---+---+---+---+---+---+---+---+ | q | r | k | n | b | b | n | r | +---+---+---+---+---+---+---+---+ | p | p | p | p | p | p | p | p | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | | | +---+---+---+---+---+---+---+---+ | P | P | P | P | P | P | P | P | +---+---+---+---+---+---+---+---+ | Q | R | K | N | B | B | N | R | +---+---+---+---+---+---+---+---+ w BHbh - (chess960) [start] -+<LONG [1w] (1w) a4 (#hm=0) [1b] (1b) e6 (#hm=0) [2w] (2w) a5 (#hm=0) [2b] (2b) a6 (#hm=0) [3w] (3w) e4 (#hm=0) [3b] (3b) Nf6 (#hm=1) [4w] (4w) e5 (#hm=0) [4b] (4b) Nd5 (#hm=1) [5w] (5w) Nf3 (#hm=2) [5b] (5b) f6 (#hm=0) [6w] (6w) exf6 (#hm=0) [6b] (6b) gxf6 (#hm=0) [7w] (7w) Ne3 (#hm=1) [7b] (7b) Nxe3 (#hm=0) [8w] (8w) fxe3 (#hm=0) [8b] (8b) Bg6 (#hm=1) [9w] (9w) b4 (#hm=0) [9b] (9b) Be7 (#hm=1) [10w] (10w) Bh4 (#hm=2) [10b] (10b) Rf8 (#hm=3) [11w] (11w) Be2 (#hm=4) [11b] (11b) Nc6 (#hm=5) [12w] (12w) Qc3 (#hm=6) [12b] (12b) b5 (#hm=0) [13w] (13w) O-O (#hm=1) [13b] (13b) O-O-O (#hm=2) [14w] (14w) d4 (#hm=0) [14b] (14b) Bh5 (#hm=1) [15w] (15w) Qd2 (#hm=2) [15b] (15b) d5 (#hm=0) [16w] (16w) c3 (#hm=0) [16b] (16b) Bxf3 (#hm=0) [17w] (17w) Rxf3 (#hm=0) [17b] (17b) f5 (#hm=0) [18w] (18w) Rh3 (#hm=1) [18b] (18b) Rd7 (#hm=2) [19w] (19w) Bg3 (#hm=3) [19b] (19b) Bg5 (#hm=4) [20w] (20w) Bf4 (#hm=5) [20b] (20b) h6 (#hm=0) [21w] (21w) Bxg5 (#hm=0) [21b] (21b) hxg5 (#hm=0) [22w] (22w) Rh6 (#hm=1) [22b] (22b) Re7 (#hm=2) [23w] (23w) e4 (#hm=0) [23b] (23b) dxe4 (#hm=0) [24w] (24w) Qxg5 (#hm=0) [24b] (24b) Kb7 (#hm=1) [25w] (25w) d5 (#hm=0) [25b] (25b) exd5 (#hm=0) [26w] (26w) Rxc6 (#hm=0) [26b] (26b) Ref7 (#hm=1) [27w] (27w) Rc5 (#hm=2) [27b] (27b) Rd7 (#hm=3) [28w] (28w) Qg6 (#hm=4) [28b] (28b) Qd8 (#hm=5) [29w] (29w) Qc6+ (#hm=6) [29b] (29b) Ka7 (#hm=7) [30w] (30w) Bxb5 (#hm=0) [30b] (30b) axb5 (#hm=0) [31w] (31w) Rxb5 (#hm=0) [31b] (31b) Qc8 (#hm=1) [32w] (32w) a6 (#hm=0) +---+---+---+---+---+---+---+---+ | | | q | | | r | | | +---+---+---+---+---+---+---+---+ | k | | p | r | | | | | +---+---+---+---+---+---+---+---+ | P | | Q | | | | | | +---+---+---+---+---+---+---+---+ | | R | | p | | p | | | +---+---+---+---+---+---+---+---+ | | P | | | p | | | | +---+---+---+---+---+---+---+---+ | | | P | | | | | | +---+---+---+---+---+---+---+---+ | | | | | | | P | P | +---+---+---+---+---+---+---+---+ | | R | | | | | K | | +---+---+---+---+---+---+---+---+ b - - (chess960) {White wins}{63 plies}