mirror of
https://github.com/MSWS/Chess.git
synced 2025-12-06 05:32:37 -08:00
- Simplify move string representation by removing intermediate coordinates - Filter out pseudo moves where the capturing piece is a King - Format checks for rook captures during castling correctly - Improve readability and maintainability of the GetMoves function - Refactor applyEnPassant function for clarity - Store destination move coordinates in two variables - Introduce checks for en passant conditions and capture logic - Reset board.EnPassant appropriately - Refactor main function to include board operations based on FEN notation - Add error handling for board initialization - Implement logic to generate and display moves from the chess board - Print count of moves after each execution and provide a list of new moves - Add a test for en passant pawn removal - Validate en passant pawn restoration upon undo - Ensure accurate board state reversion after a move - Update castling state checks after undo - Enable parallel execution for performance tests - Update known performance values for specific tests - Add a new test case for a chess position named Gaviota