lichess-org / dartchess

Dart chess library for native platforms
https://pub.dev/packages/dartchess
GNU General Public License v3.0
35 stars 18 forks source link

Impossible en passant capture that blocks a check #19

Open veloce opened 1 year ago

veloce commented 1 year ago

Closes #14

Fix related to that perft test:

id align-ep
epd 8/8/8/1k6/3Pp3/8/8/4KQ2 b - d3
perft 1 6
perft 2 121
perft 3 711
niklasf commented 1 year ago

in chessops, i went for https://github.com/niklasf/chessops/commit/70a7452f931e07316be014cdaf677e4836396199