Draft Coregal variant - still getCastleMoves() and updateCastleFlags() TODO