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 Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Ratings & Comments

LatestLater Reverse Order EarlierEarliest
Match between Fairy Max and ChessV[Subject Thread] [Add Response]
H. G. Muller wrote on Wed, Mar 4, 2020 08:57 AM UTC:

I think the real problem is that the ChessV.Engine.exe is defective; see my posting in the ChessV comments.

Note that Fairy-Max calls this game 'frog' only because the user configured it this way; Frog Chess is neither pre-cofigured in Fairy-Max, nor an XBoard standard variant. It would be just as easy to make Fairy-Max use the name that ChessV uses.

I am not sure it is 'unfortunate' that XBoard protocol only defines a very limited list of standard variants. The problem is that such a list, no matter how long you make it, will never be (or stay) complete anyway. To be future-proof, any name should be allowed. This means the names are not really part of the protocol anymore than the names of chess engines are; they are just data, and the protocol prescribes only what commands should be used to communicate them.

IMO the list of standard variants is already way too long; many variants in the list have no special properties, and only differ from each other (or from orthodox Chess) through board size, array, and piece moves. And the latter properties have basically become freely specifiable parameters for 'engine-defined variants'. So variants like Capablanca Chess, CRC, Great Shatranj really have become redundant, and are maintained only to deal with 'legacy engines'. Because the latter would not reply to the 'variant' command that selected them with a 'setup' command for specifying the array and board size.

The concept of engine-defined variants does raise the problem of name standardization, though. Which becomes more than a cosmetic problem when we want to play engines against each other. Perhaps GUIs should already provide a work-around for cases where engines disagree on the name of a variant they both play, like a per-engine 'alias list' of variant names. Which the GUI then should apply (in either direction) on both variant names received from the engine and sent to the engine.


Greg Strong wrote on Wed, Mar 4, 2020 12:50 AM UTC:

@Aurelian:

ChessV decides what games an engine supports based on the variants it announces support for.  Unfortunately, the XBoard protocol only specifies how a small number of variants are to be named and they are often not the official name of the game.  For example, Joe Joyce's Great Shatranj is identified only as "great".  So for many games, ChessV doesn't know if an engine supports a game because there is no official string used to identify the game.

That said, you can tell ChessV how a variant should be identified by specifying the XBoardName string variable.  So, if you have configured FairyMax to play Frog Chess and called it "frog", you would also edit the ChessV include file that defines Frog Chess adding the following line:

XBoardName = "frog";

This line goes right inside the Game definition, where Invented and InventedBy are specified.  If you do this, it should offer Fairy-Max as an opponent for Frog Chess.


Aurelian Florea wrote on Tue, Mar 3, 2020 10:37 AM UTC:

So basically there is no chance for now to set up a game between the 2 engines.


Aurelian Florea wrote on Sun, Mar 1, 2020 10:35 AM UTC:

I did not combrehend it is about the Betza notation. Now I understand!


H. G. Muller wrote on Sun, Mar 1, 2020 09:51 AM UTC:

Well, for one the spaces are missing behind the # and & in the piece-descriptions for WinBoard, which probably leads to WinBoard ignoring them altogether. Which is just as well, as HH and WH are not the Betza notations for the moves of the Hannibal and Waffle: you defined the Hannibal for WinBoard as a Trebuchet-rider. But for Fairy-Max you defined it as a Modern Elephant, which has no moves in common. But even when ignoring the piece definitions, WinBoard will revert to the default move of the piece, which for the Elephant that you use in all cases will be the Alfil move.

The F moves of the Hannibal and the W moves of the Waffle will then be rejected by WinBoard as illegal, when Fairy-Max plays them. And Fairy-Max can recognize checkmates where WinBoard still sees a possibility for the King to escape, to a square that the Hannibal or Waffle attack without WinBoard being aware of it. And then WinBoard would judge the mate claim by Fairy-Max illegal.

 


Aurelian Florea wrote on Sat, Feb 29, 2020 03:51 PM UTC:

Greg,

I had noticed that chessV2 has the ability to play with different engines. But such an option is not shown for frog chess, hannibal chess, waffle chess. Is that from bad scipting or is it the fact that external engines variants options is hard coded?


Aurelian Florea wrote on Sat, Feb 29, 2020 03:48 PM UTC:

HG,

the following script in Fmax ini file yiels invalid move and invalid claim errors. I posted what I had changed. Please tell me where am I wrong.

