No description
Find a file
Eryn Wells feaa81bbd8 [position, moves] Implement some castling tests
Add white castling for both wings. Found some bugs in how king sight is computed
while writing these.

In order for the king to perform the castle, the Movement bitboard needs to return
the two squares the king can castle to. That means anytime movement is calculated
for the king, the (relatively expensive) castling evaluation needs to happen.

Write two new helper static functions to create a Move for castling and promotion
moves. Since structs cannot have any functions with the same name, the two methods
that return properties related to those moves (Move::castle and Move::promotion)
need to be renamed. They're now called Move::castle_wing and Move::promotion_shape.
2025-05-21 08:25:49 -07:00
bitboard [bitboard] Add separators to the NOT_A_FILE and NOT_H_FILE constants 2025-05-16 07:44:59 -07:00
board [position, board] Remove a bunch of dead code 2025-05-20 19:29:39 -07:00
core [position, board, core, moves] Implement a bunch of make_move code 2025-05-20 19:29:02 -07:00
doc
explorer [explorer, moves, core] Improve error handling in explorer 2025-05-19 14:18:31 -07:00
moves [position, moves] Implement some castling tests 2025-05-21 08:25:49 -07:00
position [position, moves] Implement some castling tests 2025-05-21 08:25:49 -07:00
.gitignore
Cargo.lock [explorer, moves, core] Improve error handling in explorer 2025-05-19 14:18:31 -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