[board] Create a bitboard! macro and BitBoardBuilder
The Builder enables cleanly building a BitBoard out of squares. The macro lets you create a BitBoard from a simple list of coordinates: bitboard!(A1, B2, C3, D4, …)
This commit is contained in:
parent
9ef53b76f5
commit
a6b98abb95
3 changed files with 32 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
// Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
#[macro_use]
|
||||
mod bitboard;
|
||||
mod display;
|
||||
mod moves;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue