duck-chess 0.1.0

A library to for duck chess
Documentation
1
2
3
4
5
6
7
8
9
macro_rules! iter_board {
	($board:expr) => {{
		let board: &[_; 64] = &$board;
		board
			.iter()
			.enumerate()
			.map(|(i, p)| (unsafe { Square::from_u8_unchecked(i as u8) }, p))
	}};
}