//Frog chess invented by Kevin Pacey
Game: frog # PNBRQ.FKpnbrq.fk # fairy
10x8
6 4 5 8 7 3 8 5 4 6
6 4 5 8 7 3 8 5 4 6
p:100 -16,24 -16,6 -15,5 -17,5
p:100 16,24 16,6 15,5 17,5
k:-1 1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
b:350 15,3 17,3 -15,3 -17,3
R:475 1,3 16,3 -1,3 -16,3
Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
f:275 15,7 17,7 -15,7 -17,7 3,7 -3,7 48,7 -48,7
#
#F&FH

//Hannibal chess invented by Kevin Pacey
Game: hannibal # PNBRQ.HKpnbrq.hk # fairy
10x8
6 4 8 5 7 3 5 8 4 6
6 4 8 5 7 3 5 8 4 6
p:100 -16,24 -16,6 -15,5 -17,5
p:100 16,24 16,6 15,5 17,5
k:-1 1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
b:350 15,3 17,3 -15,3 -17,3
R:475 1,3 16,3 -1,3 -16,3
Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
h:275 15,7 17,7 -15,7 -17,7 30,7 34,7 -30,7 -34,7
#
#H&HH


//Waffle chess invented by Kevin Pacey
Game: waffle # PNBRQ.WKpnbrq.wk # fairy
10x8
6 8 4 5 7 3 5 4 8 6
6 8 4 5 7 3 5 4 8 6
p:100 -16,24 -16,6 -15,5 -17,5
p:100 16,24 16,6 15,5 17,5
k:-1 1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
b:350 15,3 17,3 -15,3 -17,3
R:475 1,3 16,3 -1,3 -16,3
Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
w:275 1,7 16,7 -1,7 -16,7 30,7 34,7 -30,7 -34,7
#
#W&WH


H. G. Muller wrote on Sat, Feb 29, 2020 08:59 AM UTC:

For 'engine-defined variants', the definition in the fmax.ini file should also specify a 'pieceToCharTable' (to indicate which images should be used for what piece) and a 'parent variant' (normally 'fairy', unless there are some special rules that you want to borrow from another variant, such as a wider promotion zone, or the possibility to gate pieces). They go on the 'Game:' line, after the name of the variant, separated by #, like

Game: frog # PNBRQ.FKpnbrq.fk # fairy

