[board] Implement piece sight algorithms
Add a new Sight trait, implemented by PlacedPiece. The implementation of this trait produces a BitBoard representing the squares visible to the placed piece.
This commit is contained in:
parent
3b40aacd52
commit
3ecc263701
4 changed files with 184 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ mod moves;
|
|||
pub mod piece;
|
||||
#[macro_use]
|
||||
pub mod position;
|
||||
mod sight;
|
||||
mod square;
|
||||
|
||||
pub use moves::Move;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue