Move naive move generation into sub-module
This commit is contained in:
parent
8289204e4b
commit
bd43535192
10 changed files with 14 additions and 13 deletions
|
|
@ -1,6 +1,5 @@
|
|||
use crate::board::{Bitboard, File, Rank, Square};
|
||||
use crate::movegen::bishop::bishop_moves;
|
||||
use crate::movegen::rook::rook_moves;
|
||||
use crate::movegen::naive::{bishop::bishop_moves, rook::rook_moves};
|
||||
|
||||
pub fn generate_bishop_mask(square: Square) -> Bitboard {
|
||||
let rays = bishop_moves(square, Bitboard::EMPTY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue