Hyperbola Quintessence in Rust

Welcome to my dev-blog series on writing a chess engine. This is part 3. Like always, suggestions are welcome! Hyperbola quintessence? This is the definition from chessprogramming.org: Hyperbola Quintessence applies the o^(o-2r)-trick also for vertical or diagonal negative Rays - by reversing the bit-order of up to one bit per rank or byte with a vertical flip aka x86-64 bswap. Why did I go for this approach? Because I thought magic bitboards were too hard for me....

October 18, 2022 · 5 min · 1022 words

Bitboards in Rust

Introduction Hello there! I haven’t posted in a while because I was working on my chess engine. Specifically, representing the pieces as bitboards. Now you may ask what a bitboard is. You can use bitboards to represent a chess board in a piece-centric manner. What is so special about bitboards then? Doesn’t a piece list do the same thing? Well, representing a bitboard only requires a single unsigned 64 bit integer!...

September 28, 2022 · 8 min · 1519 words