Comments by catugo
I'll do it today!
I did not figured out what to copy and paste into the wizard. On my variants I start with this line:
script type="text/javascript" src="../membergraphics/MSinteractive-diagrams/betza.js?nocache=true"
as far as I remember.
But a similar line seems to end the Megalomachy diagram.
Thank for refreshing my memory, HG!
I don't think it works. I keep getting orthodox chess. Can it be that the description is too long. I have tried an Grand Apothecary game it it works fine. This is how I know I have followed the proper steps.
I get this error:
Cannot make a diagram with 0 pieces on an 8x8 board!
satellite=megalo | |
files=16 | |
ranks=16 | |
promoZone=1 | |
maxPromote=2 | |
promoChoice=EA,AM,G | |
graphicsDir=/graphics.dir/alfaeriePNG/ | |
graphicsDir=http://chessvariants.com/graphics.dir/alfaeriePNG/ | |
squareSize=33 | |
graphicsType=png | |
theme=DD | |
whitePrefix=w | |
blackPrefix=b | |
borders=0 | |
firstRank=1 | |
useMarkers=1 | |
newClick=1 | |
captureMatrix=/"27/27^^^^^=/"/27^^^^^%/32% | |
pawn::fmWfceFifmnDifmnH::a5-p5 | |
warrior::fmWfmnnDfceFbhcN:quickpawn:a2-d2,m2-p2 | |
ram:RM:mgQcfD::c1,n1,e2,l2 | |
scout::mNcA:knightpawn:g4,j4 | |
vao::mBpcB::d1,m1 | |
camel::::d3,m3 | |
zebra::::e3,l3 | |
war machine:D:yafpabmRWD:warmachinewazir:f4,k4 | |
elephant::yafpabmBFA:elephantferz:d4,m4 | |
frog::FH::a4,p4 | |
guard:GD:yafpabmRK:duke:b3,o3 | |
knight:N:yafafafpabmBN::b4,o4 | |
bishop::::h4,i4 | |
cannon:CN:::e1,l1 | |
rook::::a3,p3 | |
leo:LE:mQpcQ:paovao:c3,n3 | |
nightrider:NR:::b1,o1 | |
dragon horse:DH:BW:promotedbishop:c4,n4 | |
dragon king:DK:RF:promotedrook:a1,p1 | |
rhino:RH:[W?fsB]::g1 | |
gryphon::[F?fsR]::f1 | |
archbishop:::cardinal:e4 | |
marshall:::chancellor:l4 | |
queen::::j1 | |
lion::KNAD::h2 | |
amazon:AM:QN::i2 | |
archer:AR:WA::f3,k3 | |
spearman:SM:FD:nspearman:g3,j3 | |
bat:BA:B(paf)14cB::h3,i3 | |
raven:FA:R(paf)14cR:bird2:g2,j2 | |
eagle:EA:Q(paf)14cQ:bird:h1,i1 | |
terror::QNADcamK:dragon:f2,k2 | |
king::KispO9::k1 |
Now I get this:
Please report any bugs or errors to H.G. Muller
I probably mismatched something.
But neither &showcode=true (I got this from the developer guide) or &edit=true work
Oh, that seems a lot of work. But I'll do it in the evening!
Did not knew that! Still in the evening, but thanks!
I have done it and it seems to be working fine!
I have pasted that at the end of the pregame section.
Done!
Flying pieces still do not fly!
It seems people are not that interested in this topic. I'm thinking that this is because there is not a lot of experience in games with jokers.
Anyway after a intensive series of games played against the ID these days, I have concluded that on a 10x10 board at least things are ok. What bad thing that can happed is to lose connected pawns, because then the joker is not easily trapped by just moving a pawn. So one has to protect connected pawns, especially near the king, even from sacrifices. That is actually a strategic choice on part of the attacker. I think this is actually a good thing.
So my own verdict is that on a 10x10 board the joker works.
Ok, I thought it is like in tenjiku shogi!
I have feared them being game breaking. Otherwise said, it feels like having a random effect.
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.
@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?
@Fergus
I could not figure out what closing tag you were mentioning. This ID still does not work properly!
That is odd. For me in edge it does not work. Or at least 3 diagrams. But it does work in Firefox.
Is there a possibility of creating the preset with gating, especially when players gate their pieces in different places?
I was afraid of that but it makes sense.
That thought has crossed my mind, too. Thanks!
It seems I cannot add code to the premove section!
Not it. I can write some echo there!
I have just read that thismove does not work in premove
Very little succes s far though. This is what I have so far:
@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.
Thanks, I look into it soon!
@Fergus & @ H.G.
So basically it can't be done yet!
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).
No matter I have made some progress!
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.
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.
@ 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
Can someone suggest an example where the capture matrix is used?
I don't know how to say that the source piece cannot hop to move, to capture, or capture said type. Meaning both ? and $.
I think you have Missed my previous comment here, HG!
Maybe it is better if I explain what I want to do.
So there are these two pieces (in position 12 and 13):
lightcannon:X:mRcpR:cannon:a4,n4,,a11,n11
heavycannon:Y:pRpafcpR:warmachine:a2,n2,,a13,n13
The rule I want to implement is that heavy cannons cannot jump, be jumped, captured or be captured by other cannons. My captureMatrix looks like this:
captureMatrix=////////////11$$./11$$./
but probably I got it wrong.
Note the heavy cannon is a bit more than a korean cannon is as it can jump two platforms in order capture, but not move.
Oh, a silly trivial mistake on my part. Thanks!
Actually the name was chosen by HG!
@HG My preset for this game is giving an error about fast castling. It used to work. Any idea why?
Actually I think we still have a problem. The heavy cannon can jump (but it cannot capture) the light cannon. This can't be an capture matrix thing because $ should do them both!
This is funny!
No, it is because it looks like a heart!
Oh, yes!
I'm sorry!
In a moment!
files=14 ranks=14 promoZone=4 maxPromote=2 graphicsDir=https://www.chessvariants.com/cgi-bin/fen2.php?s=33&l=FFFF44&d=0000AA&w=FFFF44&b=0000AA&p= whitePrefix=w blackPrefix=b graphicsType=gif squareSize=38 lightShade=#FFFFFF darkShade=#660000 oddShade=#008800 whitePrefix=w blackPrefix=b graphicsType= symmetry=mirror useMarkers=1 borders=0 captureMatrix=///////////12$$./12$$./ hussar:H:fafsWraflWlafrWsbW:wideknight:c5,e5,g5,h5,j5,l5,f3,i3,,c10,e10,g10,h10,j10,l10,f12,i12 lancer:L:fafsWraflWlafrWbF:narrowknight:b5,d5,f5,i5,k5,m5,d3,k3,,b10,d10,f10,i10,k10,m10,d12,k12 equesrex:K:KN:king--knight:h1,,h14 queen:Q:ZQ:zebra--queen:g1,,g14 manticore:M:WyasfWC:lion:i1,,i14 gryphon:G:NB2afyasfF:gryphon:f1,,f14 paladin:A:BN2:cardinal:e1,j1,,e14,j14 nightrider:N:NNC:camel--nightrider:d1,k1,,d14,,k14 marshall:C:RN2:chancellor:c1,l1,,c14,l14 assasin:S:ZFX:diplomat:g3,h3,,g12,h12 ninja:J:HWXNY:cardinal1:e3,j3,,e12,j12 lightcannon:X:mRcpR:cannon--warmachine:a4,n4,,a11,n11 heavycannon:Y:pRpafcpR:cannon--greatwarmachineferz:a2,n2,,a13,n13 mammoth:T:KADmHmG:mammoth:c3,l3,,c12,l12
I have made the modifications you have suggested, and now it works as expected.
I have noticed that both my megalomachy and frog chess with gryphon and falcon give an error related to fast castle. Probably it is not a coincidence!
Why this instruction: setsystem legalmoves ((e5 a1) (e5 b1) (e5 c1) (e5 d1) (e5 e1) (e5 g1) (e5 h1) (e5 i1) (e5 j1)); gives the error: e5-b1, which is listed as a legal move, is not a well-formed move.
Here is the preset in question.
I agree with all your points here, Jean-Louis! But I have two comments. I remember you did not like compound leapers. Also I thought about those pieces in an 8 stones chess environment!
P.S. By the way 8 stones chess is really good but not programmed!
I'm glad that you will continue the C project for the Interactive diagram. Good luck with that!
@HG,
I get this error:
you can only continue with same piece
here:
Ok, I must sound quite silly. Thanks For the advice. Back to work!
61 comments displayed
Permalink to the exact comments currently displayed.
I have read Eric Silverman's thoughts on powerful pieces now. Trouble with the joker is that it's value is very volatile. In the beginning it is very powerful though. One could argue that maneuvering him it is a matter of skill. This, actually is my conundrum: Is it a matter of skill or a matter or perceived randomness?
By larger boards I mean strictly larger than 8x8. Even in 10x10(where I have 13 piece types) handling the enemy joker is quite tricky. 12x12 could work, too. But larger boards would make games impossible to play if the joker is present. Just imagine Tenjiku shogi with one or God forbid more jokers.
As I have said in my previous comment I have a large palette of piece types represented. This makes things even more complicated.
It could also be that I worry too much, but who knows.