if you want to depict the Frog as an elephant (because the F is in the 7th place of the pieceToCharTable, and WinBoard's 7th piece image is an elephant). The last piece mentioned for each color will always use the King symbol.

It will also be helpful to make Fairy-Max inform WinBoard on how the Frog moves, so that you will be able to play the games with legality testing on. To this end you should append the following two lines to the game definition:

#
# F& FH

This will make Fairy-Max emit a 'piece' command at the start of the game for F (the '&' indicating it applies to F of both colors), to indicate it moves as a (Betza) FH. (The other pieces move as WinBoard would expect a piece with that image to move, so there is no need to (re)define their moves.) Unfortunately Fairy-Max is not smart enough to construct the Betza notation that XBoard needs from the move definition as it was given on the 'f:' line. I still hope that I can make some future version of Fairy-Max work entirely from Betza move definitions in the fmax.ini file, rather than from the list of step vectors and primary/secondary move rights it uses now.


Aurelian Florea wrote on Sat, Feb 29, 2020 05:25 AM UTC:

@HG and Greg

I want to see three competitions between Fairy Max and ChessV using Winboard. The games should be Frog Chess, Hannibal chess and Waffle Chess.

1. What is the instruction that connects ChessV with winboard?

2. When I try to load FairyMax to play I get the message: "Engine did not send setup for nonstandard variant".

These are the fairymax representations of the 3 games, as I have written them:

//Frog chess invented by Kevin Pacey
Game: frog
10x8
6 4 5 8 7 3 8 5 4 6
6 4 5 8 7 3 8 5 4 6
p:100 -16,24 -16,6 -15,5 -17,5
p:100 16,24 16,6 15,5 17,5
k:-1 1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
b:350 15,3 17,3 -15,3 -17,3
R:475 1,3 16,3 -1,3 -16,3
Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
f:275 15,7 17,7 -15,7 -17,7 3,7 -3,7 48,7 -48,7

//Hannibal chess invented by Kevin Pacey
Game: hannibal
10x8
6 4 8 5 7 3 5 8 4 6
6 4 8 5 7 3 5 8 4 6
p:100 -16,24 -16,6 -15,5 -17,5
p:100 16,24 16,6 15,5 17,5
k:-1 1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
b:350 15,3 17,3 -15,3 -17,3
R:475 1,3 16,3 -1,3 -16,3
Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
h:275 15,7 17,7 -15,7 -17,7 30,7 34,7 -30,7 -34,7

//Waffle chess invented by Kevin Pacey
Game: waffle
10x8
6 8 4 5 7 3 5 4 8 6
6 8 4 5 7 3 5 4 8 6
p:100 -16,24 -16,6 -15,5 -17,5
p:100 16,24 16,6 15,5 17,5
k:-1 1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
b:350 15,3 17,3 -15,3 -17,3
R:475 1,3 16,3 -1,3 -16,3
Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
w:275 1,7 16,7 -1,7 -16,7 30,7 34,7 -30,7 -34,7


UserID on CV site[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Feb 25, 2020 09:35 PM UTC:

Since the userid is limited to 16 characters, and ChessVariantDemos has 17, I could not make the change. Note that you have two different IDs on this site, though both are presently the same for you. These are the personid, which is limited to 32 characters, and the userid. The userid is the handle that you use to sign in, and it is also used when you play games on Game Courier. The personid is used to identify you when you post comments or contribute content. This site was using personids before userids were ever a thing here, and the original personids were based on a person's name, such as DavidHowe or FergusDuniho. Userids were meant as shorter handles for signing in. I could change your personid to ChessVariantDemos, though one based on your name would be preferable.


JT K wrote on Tue, Feb 25, 2020 08:56 PM UTC:

Hi Fergus, can I get it changed to ChessVariantDemos?  (assuming all the info and variant pages I've written remain)


🕸Fergus Duniho wrote on Mon, Feb 24, 2020 05:22 PM UTC:

What do you want to change your userid to?


JT K wrote on Sat, Feb 22, 2020 07:50 PM UTC:

Anyone know who can help me create a new UserID for this account?  Not just name change...


Piece Values[Subject Thread] [Add Response]
H. G. Muller wrote on Fri, Feb 14, 2020 10:28 AM UTC:

Strange anomaly

I have started an attempt to determine piece values on a 12x12 board, about which very little is known. I use Fairy-Max self-play for this. To not make the games too long, the basic start position I use consists of a FIDE army augmented with 4 Pawns (to close the Pawn rank). So the board is pretty thinly popuated. The 4 central Pawns start on 4th rank, to speed up engagement, but the 3 Pawns in each wing start on 2nd rank, to provide some King shelter. The Knights also start in a somewhat advanced position, on 3rd rank behind the central Pawns, as does the Queen (to not have too many unprotected Pawns in the start position.

To determine piece values I delete some pieces from this setup, or sometimes replace them by fairy pieces. The side with the weaker piece can be compensated by giving the opponent Pawn odds, for which I always delete the same Pawn (on the h-file). Such Pawn odds alone results in a 68-70% win of the side with the extra Pawn. I only trust results when the total advantage is closer to equality than Pawn odds.

I don't want to delete more than a single Pawn, because Pawns are highly cooperative pieces, and I cannot be sure that deleting two Pawns gives twice the advantage of deleting a single one. By always granting the same simple Pawn advantage (or none at all), I can get a reliable 'measuring stick' on which the values of other pieces can be mapped. This poses a problem if there is a gap of more than 2 Pawns in the 'piece-value spectrum', though: I cannot play those 1-on-1 without getting an imbalance that is too extreme. I solve that by also introducing fairy pieces with values in the gap, and also determine their value.

I try to avoid Bishops, (and color-bound pieces in general) because of the pair-bonus problem, which would introduce yet another unknown. Which, if not handled properly by the engine, might invalidate the results. So I tried to find a very 'Bishop-like' piece that is not color bound. My first choice was this: to break the color binding of a Bishop, I gave it Wazir moves. To compensate for that (and prevent mating potential), I take away the Ferz moves. But to not affect the more distant B moves, they can still be blocked on the F squares. (So basically this is a Tamerlane 'Picket' + Wazir.)

Such a modified Bishops beats a Knight on 12x12 (as ordinary Bishops also do). The strange thing is that when I then handicap them with Pawn odds, they still beat the Knight, by about the same score. The extra Pawn doesn't seem to help the Knight at all! I have never seen that before; normally deleting a Pawn lowers the score by about as much as the pure Pawn-odds advantage. I watched a few games, and often they end in Knight + Pawns vs modified Bishop + Pawns, where the Knights are still judged by the engine to be ahead (because there are more Pawns on their side). But the Knight then almost always loses. The 'WazirPicket' can easily prevent advance of many isolated Pawns, by guarding a diagonal. And by just stepping in front of a Pawn it attacks as well as blocks it, so that the Pawn easily falls. Even connected passers are easily destroyed this way, if they still have far to go. (And on 12x12 they usually have; I use promotion on last rank only.)

I guess the WazirPicket is just unrepresentatively dangerous to Pawns, in the absence of pieces that can protect those. (And Knights are pitifully slow on 12x12...) So that the value of opposing Pawns shrinks to almost nothing in the late end-game.

My next attempt at a non-color-bound substitute for a Bishop will only change the mF moves of a Bishop to mW, but leaves the captures in place. This will also have the advantage that it cannot be blocked on a square that it doesn't attack, so that it cannot be blocked with impunity (as lame leapers can). Such a piece cannot do more damage to Pawns than ordinary Bishops can, but the mW move does allow it to switch color on non-captures. (Hence I dubbed it Swishop.)

 


changing email address[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Fri, Jan 17, 2020 09:28 PM UTC:

If that address won't receive the email for changing your email, then it won't receive other emails from us. If that's important to you, then I recommend using another address.


Glenn Nicholls wrote on Fri, Jan 17, 2020 08:42 PM UTC:

Thanks for the quick response.

I can't see anything  - can one of the site's editors simply change it to the new address if I give them this?

Regards

SAE Nicholls


Ben Reiniger wrote on Fri, Jan 17, 2020 08:24 PM UTC:

I've just tested on my own account, and the email was received, though sorted into the spam folder.  Have you double-checked your spam folder?  (My target account is administrated by google, though it's not a `gmail.com` address; I know we've had problems with gmail addresses in the past.)


Glenn Nicholls wrote on Fri, Jan 17, 2020 08:15 PM UTC:

It seems a member trying to change his email address might not work - I've tried to change mine but have not received the necessary email to the new address with a link needed for confirmation.

Could somebody check this, and also a backup hasn't been done for some days now.

If somebody could kindly sort these two things out - thanks.

SAE Nicholls

 


New pieces in TenCubed Chess [Subject Thread] [Add Response]
Stanislav Kravchenko wrote on Tue, Jan 14, 2020 04:31 AM UTC:

I came up with these changes. Yes, this is Zanny. Ten Cubed already has chess pieces from Capoblanca and Omega chess, and I think that 2 pieces from 100-cell chess by Vsevolod Dubrovsky will not interfere with it. And you can call Ten Cubed extended. 

 


Greg Strong wrote on Sun, Jan 12, 2020 08:02 PM UTC:

One of these pieces, the diagonal one (is that the Zanny?) was built in with the name 'Free Padwar' (a piece from Jetan.)  I am adding the other one as 'Free Warrior'.  It is possible to create it in the scripting language, but since the Padwars (both Free and Chained) are built in, the Jetan Warriors should be also for completeness.

Is the only change to Ten Cubed the addition of these two pieces?  What should this new game be called?  And who invended it?


The birth of two variants: Apothecary chess 1 & Apothecary chess 2[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Jan 4, 2020 05:28 PM UTC:

That's correct. Thanks for saving me the trouble, Greg.


[Subject Thread] [Add Response]
Aurelian Florea wrote on Sat, Jan 4, 2020 06:41 AM UTC:

Thanks, Greg!


The birth of two variants: Apothecary chess 1 & Apothecary chess 2[Subject Thread] [Add Response]
Greg Strong wrote on Sat, Jan 4, 2020 12:04 AM UTC:

if match old r b n m a c v s w:
setelem reserve old inc elem old reserve;
endif;

reserve is an associative array that is keeping track of the number of pieces of each type that is in reserve.  When a piece of one of these types is captured, the number associated with that type in the associative array is incremented.  This is for implementing the promotion rules where you are allowed to promote by replacement to pieces of yours that have been captured.


H. G. Muller wrote on Fri, Jan 3, 2020 06:58 PM UTC:

I though about castling for a while but it does not seem a good thing. It would have involved one step diagonally back which is also uncomfortable. Any thoughts are appreciated.

For this reason I did start the King in Elven Chess on the back rank, and put one of the unorthodox pieces (the Lion) in its place next to the Queen.


Aurelian Florea wrote on Fri, Jan 3, 2020 03:51 PM UTC:

And another question for Fergus, if I may.

in the gross chess code there is a line (to the end of post move code)

if match old r b n m a c v s w:
setelem reserve old inc elem old reserve;
endif;

I think it supposed to increase the values of pieces in reserve once captured, But I don't understand how and why, as for example there is no captured keyword. Thanks!...


25 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.