Check out Grant Acedrex, our featured variant for April, 2024.


[ 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]
Carlos Cetina wrote on Thu, Oct 27, 2022 06:52 PM UTC:

OK, I found a solution to the shuffle problem. At the end of the PreGame section, add the code

set b1 findpiece B first spaces;
set b2 findpiece B last spaces;
if & 1 - file b1 file b2:
  setflag #b1;
  setflag #b2;
endif;
set b1 findpiece b first spaces;
set b2 findpiece b last spaces;
if & 1 - file b1 file b2:
  setflag #b1;
  setflag #b2;
endif;

This will mark both Bishops as non-virgin in the starting position when their distance is an odd number of squares (i.e. when they are already on different shades). And non-virgin Bishops can never use the Wazir move.

 

Something is still wrong since after adding that code I get a blank page saying only

Please report any bugs or errors to H.G. Muller

I am doing the tests with two settings names:

asymmetric-enforced  does not have the code you pointed out added.

Asymmetric-Enforced does have added the code.

Both have functions B, b defined as

def B cond #0 104 0;

def b cond #0 104 0;

What are we going to do with the following lines?

def B cond #0 (cond flag var ori BBB cond == 1 var wstart BBB cond var wstart WWW BWBWBW) 0;

def b cond #0 (cond flag var ori BBB cond == 1 var bstart BBB cond var bstart WWW BWBWBW) 0;

Will we not use them?