amogh-dambal / diogenes-v2

V2 implementation of the Diogenes chess engine. This time in Rust.
0 stars 0 forks source link

Implement bitboard wrapper struct #4

Open amogh-dambal opened 6 months ago

amogh-dambal commented 6 months ago

We currently use a plain unsigned 64 integer to represent a single bitboard. It'd make our lives a lot easier with a wrapper struct that implements traits and has helper functions for fills, shifts, and other bit manipulation functions that can be used, for example, to generate a FEN string.