The Chess Variant Pages




[ 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

Grand Apothecary Chess-Classic. Very large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on 2021-08-30 UTC

I now made the Play-Test Applet also generate Pre-Game code for defining a custom piece set, from the pieces that were used in the Interactive Diagram, when you press the GAME-code button to convert the Diagram to an automated preset. When a standard piece set was used (with the piece labels from the set used as piece IDs in the Diagram), there is no need to copy this to the Pre-Game section of the preset. But for non-standard sets it can be added to the mandatory Pre-Game code for defining the set.

The idea is that you should use purely alphabetic upper-case piece IDs in the Interactive Diagram that you will be converting. The newly generated GAME code then assocites these with the piece images that the Diagram was using.

This is as yet untested in a real preset. But the generated code looks like the example in the comment 42275. E.g. for a Diagram with just King and Pawns on the board I get:

set mypieces assoc
  P "wpawn.png" p "bpawn.png"
  K "wking.png" k "bking.png";
setsystem dir "/graphics.dir/alfaeriePNG35/"
setsystem pieces #mypieces