Commit graph

4 commits

Author SHA1 Message Date
dab787170c [position] Clean up rook unit tests
Use test_position! instead of position!
Spell out the PlacedPiece constructor in the test_position! macro.
2024-01-28 10:28:01 -08:00
ea74b214da [position] Implement generating pawn moves by looking up bitboards in the Library
This enables a bunch of clean up! Remove the MoveGenerationParameters and MoveList
types from move_generator::pawn.

Implement BitBoard::pawn_pushes to look up pawn pushes by square and color.
2024-01-28 10:25:01 -08:00
77f419ad3b [position] Rename FenError → ToFenError
Add an associated type called Error to the ToFen trait. This mirrors the try_from
any try_into traits.
2024-01-28 10:05:51 -08:00
220da08727 Directly rename board -> position 2024-01-28 09:56:57 -08:00