Check out Symmetric Chess, our featured variant for March, 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

Fairy-Max: an AI for playing user-defined Chess variants. A chess engine configurable for playing a wide variety of chess variants.[All Comments] [Add Comment or Rating]
💡📝H. G. Muller wrote on Thu, Jan 21, 2021 08:37 AM UTC in reply to Aurelian Florea from 02:51 AM:

Oh sorry, I completely overlooked those questions. The latest version of Fairy-Max and WinBoard now are bundled in the WinBoard-AA package.

The pieceToCharTable is how Fairy-Max instructs WinBoard to map piece IDs on images. Each position in the pieceToChar string corresponds to a certain image, starting with Pawn, Knight, Bishop, Rook, Queen, ... and ending with King. First half for the white images (upper-case IDs), second half for the black (lower-case IDs). For an overview of the available images, look here. Images not needed in the game are indicated by a dot. The others by the ID of the piece they represent (a single letter, or letter plus a single quote or exclamation point, the latter only recommended for use when you run out of letters).

Fairy-Max just sends that string to WinBoard, when the variant it describes gets selected. It doesn't do anything with it itself.

There are some special notations in the pieceToChar WinBoard attaches additional meaning to: ^L , with L some piece ID that was already assigned to some other image means the image is for the promoted version of an L (which, in move and position notations, would be indicated as +L). This is needed mainly in Shogi variants; normally WinBoard assumes that the piece that uses the Pawn image promotes to a piece of your choice on reaching the zone (the depth of which depends on the parent variant and board size)