chessfriend/board/src
Eryn Wells 37cb9bcaa0 [board, moves] Reorganize castling_right API on Board
Board::color_has_castling_right takes an Option<Color> which it unwraps. With that
unwrapped Color, it can call…

Board::color_has_castling_right_unwrapped, which performs the evaluation with a
non-Option Color.

Clean up some imports.
2025-06-17 08:28:39 -07:00
..
castle [explorer] Print some question marks if a move is generated without target/origin squares 2025-06-11 08:15:06 -07:00
piece_sets
board.rs [board, moves] Reorganize castling_right API on Board 2025-06-17 08:28:39 -07:00
board_provider.rs
castle.rs [board, moves] Reorganize castling_right API on Board 2025-06-17 08:28:39 -07:00
check.rs [board, explorer, moves] Make Board::active_color private 2025-06-02 17:29:52 -07:00
display.rs
en_passant.rs
fen.rs [board, moves] Reorganize castling_right API on Board 2025-06-17 08:28:39 -07:00
lib.rs [board, position] Implement Zobrist hashing 2025-06-05 08:22:34 -07:00
macros.rs [board, moves, position] Make the Peter Ellis Jones gotcha unit tests work 2025-06-06 21:45:07 -07:00
movement.rs [board, moves] Make Board::castling_rights and Board::en_passant_target private 2025-06-03 20:25:53 -07:00
piece_sets.rs [board] Remove some unused internal PieceSet API and tests 2025-06-08 17:16:45 -07:00
sight.rs [board, position] Implement Zobrist hashing 2025-06-05 08:22:34 -07:00
zobrist.rs [board] Remove unused imports and const variables from zobrist.rs 2025-06-08 17:17:05 -07:00