Check out Glinski's Hexagonal Chess, our featured variant for May, 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

@ Fergus Duniho[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sun, Nov 12, 2023 09:49 PM UTC in reply to Diceroller is Fire from Mon Sep 19 2022 04:33 PM:

For Diagram Designer it is same? I uploaded my files in chessvariants , but what I should do to upload in Diagram Designer?

Game Courier uses set files that list the pieces in a set. Each set file is a PHP script that sets at least two variables. One is the $dir variable, which contains the location of the pieces relative to the main directory of the website. The other is the $pieces directory, which is an associative array with piece labels keyed to file names of graphic images. Sometimes, other variables are included. Shogi sets include $width and $height to set the dimensions of spaces, the $flip variable to indicate that the set may be flipped, and the $setdesc variable to provide a text description of the set when it's used in Game Courier. Some also include a $flipped variable, which is like the $piece variable for images to use when the piece set is flipped for Shogi-like games.

Set files go into the /play/pbm/sets directory, and there is also a sets.php script that needs to be filled in with information about each set. These details can be handled by an editor once you make your pieces available and provide the set files you want used.