Check out Makruk (Thai Chess), our featured variant for March, 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

Play-test applet for chess variants. Applet you can play your own variant against.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Oct 20, 2023 03:52 PM EDT in reply to H. G. Muller from 02:00 PM:

I set up a simple loop similar to your own to see if I encountered the same problem:

set k 1;
set r 5;
set hit false;
do while < #k #r and not #hit:
  echo #k #r #hit;
  dec r;
  set hit true;
loop;

This looped only once. I changed what hit is set to to "e1" and got the same result. So, the problem does not seem to be with the logic of the looping condition. Has any of the subroutines you called changed the value of k or r?