Comments by arx
Did you ever try having a capturing piece take the mount of the piece it captures?
Something seems to be wrong with this game. When I declined to promote my pawn, the promotion options keep showing up for both players. I did have to modify the promotion options from the generated code to get them the way I wanted, but it all seemed to be working before.
https://www.chessvariants.com/play/pbm/play.php?game=Expanded+Chess&log=arx-cvgameroom-2020-345-802
thanks!
I'm trying to define a pawn that can move forward two spaces any time there is a piece immediately behind it, and can be captured en passant. I have tried fmWfceFbpabmamfamfnW and fmWfceFbpabmamfnamfW but neither work. Should I be putting the n somewhere else? Does it not work in this way?
I also tried an en passant capturable rook with mnRceR but that didn't work either.
Ok, thanks But I'm still wondering, even if it doesn't work yet, what would be the correct way to define that? Should the n be on the last step or the one before that?
This is a very good game. Everything fits together well. The random setup provides variety without being completely chaotic. The brouhaha squares are a great way to add more pieces without making the board so big it feels empty. The promotion rule encourages more variety in promotion, which is something I look for particularly; and I like the auxiliary pieces used here. The Mameluk especially is fun.
I think I might slightly prefer the Modern Apothecary game, for it's Dragon and Griffin, which to me are more interesting than the Chancellor and Archbishop, but I like the Siege Elephant and Mameluk as auxiliaries, so it's hard to choose one game over the other. I don't know if I'd agree with the statement that the Joker can't defend well. It seems to me that it's ability to mimic an attacker's move makes it particularly good at defending and more difficult to use aggressively. I'm not great at chess (in any form), though, so I could be wrong about that.
I'm interested to see what the next games in this series will be like!
I made this preset to test a game idea but I think I messed up the html in the rules section and now I'm unable to save any changes to it
I just get a blank page
If all your pieces have symmetrical moves, you could just include one direction in the image. Then you wouldn't need so many squares on a grid.
I think that for moves of more than 2 squares it gets difficult to tell easily what the move is exactly on those tiny diagrams. There's a lot of redundancy in your images because everything is repeated 4 times, or more.
If you really need to represent the pieces with their movements, try doing it more abstractly.
Using letters would be ok if you can't get good images. Maybe just use letters for things you don't have images for yet.
I've tried making a rules enforcing preset for this game. https://www.chessvariants.com/play/pbm/play.php?game=Grande+Acedrex&settings=rules-enforcing
If it's working right, could it be added to this page?
That's something I wasn't sure about so I just included it. I removed it now
I'm trying to use this to make a preset using the Alfaerie: All SVG piece set, but the pieces whose labels start with . don't work. Would I need a new piece set or is there some way to do that I'm missing?
It's my turn in these two games but when I try to open them I just get a message saying a previous move was illegal
https://www.chessvariants.com/play/pbm/play.php?game=Apothecary+Chess-Classic&log=sxg-arx-2021-4-524
https://www.chessvariants.com/play/pbm/play.php?game=Apothecary+Chess-Modern&log=sxg-arx-2021-4-524
thank you!
I've been trying (and failing) to modify the King functions from the Apothecary presets. The problem I have is that if I remove the rank restriction for the king's jump, the preset just doesn't work anymore, unless I also remove the check to make sure the king isn't in check. So I can make the jump work, but jumping moves are still shown as legal even if the king is in check. This is what I have:
def King
checkleap #0 #1 0 2
or checkleap #0 #1 1 2
or checkleap #0 #1 2 2
or checkleap #0 #1 0 3
or checkleap #0 #1 1 3
or checkleap #0 #1 2 3
or checkleap #0 #1 3 3
// and not sub checked #0 If this line is uncommented the preset won't work?
and flag #0
or checkleap #0 #1 1 0
or checkleap #0 #1 1 1;
def King-Range mergeall
leaps #0 1 0
leaps #0 1 1
leaps #0 0 2
leaps #0 1 2
leaps #0 2 2
leaps #0 0 3
leaps #0 1 3
leaps #0 2 3
leaps #0 3 3;
sub King from to:
if checkleap #from #to 1 1 or checkleap #from #to 1 0:
return true;
endif;
move #to #from;
if checkleap #from #to 0 2
or checkleap #from #to 1 2
or checkleap #from #to 2 2
or checkleap #from #to 0 3
or checkleap #from #to 1 3
or checkleap #from #to 2 3
or checkleap #from #to 3 3
and flag #from :
if sub checked #from:
die You may not perform the special moves out of check.;
endif;
move #from #to;
return true;
endif;
endsub;
What am I missing?
Ok, I've saved the preset here http://play.chessvariants.com/pbm/play.php?game%3DTiger+Chess%26settings%3Dtiger
I'm including the fairychess file so I think the checked subroutine should be available, and it's called elsewhere without problems.
The same problem happens if I modify the Apothecary Chess-Modern preset by only removing the lines restricting the king to leaping to the back rank.
The problem is that the king can still jump out of check. I saved it again after enabling the call to the checked subroutine and now it doesn't work
I tried editing it but the run, save, test, and update buttons just go to a blank page now. When I was able to test it all the other pieces seemed to work correctly.
EDIT
I still had the tab open where I was making the preset and I was able to edit it from there somehow and I think I fixed the problem. I still don't understand why, but I had to add a check to make sure the king wasn't jumping to his own starting square.
But I'm still unable to make any changes using "&submit=Edit"
It seems like a similar problem to this other preset I made where I'm unable to edit anything https://www.chessvariants.com/play/pbm/play.php?game=Decimate&settings=test
EDIT2
I think I solved that too actually. It was something about the piece set being unselected somehow so I had to change the set group and change it back and select the right piece set again and it works.
The only thing I can think of is that both presets used empty
. Could that be the problem?
I didn't express that well. I meant that pawns can only push a friendly piece using their normal capturing move. Is it clearer now?
right
I just tried saving a change to a different preset and it didn't work either
25 comments displayed
Permalink to the exact comments currently displayed.
I think what H. G. Muller meant by that was that the play-test applet treats the king's castling move as if en passant applied for the purpose of checking whether the king would pass through check or not, and this can't be extended to leaping.
It's a limitation of the way the applet works, not a misunderstanding of the rules.