MSWS 57bba0ef59 Refactor en passant logic and improve test clarity
Refactor board logic and improve tests

- Refactor import statements in pieces.go
- Add String method to Piece type for better representation
- Add isEnPassant field to Move struct
- Update move logic to mark en passant captures
- Adjust handling of pawn moves related to en passant
- Change MakeMove to not return a move
- Update applyEnPassant to accept pointer to Move
- Track en passant captures within Move struct
- Remove redundant condition check in UndoMove
- Enhance readability of variable assignments
- Comment out parallel test execution for debugging
- Modify error handling for accurate performance logging
- Correct expected board state after undo in en passant scenario
- Clarify comments in tests regarding en passant logic
- Improve clarity of error messages in test assertions
2025-03-22 14:48:33 -07:00
2024-12-12 11:55:19 -08:00
2024-12-12 03:24:39 -08:00
2024-12-12 03:24:39 -08:00
2024-12-12 03:24:39 -08:00
Description
No description provided
GPL-3.0 285 KiB
Languages
Go 100%