chess.dart
chess.dart copied to clipboard
A library for legal chess move generation, maintenance of game state, and format conversion.
I've a pgn string which has only FEN and SetUp headers. [FEN "1q3rk1/2p2ppp/8/5N2/8/2PQ4/PP6/1K1R4 w - - 0 1"] [SetUp "1"] 1. Ne7+ Kh8 2. Qxh7+ Kxh7 3. Rh1# 1-0 As...
The following PGN is not loaded successfully because of "...": ``` [SetUp "1"] [FEN "rnbqkbnr/pppppppp/8/8/3PP3/8/PPP2PPP/RNBQKBNR b KQkq - 0 1"] 1. ... c5 2. dxc5 Qa5+ ```
Hi, when exporting a pgn game and the starting position differs from default, the [FEN]-Header is correctly exported. But when reading the same pgn game, the [FEN] header seems to...