💡📝Michael Nelson wrote on Thu, Feb 5, 2004 01:28 AM UTC:
Larry's suggestion also improves play and the code is elegant. I'm going
to
do some testing and see which approach seems to do better.
I have a more elegant macro for Peter's method which will allow the
final
move to be made:
(define King-win (
(verify (in-zone? promotion-zone))
(if (in-zone? promotion-zone a1)
White-throne ; dummy position with a White King
else
Black-throne ; dummy position with a Black King
)
add
))