mirror of
https://github.com/MSWS/Chess.git
synced 2025-12-05 21:30:23 -08:00
67ee26a48480674e3bd644b1d0195b82752580e0
Refactor and enhance move validation logic: - Refactor validation logic for legality of pseudo-moves, ensuring proper handling of enemy moves. - Modify checks to prevent illegal scenarios involving captures of the enemy king. - Adjust pseudo castle move conditions to validate target positions and account for enemy rook captures. - Streamline conditional flow by removing redundant checks.
Description
Languages
Go
100%