[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Yes, use
setsystem legalmoves ();
You should copy the subroutine into your preset and modify it to not check whether the King is in check. Then it would accurately report on legal moves in the game.
Since legal moves are normally calculated in the Post-Move section, there would be nothing to wipe out in the Pre-Move sections.