[board] Implement a position! macro for creating Positions
For example: ``` let position = position![ White King on E4, Black Rook on E8, ]; ```
This commit is contained in:
parent
94ab64d277
commit
7c80c61690
2 changed files with 21 additions and 0 deletions
|
@ -4,6 +4,7 @@ mod bitboard;
|
|||
mod moves;
|
||||
#[macro_use]
|
||||
pub mod piece;
|
||||
#[macro_use]
|
||||
pub mod position;
|
||||
mod square;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue