Comments/Ratings for a Single Item
Right. The first command adds the Massai to the list of types that resets the counter. The second command limits it so only moves in the specified direction reset the counter.
I meant if a Massai soldier move resets the counter?
Thanks, Greg!
Yes! This should do it:
FindRule( Move50Rule ).TypesThatResetCounter.Add( Massai );
FindRule( Move50Rule ).SetRequiredDirection( Direction( 0, 1 ) );
The need for only resetting the counter when moving forward was added long ago for Chess and a Half. I don't remember ever needing the TypesThatResetCounter list before ... Maybe it was added for something or maybe I was just anticipating.
@Aurelian, I have no idea. This rule has always been sort of academic for me, I have never played a game of any kind when it has been necessary to use this rule. So, you can change to 75 if you feel is better.
@Jean-Louis,
What are your thoughts on the interaction of the 50 moves rule with the maasai pawns in this game?
@Greg,
Hello,
Can chessV2 update the counter in the 50 moves rule also when the maasai pawns are moved. What about only when maasai pawns are moved forward? The later rule seems more sensitive to me, for my game.
Ok, thanks very much!
I will need to do this game in C#. Because of the piece shuffle it cannot be done in an include file. But, in general, you would set the en passant givers and receivers in an include file like this:
FindRule( EnPassantRule ).AttackerTypes = { Pawn, Maasai };
FindRule( EnPassantRule ).VictimTypes = { Pawn, Maasai, Prince };
So then, how should I write the part where the maasai and regular pawns are listed as givers and receivers of the en passant rule?
Yes, Berolina pawns have additional complications
We have had an email discussion about berolinas and regular pawns. This is what I remember. I'm glad it worked out.
This is supported. The en passant rule in configurable with a list of attacker types and a list of victim types. I probably added this for Metamachy (although it only needed a new victim type - this game will use both.)
The only programming that needs to be done for this game is the logic for placing the pieces. I will work on getting it included for the next release.
@Greg,
I remember having a discussion a while ago about how en passamnt would work with multiple types of pawns. This game needs something like that is chessV2 would be able to play it. I want to work something similar at a future game. Any thoughts about it?
15 comments displayed
Permalink to the exact comments currently displayed.
The author, Jean-Louis Cazaux, has updated this page.