chessfriend/board/src
Eryn Wells cae93cb090 [board, position] Return replaced piece when placing a piece with PlacePieceStrategy::Replace
When place_piece() is called with PlacePieceStrategy::Replace, return the replaced
piece in the Ok() variant of the Result as an Option<Piece>.

Plumb this new return type through Board and Position.
2025-06-02 15:54:00 -07:00
..
castle [board, moves, position] Implement KingMoveGenerator 2025-05-26 23:37:33 -07:00
piece_sets [board] Implement iter() on board 2025-06-01 17:28:47 -07:00
board.rs [board, position] Return replaced piece when placing a piece with PlacePieceStrategy::Replace 2025-06-02 15:54:00 -07:00
board_provider.rs [board, moves, position] Move make_move routines to moves crate 2025-05-31 19:04:21 -07:00
castle.rs [board, moves, position] Implement KingMoveGenerator 2025-05-26 23:37:33 -07:00
check.rs [board] Make Board::pieces private 2025-06-02 15:46:10 -07:00
display.rs [board] Add an option to display a board with ASCII characters 2025-05-23 09:53:59 -07:00
en_passant.rs
fen.rs [board] Make Board::pieces private 2025-06-02 15:46:10 -07:00
lib.rs [board, moves, position] Move make_move routines to moves crate 2025-05-31 19:04:21 -07:00
macros.rs WIP 2025-05-08 17:37:51 -07:00
movement.rs [board, moves, position] Implement KingMoveGenerator 2025-05-26 23:37:33 -07:00
piece_sets.rs [board, position] Return replaced piece when placing a piece with PlacePieceStrategy::Replace 2025-06-02 15:54:00 -07:00
sight.rs [board, moves, position] Implement KingMoveGenerator 2025-05-26 23:37:33 -07:00