[board] Clean up a bunch of build errors

Fix imports to refer to core and bitboard crates.
Fix some API use errors.
This commit is contained in:
Eryn Wells 2024-01-24 09:18:12 -08:00
parent 3cec64d686
commit 6f85305912
17 changed files with 59 additions and 36 deletions

View file

@ -4,8 +4,9 @@ use crate::{
piece::{PlacedPiece, Shape},
position::flags::Flags,
r#move::Castle,
BitBoard, Color, MakeMoveError, Move, Piece, Position,
Color, MakeMoveError, Move, Piece, Position,
};
use chessfriend_bitboard::BitBoard;
use chessfriend_core::{Direction, Square};
/// A position builder that builds a new position by making a move.