chessfriend/moves
Eryn Wells 8fd7ffa586 [moves, position] Improve the error messages when asserting during legal move generation
The move generators should only generate moves that can be made, so calling
make_move() and unmake_move() should never give an error during legal move
generation. Both of these calls assert that the result is not an Err(). Improve
the error messaging so that they log the move, the current board position, and
the error message. Highlight the squares relevant to the move (origin, target,
and capture) when printing the board.
2025-06-07 19:35:32 -07:00
..
src [moves, position] Improve the error messages when asserting during legal move generation 2025-06-07 19:35:32 -07:00
tests [position, moves] Implement some castling tests 2025-05-21 08:25:49 -07:00
Cargo.toml [moves] Clean up implementation of Move and export Kind enum 2025-05-19 14:19:05 -07:00