chessfriend/board
Eryn Wells 06bfc4ac57 [board] Implement a BitBoard MoveLibrary
This struct computes and stores piece moves per square to speed up computation
of move lists.

Initialize a `static mut` instance once via std::sync::Once, and return a static
reference to it. So far, it computes king and knight moves.

Make BitBoard::empty() and MoveLibrary::new() const functions, enabling static
construction of the MOVE_LIBRARY instance without needing to wrap it in an
Option.
2024-01-01 09:25:35 -08:00
..
src [board] Implement a BitBoard MoveLibrary 2024-01-01 09:25:35 -08:00
Cargo.lock [board] Move bitboard lib to "board" 2023-12-20 11:45:55 -08:00
Cargo.toml [board] Move bitboard lib to "board" 2023-12-20 11:45:55 -08:00