No description
Find a file
Eryn Wells f90ea2d1be [board] Add a test for capturing en passant; fix the bugs
I wrote a test for capturing en passant that revealed some bugs. Cool!

Implement the missing part of move validation that checks for an en passant move.
Implement PositionBuilder::to_move() to set player_to_move.

The most difficult part of this fix was finding the logic error in
Move::is_en_passant(). Instead of checking for non-zero, check for equality against
the en passant flag value. Checking for non-zero was causing this method to return
true in the double push case.
2024-01-21 11:21:37 -08:00
board [board] Add a test for capturing en passant; fix the bugs 2024-01-21 11:21:37 -08:00
explorer [board] Cave to pressure and implement fmt::Display for Position 2024-01-19 18:12:28 -08:00
.gitignore Ignore the target/ directory 2023-12-19 11:13:41 -08:00
chess_pieces.txt Quick text file of all the Unicode chess characters 2024-01-14 10:58:06 -08:00
Notes.md [board] Add some notes about board geometry 2024-01-06 17:02:07 -08:00