|
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 |
|
|
f08a4c66a1
|
[core] Use TryFromCharError in TryFrom<char> for Color
|
2024-01-26 12:58:51 -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 |
|
|
b0b22048a8
|
[core] Rename (once again) chess_core → chessfriend_core
|
2024-01-24 08:48:19 -08:00 |
|
|
eab30cc33b
|
[core] Rename the directory chess_core → core
I think this is sufficient.
|
2024-01-24 08:33:07 -08:00 |
|
|
3c3a62345d
|
[core] Rename core → chess_core
|
2024-01-24 08:29:16 -08:00 |
|
|
406631b617
|
[core] Move the contents of board::square to core::coordinates
Export Square, Rank, and File from the core crate.
|
2024-01-24 08:25:56 -08:00 |
|
|
7e08a9adc4
|
[core] Create a core crate
|
2024-01-24 08:24:59 -08:00 |
|