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 Wed, Mar 1, 2023 07:33 PM UTC in reply to Fergus Duniho from 05:16 PM:

Thank you, that helps. I think there might be another problem with what I was trying also.

map nw -1 1 n 0 1 w -1 0 e 1 0 s 0 -1 se 1 -1;
print mergeall where #0 n where #0 e;
print mergeall where #0 0 1 where #0 1 0;

When I run this, the output is

Array
(
)
Array
(
    [0] => b1
    [1] => a2
)

so it seems like the logical directions don't work in this context. I've also noticed that there are several "logical directions" links on this page that don't go anywhere.

I also have an unrelated question. Is there any way to control which space is highlighted after a move is made?