Comments/Ratings for a Single Item
I had already put such a link in the single-piece version, but it was in an inconspicuous place at the end, usually out of view. I now moved it up to a more conspicuous place (just below the statistics table), where there was a large amount of white space anyway.
I think you are right: the general article logically belongs to the 'puzzles' section. I think the link in the per-piece page should be enough to catch the attention of anyone interested in this sort of thing.
The way it is linked to from the Archbishop page looks fine. One complication occurred to me, though: the statement whether a piece has mating potential can be dependent on board size. This is not the case for an Archbishop, but short-range leapers in general suffer from this. E.g. the fraction of won positions with white to move for King + Gold General vs. King drops from 92.1% on 10x10 to 10.8% on 11x11. We should think a bit of how to handle that. Perhaps by adding a static table in the Notes section of the few Piececlopedia pieces to which it applies.
The EGT generator in the applet currently can only handle ordinary sliders and leapers, or their compounds. It is blind to subtleties like divergence, lameness or ski-sliding. These can be indicated in the Betza notation, and the Interactive Diagram used for display will highlight the pseudo-legal moves accordingly, but the EGT will move the pieces as if the corresponding m, c, n or j modifiers were not there at all.
I guess there now is a need to fix that, in order to get correct handling of the ski-slide (XBetza jR) of the CwDA Wyvern.
I think I managed to fix the checkmating with the Wyvern, by having the EGT generator recognize the j modifier on sliding moves as ski-sliding, and generate the EGT accordingly. (So far this only works in the per-piece applet to which the Piececlopaedia links; I did not make similar modifications in the article, as it is currently not possible to specify ski-slides in the piece-design pane.)
The technique for checkmating with a pure Ski-Rook is also interesting!
Is there any way to make the applet recognize hopping pieces like Cannons (mRcpR) and Vaos (mBcpB)?
Well, it is a computer program written in a Turing-complete programming language, so anything is possible. But by themselves (i.e. in 3-men end-games like the applet calculates) pure hoppers like Paos, Vaos or Grasshoppers will never have any mates (i.e. they are 'insufficient-mating-material draws'), because they could only attack the bare King by hopping over their own King, effectively giving the latter King an extra sliding move. But even a Queen alone, which has all possible sliding moves, cannot checkmate a King. One doesn't need to generate an EGT to see that. So it is a bit pointless.
Pieces that have hopper moves in addition to normal captures might be able to force mate, but due to their own King being the only available 'mount', it would be very unlikely that their hopping move has any influence near the bare King when their normal moves do. And I don't know any variant that has such pieces anyway.
Hoppers could become of interest in 4-men situations, but making a 4-men version of the applet would be a challenge in itself. It would probably be more useful to first generalize the applet to handle divergent pieces, or bent sliders. Even if the generator supports that, there still would have to be some extra functionality in the user interface for defining pieces that have such moves.
Checkmate on larger boards
I upgraded the checkmating applet: it is now capable of generating the 3-men EGT on boards of other sizes as well. I put two controls in the text where you can select the number of files and ranks. It works up to 16x16; on my computer it could then still generate the EGT in about 10 sec. (Although this might also depend on what piece you are calculating for.)
I also put in some check boxes for selecting some board types other than rectangular: Omega-Chess type with Wizard squares, a Gustavian board, or the board used for 4-player Chess on chess.com. These are implemented by patially filling a rectangular board with unmovable, uncapturable obstacles, so you would always have to specify the outermost dimensions of the board. (E.g. Omega Chess would be 12 x 12.)
I also added checkboxes for selecting two rule modifications: you can calculate the EGT under the rule that stalemate is a win. (Used f.e. in Wildebeest Chess, to make the KWK end-game a win.) I also added a winning condition that I consider of interest myself, namely that you win when you can force the opponent into a corner. This tells you in end-games that are general draws whether the problem is some special complication in delivering the final blow (such as with Wildebeest), or that your material is just to weak to confine the bare King. Playing with stalemate=win rules is no good measure for that, as this rule makes driving into a corner easier, because you can use the threat of stalemate to do it, even when the corner is still far away.
The page for checkmating individual pre-configured pieces has also been upgraded; it also contains controls for the board size (which by default is still 8x8). These can be preconfigured through the URL, with the CGI arguments ?files=F&ranks=R.
It all seems to work; I don't really have trusted data to compare with, for most of these features.
The playable diagram (but not the statistics) seems to be allowing the defending king two moves each turn now. Chromev0.92 on Windows.
Same in FireFox. It always moves twice in its turn. I am not aware of changinng anything recently. But I don't know how long it already does this.
[Edit] The page implemented the computer move by providing a function WeirdPromotion(), and abusing it for scheduling a call to the routine that searches the best move from the EGT and plays it (DoMove()), through a SetTimeout call. I guess that at some point the standard Diagram script started calling WeirdPromotion() twice for every move. (Perhaps for generating the move notation?) So two calls to DoMove() were scheduled. I now changed the code in the page to keep track of whether a timout is already pending, before allowing a new one to be scheduled. This appears to solve the problem.
Could you make the same fix for the EGT.html page (as linked from the piececlopedia articles)?
Could you make the same fix for the EGT.html page (as linked from the piececlopedia articles)?
OK, done.
It would be a very nice feature to include bent riders. The gryphon mates but I'm curious for pieces like R2 then bishop and B2 then rook. I think they are both major (WD is major to my knowledge so probably R2 is too, B2 then rook could be trickier).
Unfortunately it is not very easy to include the bent riders. For one, their retrograde moves are not the same as their normal moves. The current program assumes they are, and uses the same move generator for both. It would also raise the design problem for how to indicate the bent slides.
The current move-definition pane does allow you to define limited-range sliders such as R2, btw. Just define a regular Rook by clicking the W squares twice, and then for each paths click the H square to cut off the slide there. Usually the ability to jump doesn't have much use at this stage of the game; both WD and R2 can force checkmate in the same number of moves. It is just the statistics that changes a bit.
So R2-then-B can certainly force checkmate, as R2 already can. B2Z reaches a subset of the B2-then-R destinations, and it is also able to force checkmate. So I expect the B2-then-R to do it even faster, as the fact that it cannot leap directly to the Z squares should hardly hinder it.
Thanks for the analysis!
There is one caveat: R2 (and WD) lose their mating potential on 12x12. Adding Camel moves cures this, even up to 16x16 (the largest the Applet can do). So I have little doubt R2-then-B would have mating potential there.
For B2-then-R very large boards actually make it easier. Because from a large distance you could use the R legs as if the piece were a Rook. Even an invulnerable one, because the bare King cannot approach it. And the F step can be used to tighten the noose around the bare King. So it should be a very easy checkmate.
Thanks once again for the insight!
I was trying to setup KWWvsK endgame (W stands for wizard), but the ai makes knight moves for some reason.
You probably forgot to press the Calculate button after changing the piece move; on loading the Applet calculates KNNK. (Because that is fast, as there are no forced mates.)
Btw, KWWK is also a dead draw. Because a Wizard cannot move from c1 to a1 in an odd number of moves. It is color bound, but within its color it is meta-color alternating, switching its coordinates between odd and even each move. And a1 and c1 have the same meta-color.
Hello H.G.
Can the applet do a piece that moves like a manticore for the 6 directions that are not the two back most and also moves back like a rook and like a bishop?
Later edit: Ok, it seems you did only classic bent riders. Thanks!
The Applet here only does normal sliding, no bending at all. The main problem is that I don't have a good idea how one would have to define such a piece. In the Applet I made for Jean-Louis' book the Griffin and Manticore are selectable by buttons, but then you cannot make asymmetric pieces like those you describe.
Checkmating with a piece that has an orthogonal slide is usually very easy, though. It only needs a minimal mobility in the other directions. E.g. WfR already does it. (And note that W is a sub-set of the Manticore.) WfRfB is very easy.
Thanks HG!
For some reason the calculate button does not appear anymore!
There never was one in the 2-vs-1 applet. It starts calculating when you press 'Apply' or 'Design ready'. For the 3-vs-1 applet a separate button was needed because you have to enter the moves of two pieces, and you don't want calculation to start after defining the moves of just one of the pieces. (As it takes quite long, and cannot be interrupted.)
Oh! My bad!
Well, so the NC doesn't mate, unless very particular situations. The falcon probably even less. That was what I was going for! Thanks!
NC indeed cannot foce checkmate. I suppose that this is why in Wildebeest Chess stalemate is a win. A Falcon/Bison (CZ) should have no problem checkmating a bare King.
It seems I have made a confusion. Thanks for clearing things out.
For this Fairy piece there is a forced mate (K+FP vs k) in 125 moves: rWbrFfDlfflNlA
Can anyone create a piece that can force a checkmate in more moves?
Ferz/Hospitaler Hunter: 130
How this piece move?
You are right. This piece: bFfhNfA mates in 130.
Can anybody top this?
Your bFfhNfA can be called a Double Sword Aborigine (or something other with understanding that it’s forward Kangaroo + backward Ferz), and your fWbrFfD7lfNfrblA as Right Gun-Layer (looks very similar to optical gun), and its mirror will be Left GL.
with D2 rather than D7 that rises to 159
Is there a way to enter XBetza on this? I wanted to try out the Blue Gecko (frB4lbW2flFbrFfW) but I can't limit the B move to 4 on this diagram.
Is there a way to enter XBetza on this?
Not on this page. But you could use the configurable applet page that the Piececlopedia links to, and write the Betza move you want in the URL.
I wanted to try out the Blue Gecko (frB4lbW2flFbrFfW) but I can't limit the B move to 4 on this diagram.
I guess I should extend the move-definition aid to 11x11 one of these days. But in case of the Blue Gecko, why bother? The 4th step of the B move will hardly ever be needed. And even when you leave out the frB move altogether, it can already force checkmate. You could also use B3 plus a direct AY leap, which shows that adding the AY leap does not shorten the mate (on 8x8, at least).
Ok. So far we have fWbrFfD2lfNfrblA from Bn Em with a record of mate in 159! I haven't been able to improve it yet. The challenge is still on!
If I could try it with a Peacekeeper (AXNX) I think that might have a higher number.
How do you read the statistics table? What's the difference between mate and mated and what are all the numbers?
'Mate' is for positions with white to move, 'mated' for positions with black (the bare King) to move. Mated-in-0 means black is already in (check)mate, mate-in-1 means white's (best) move will terminate the game. The number in those columns is the number of positions from which the result can be forced in the given number of moves (3rd column). There is no mate-in-0, but the logical successor of mate-in-1 would be positions where white can capture the King (which would be illegal in a variant with a checking rule), given in the fore-last row.
The final row gives the total of the columns, expressed as a fraction of the total number of pseudo-legal positions (= ignoring any checking rule, but without multiple pieces on the same square). For generally won end-games the left will be close to 100%, but the black-to-move fraction will be much lower, because of positions where black can capture a King or an unprotected piece. For generally drawn end-games the right number will be close to 0%, but the left number will be much higher because of King captures, and can be over 50% if white has a strong piece.
I tried it. It does not checkmate
It is easy to see this piece cannot checkmate. The only mate positions are white: Ka3 or b3, Xc6; black Ka1 (and symmetry equivalents). But to force the King to a1 the X would have to cover c1 while the bare King is on b1. And to be able to move to c6 you have to cover that. But it cannot cover c1 and c6 at the same time; its move spans only 5 squares on the same rank or file. So there aren't any forced mate-in-2 positions.
FXDY could in principle do that, because it can cover c1 and c5 (where it has to be to deliver checkmate) at once. But it turns out to be too clumsy to drive the bare King towards the corner. Add a WX move, and it can, though.
best I've done I think is brFlDfsNlAfHblFXlbDYbrNY
130 if I understand it right
best I've done I think is brFlDfsNlAfHblFXlbDYbrNY
Longest checkmate is indeed 130 moves, but there are only very few positions where this piece can force checkmate. Only 38.4% of the positions with the strong side to move are won (and immediate King capture already contributes 18.4%). So this is not a piece with mating potential. (For comparison: with the Wildebeest, which cannot even force mate in 2, white on move already wins 24%.)
ok, blBrfflNfrAflCfrZbrGflFXbrAY is 91
fAbA7lHflCflZfrbG is 124
These comments gave me an idea for a CwDA.
Sergio SergeantsAn interesting group! I'd probably use different names and icons for the Bishop and Rook pieces, but to each his own.
The Sneaky Snails!
What names and icons would you use?
Well, for names, since the Bishops are also slow checkmaters, I'd give them names to fit: Conway and Buzzi (it doesn't matter which is which). The Rooks are fine as Trumpets, but I'd go with Left and Right. Ranged Oyster would seem better as Giant Oyster (I do like the Oyster part).
As for icons, the Sloth and Turtle would be the Aardvark and Turtle (respectively) with the Three in front. The Conway and Buzzi could be Abbot and Abbess, either alone or with the Confused emoticon, Grey color, or Hourglass behind. The Trumpets are probably fine as they are (at least until I can figure out and upload a Trumpet icon for the set). A Giant Oyster could be what you use, or perhaps Malkia or Kuhani with the Large modifier.
(I'd do some experimenting to see which of these icons would look best, but I have a few other things going on today, and my brain isn't quite firing on all cylinders.)
Ok. I'm ready to declare a winner. In the 8x8 the fairy piece that delivers mate (major) on the most moves is: fWbrFfD2lfNfrblA with 159 moves from the most difficult position. I tried may other combinations and could not improve it.
54 comments displayed
Permalink to the exact comments currently displayed.
(Further comments, made during the creation of this tool, can be found in this Subject thread.)
The BN piececlopedia page now has a blurb (in the Notes section) as suggested by H.G., passing the appropriate information to the limited EGT page. If it looks and works fine, I will try to include similar links in the other Piececlopedia pages.
I currently have this page set as a Piececlopedia page, but that seems somehow unsatisfactory. It strikes me as best categorized as Reference or Problem/puzzle/1-player, but those are not highly publicized. Maybe the link from the minimal tool (from Piececlopedia pages) is enough? Or perhaps a direct link from Topic Index is warranted?