aboutsummaryrefslogtreecommitdiff
path: root/src/bitboard.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-21 04:34:32 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-21 04:42:44 +0300
commit56f80a81852ef9fa6c1654c8548751fb898f2fb3 (patch)
tree2eb1fc091237f1eef2909a3802cf1728e41e9dd0 /src/bitboard.rs
parentd788e73ea5240f72d3ca64a5ce2bad5026643ebd (diff)
downloadchessnost-56f80a81852ef9fa6c1654c8548751fb898f2fb3.tar.gz
feat: precompute knight and king attacks
Diffstat (limited to 'src/bitboard.rs')
-rw-r--r--src/bitboard.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitboard.rs b/src/bitboard.rs
index 4a1ef50..6481863 100644
--- a/src/bitboard.rs
+++ b/src/bitboard.rs
@@ -1,3 +1,4 @@
+/// Finite set of up to 64 bits representing chess board squares
pub type Bitboard = u64;
/// Print bitboard on screen in the same way squares appear in memory