Commit graph

9 commits

Author SHA1 Message Date
1d82d27f84 Move a whole bunch of stuff to the new chessfriend_board package 2024-04-25 13:28:24 -07:00
220da08727 Directly rename board -> position 2024-01-28 09:56:57 -08:00
6bd3787a24 [board] Write test_position!({starting,empty}) macros
These produce starting and empty positions, respectively, and then print the
position.
2024-01-28 09:47:25 -08:00
9d25414b97 [board] Directly use PlacedPiece in the position! macro
Avoids having to also import the piece! macro to use position!.
2024-01-27 13:04: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
b0b22048a8 [core] Rename (once again) chess_core → chessfriend_core 2024-01-24 08:48:19 -08:00
106800bcb3 [core,board] Update all use imports referring to Square, Rank, and File 2024-01-24 08:32:09 -08:00
704ee2f425 [board] Implement a test_position macro that prints a Position after it builds it
Update the sight tests to use test_position!
Remove a stray leftover mut.
Clean up the test imports.
2024-01-21 13:06:44 -08:00
2269df2ed9 [board] Move piece! and position! macros to a new macros.rs module 2024-01-19 18:09:05 -08:00