add dual impl for bitboard (bitvec and standard)

This commit is contained in:
2025-02-18 21:51:13 -05:00
parent a759f9f615
commit 5499628be0
3 changed files with 62 additions and 8 deletions

View File

@@ -11,6 +11,7 @@ use std::{cmp::Ordering, fmt};
pub const BOARD_SIZE: usize = 8;
/// Area of the board
#[allow(dead_code)]
pub const BOARD_AREA: usize = BOARD_SIZE * BOARD_SIZE;
/// A chain of positions across the board