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
091cc99cb3
WIP
2025-05-08 17:37:51 -07:00
7c65232c35
[core] Improve API of Shape and Color
...
Clean up type and method declarations by using better type spelling. Use more
standard method spelling for iterators. Implement some useful traits.
2024-07-13 07:34:50 -07:00
27a36565f3
[bitboard,core,position] Address a bunch of clippy warnings
2024-03-14 17:00:46 -07:00
d20119dfe3
[position] Make Shape::to_ascii() const
2024-03-01 15:24:43 -08:00
0201668563
[core] Move the Unicode piece table to a helper to_unicode() method on Piece
2024-02-11 09:58:18 -07:00
164fe94bc0
[board] Implement danger squares for the current player
...
This concept comes from [1]. Danger squares are the squares a king cannot move to
because it would permit the opposing player to capture the king on their next
turn.
[1]: https://peterellisjones.com/posts/generating-legal-chess-moves-efficiently/
2024-01-28 09:08:22 -08:00
8b2a3926b3
[core,board] Move board::piece to core
...
Break up types in core into finer grained modules.
Update all the imports.
2024-01-24 17:08:27 -08:00