Comments by Aurelian Florea
Can someone suggest an example where the capture matrix is used?
@ Fergus,
Can you look over this : https://www.chessvariants.com/play/pbm/play.php?game=Frog+Chess+with+Gryphon+and+Falcon&settings=default&submit=Edit
preset I am attempting, and tell me what basic mistakes I am doing. I don't think my logic is very bad. But anyway I am not sure I use the proper variables.
What should happen, is that white should be allowed to move the two pieces on the back line to be gated, then black the same. It does not work as I inteneded and I don't know why. Please help1
I cannot find an Interactive Diagram of this game. I'd like an example of implementing a rules like cannot capture other cannons or other cannon types or cannot jump other cannons or cannon types. Emphasis on the plural as I need a list of pieces not just one.
Acording to the rules of the game, first white has to place it's two gating pieces behind. Then black his two. I got stuck while trying to do both move in the same turn. I have tried using continuemove, but I get into infinite loops no matter what I had done.
No matter I have made some progress!
It is definitely not that easy.
One thing is that when I try to make the move to a1 (for example), which would be an eligible brouhaha square I get an error saying that said move it is not even a pseudo legal move. By the way for now I have disabled the brouhaha squares and left the whole board intact (meaning no ----). But I could not comment the set brouhaha instruction in the pregame code.
Another thing is that the regular moves of all pieces are still displayed despite the fact that they are not legal anymore (i have setsystem the legalmoves array to () or even to null).
@Fergus & @ H.G.
So basically it can't be done yet!
@HG Muller & @Fergus Duniho
I have looked through the musketeer chess preset and recapped a bit of the programmer's guide. I have also tried a few things. But still I have no true clue on how to do the gating. Any help with clues is welcomed. Don't bother too much though. I know you guys are busy. But some hints to where I put my code and what that code should be are very welcomed.
Very little succes s far though. This is what I have so far:
I have just read that thismove does not work in premove
Not it. I can write some echo there!
It seems I cannot add code to the premove section!
That thought has crossed my mind, too. Thanks!
I was afraid of that but it makes sense.
Is there a possibility of creating the preset with gating, especially when players gate their pieces in different places?
That is odd. For me in edge it does not work. Or at least 3 diagrams. But it does work in Firefox.
@Fergus
I could not figure out what closing tag you were mentioning. This ID still does not work properly!
@Fergus, It seems the ID does not work here. When pressing "here" the pieces are not shown. Just the legend. I know you have changed the script a bit. Any idea on what is going on?
@Fergus, It seems the ID does not work here. When pressing "here" the pieces are not shown. Just the legend. I know you have changed the script a bit. Any idea on what is going on?
@Fergus, It seems the ID does not work here. When pressing "here" the pieces are not shown. Just the legend. I know you have changed the script a bit. Any idea on what is going on?
Since this comment is for a page that has not been published yet, you must be signed in to read it.
Since this comment is for a page that has not been published yet, you must be signed in to read it.
I have feared them being game breaking. Otherwise said, it feels like having a random effect.
25 comments displayed
Permalink to the exact comments currently displayed.
I don't know how to say that the source piece cannot hop to move, to capture, or capture said type. Meaning both ? and $.