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

The birth of two variants: Apothecary chess 1 & Apothecary chess 2[Subject Thread] [Add Response]
Aurelian Florea wrote on Sun, Apr 30, 2017 12:11 PM UTC:

One more question.

I need to generate akin to fisher random chess (I've checked that preset, too) random piece placements. Here is my code:

drop Q any b2 e2 i2;
drop A any b2 e2 i2;
drop M any b2 e2 i2;
drop q any b9 e9 i9;
drop a any b9 e9 i9;
drop m any b9 e9 i9;

 

Is there a neat way to get an mirror between white and black as the code I provide is almost never synchronized between white and black. I understand that I can search and remember whites position and then place pieces for black in the generated way, but I'm searching for a neat way to do things quickly,

Thanks, Aurelian