chessfriend/board/src
Eryn Wells 24cce95a88 [board] Implement a PositionBuilder; refactor piece bitboards into a PieceBitBoards struct
This makes Position immutable, even if declared mut. I think this will also make
it easier to build positions going forward.

Moving to a PieceBitBoards struct also required a lot of places that return owned
BitBoards to return refs. This is basically fine except for adding a few more &
here and there.

This was a huge refactoring project. All the move generators and a bunch of
BitBoard stuff needed to be updated.
2024-01-19 18:09:05 -08:00
..
bitboard [board] Implement a PositionBuilder; refactor piece bitboards into a PieceBitBoards struct 2024-01-19 18:09:05 -08:00
move_generator [board] Implement a PositionBuilder; refactor piece bitboards into a PieceBitBoards struct 2024-01-19 18:09:05 -08:00
position [board] Implement a PositionBuilder; refactor piece bitboards into a PieceBitBoards struct 2024-01-19 18:09:05 -08:00
display.rs [board] Declare three new Display-like traits 2024-01-14 10:51:40 -08:00
lib.rs [board] Implement a PositionBuilder; refactor piece bitboards into a PieceBitBoards struct 2024-01-19 18:09:05 -08:00
macros.rs [board] Move piece! and position! macros to a new macros.rs module 2024-01-19 18:09:05 -08:00
move.rs [board] Reexport AlgebraicMoveFormatter from the move module 2024-01-17 08:47:48 -08:00
piece.rs [board] Implement a PositionBuilder; refactor piece bitboards into a PieceBitBoards struct 2024-01-19 18:09:05 -08:00
sight.rs [board] Implement a bunch of sight tests 2024-01-17 08:44:27 -08:00
square.rs [board] Implement some TryInto traits for Square for u8, u16, u32, and u64 2024-01-17 08:35:21 -08:00