No description
Find a file
Eryn Wells e2ce778247 [core, moves] Improve bounds checking of Square::neighbor
Remove the <n> argument from this method. I think it was a bad idea to begin with
but at the time I was looking for an expedient solution for getting neighbor
squares 2 squares away.

Overhaul bounds checking in this method so horizontal (west and east) bounds are
checked in addition to vertical (north and south) bounds. For the diagonal
directions in particular, it was easy to generate some bogus neighbor squares
because this method didn't check for wrapping when calculating horizontal
neighbors.
2025-06-07 20:06:14 -07:00
bitboard [bitboard, board, core, moves] Implement SliderMoveGenerator 2025-05-26 17:41:43 -07:00
board [board] Remove an unused test helper function 2025-06-06 21:46:13 -07:00
core [core, moves] Improve bounds checking of Square::neighbor 2025-06-07 20:06:14 -07:00
doc Move Notes and ChessPieces docs to a doc directory 2024-01-22 19:27:08 -08:00
explorer [explorer] Remove unused MakeMove import 2025-06-07 08:55:54 -07:00
moves [core, moves] Improve bounds checking of Square::neighbor 2025-06-07 20:06:14 -07:00
position [moves, position] Improve the error messages when asserting during legal move generation 2025-06-07 19:35:32 -07:00
.gitignore
Cargo.lock [board, position] Implement Zobrist hashing 2025-06-05 08:22:34 -07:00
Cargo.toml Empty board package 2024-04-25 09:32:27 -07:00
ChessFriend.code-workspace Visual Studio Code workspace 2024-02-11 10:22:33 -07:00
Makefile WIP 2025-05-08 17:37:59 -07:00
rustfmt.toml Add a rustfmt.toml file 2025-06-07 08:48:45 -07:00