Check out Smess, our featured variant for February, 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]
Daniel Zacharias wrote on Mon, Feb 19, 2024 06:56 AM UTC:
if capture and match $old (bl br):
    capture where $dest direction $origin $dest;
endif;

I put this in the post move, but when it runs it captures the piece at $dest rather than the specified location. It works correctly if I change it to

if capture and match $old (bl br):
    set x where $dest direction $origin $dest;
    capture #x;
endif;

but I don't see why it would make a difference