No description
Find a file
Eryn Wells 182bf81126 [board] Fix a counter underflow in the piece set
During perft runs, the PieceSet counter would occasionally underflow, causing
the whole program to crash. This is because, when building a Board from a list
of bitboards, Counts::increment() was only being called once, even when the
bitboard had more than one piece in it. Fix the bug by incrementing during the
loop that sets up the mailbox.

Additionally, refactor the increment() and decrement() methods to be a little
more succinct.
2025-08-15 16:15:09 -07:00
bitboard [bitboard, board] Remove BitBoard::empty() and BitBoard::full() 2025-08-15 16:14:34 -07:00
board [board] Fix a counter underflow in the piece set 2025-08-15 16:15:09 -07:00
chessfriend [chessfriend] Empty crate 2025-06-16 19:29:57 -07:00
core [core] Fix an incorrect assertion in the Score doc test 2025-07-12 20:27:47 -07:00
doc
explorer [board, explorer, position] Clean up naming of sight and movement methods 2025-06-29 09:23:20 -07:00
moves [board, moves] Derive Clone on several error types 2025-06-21 21:08:04 -07:00
perft [explorer, perft, position] Move node count into a new PerftCounters struct 2025-06-19 11:34:59 -07:00
position [board, position] Simplify check methods 2025-06-29 09:25:08 -07:00
.gitignore
Cargo.lock Remove empty dependencies list from Cargo.lock 2025-06-17 16:42:17 -07:00
Cargo.toml Add a release-debug profile 2025-06-19 14:27:52 -07:00
ChessFriend.code-workspace
Makefile WIP 2025-05-08 17:37:59 -07:00
rustfmt.toml Add style_edition to rustfmt.toml 2025-06-17 16:24:46 -07:00