Commit graph

11 commits

Author SHA1 Message Date
9010f1e9c2 [explorer, moves, core] Improve error handling in explorer
Implement thiserror::Error for a bunch of error types, and remove string errors
from the implementation of the command handler in explorer.

Clean up parsing of basic types all over the place.

Update Cargo files to include thiserror and anyhow.
2025-05-19 14:18:31 -07:00
669a7c00ec [position] Add thiserror dependency 2025-05-18 08:07:12 -07:00
091cc99cb3 WIP 2025-05-08 17:37:51 -07:00
b3c472fbce Fix some imports in the moves package
Castle and EnPassant moved to the board package. Reference these types there.
Add the board packages as a dependency to the moves package.
2024-04-26 09:50:42 -04:00
1d82d27f84 Move a whole bunch of stuff to the new chessfriend_board package 2024-04-25 13:28:24 -07:00
d77345901c Add chessfriend_moves to the workspace 2024-02-25 09:52:59 -08:00
e6a9b7f8c4 Return a chessfriend_moves::EnPassant from a new Position::en_passant()
Replace Position's en_passant_target_square() and en_passant_capture_square()
with a single en_passant() method that returns a new EnPassant struct that has
the target and capture squares for the en passant move.
2024-02-11 10:23:07 -07:00
f69c7d4c96 Move a bunch of stuff from the position::move module over to a new chessfriend_moves crate 2024-02-11 10:23:07 -07:00
cac13b4bc7 Cargo.lock changes 2024-01-30 08:53:15 -08:00
3c71687838 Merge branch 'many-crates'
# Conflicts:
#	Cargo.toml
#	core/Cargo.toml
2024-01-24 09:23:35 -08:00
e522e268cf Make a Cargo Workspace! 2024-01-22 19:33:59 -08:00