MSWS 67ee26a484 refactor: Refactor pseudo-move legality and validation logic
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.
2025-03-22 18:16:43 -07: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%