Check out Janggi (Korean Chess), our featured variant for December, 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

Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Thu, Dec 19 04:50 PM UTC in reply to Florin Lupusoru from 04:23 PM:

The settings file is what you save. The preset is a set of values, passed by query string or form, that you use to pass values to Game Courier. The settings file is one of the things you might include in a preset. This will itself contain a bunch of values, and using it saves you from having to name all your values in its preset. This is particularly helpful for GAME Code, which will usually be too long to fit on a query string.

Here are two examples of URLs with query strings that serve as different presets, but each includes the same settings file:

https://www.chessvariants.com/play/pbm/play.php?game=Chess&settings=fairychess

https://www.chessvariants.com/play/pbm/play.php?game=Chess&settings=fairychess&set=magnetic

These use the same settings file for common stuff like game structure and programming, and different presets allow someone access to various cosmetic variations without the need to redo everything else.

To find the settings file used for a preset, look for the "Main Settings for <game>" menu item in the Related menu. To see the values defined in the settings file, click on the Edit button. From there, you can modify the settings file if it is your own, or you can create a new settings file.