1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use crate::engine::attack_table::AttackTable; pub mod attack_table; pub mod bit_board; pub mod square; pub struct Engine { pub attack_table: AttackTable, } impl Engine { pub fn initialize() -> Self { Self { attack_table: AttackTable::build(), } } }