Check out Modern Chess, our featured variant for January, 2025.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Game Courier Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Sat, Oct 15, 2022 02:43 PM UTC:

What should I use if I want to test for past and potential captures and have captures of certain pieces always return false in a function definition?

I know how to do it for general captures.

cond empty #0 capture (not empty #1)

Perhaps this?

cond empty #0 (not match old FD +WB +CS) (not match space #1 FD +WB +CS)