04-24-2021, 11:46 AM
Hi,
You could try setting the Pending value to equal the site on which a promotion is made, disallow moves at Pending sites, then turn it off again next move. Chess uses a similar mechanism for handling en passant:
Regards,
Cameron
You could try setting the Pending value to equal the site on which a promotion is made, disallow moves at Pending sites, then turn it off again next move. Chess uses a similar mechanism for handling en passant:
Code:
(define "InLocationEnPassant"
(and
(is Pending)
(= (to) (value Pending))
)
)
Regards,
Cameron