test/data/game143.pgn

Thu, 03 Sep 2026 16:18:24 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 03 Sep 2026 16:18:24 +0200
changeset 216
d0c3d3016650
parent 149
ea2448961441
permissions
-rw-r--r--

make castling rights part of the game state

required for issue #939
because creating a state from FEN
will not contain a move history

bonus: make is_check_position() robust

[Result "0-1"]

1. e4 e5 2. d4 exd4 3. Bc4 Nc6 4. Nf3 d6 5. Ng5 f6 6. Bf7+ Ke7 7. Qg4 Bxg4 8. Nd2 fxg5 0-1

mercurial