Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
Checkmating Applet. Practice your checkmating skill with fairy pieces.[All Comments] [Add Comment or Rating]
Ben Reiniger wrote on Mon, Dec 24, 2018 03:44 AM UTC:

(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?


💡📝H. G. Muller wrote on Mon, Dec 24, 2018 08:43 AM UTC:

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.


💡📝H. G. Muller wrote on Fri, Apr 12, 2019 05:23 AM UTC:

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.


💡📝H. G. Muller wrote on Fri, May 3, 2019 09:52 PM UTC:

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!


A. M. DeWitt wrote on Thu, May 16, 2019 09:45 PM UTC:

Is there any way to make the applet recognize hopping pieces like Cannons (mRcpR) and Vaos (mBcpB)?


💡📝H. G. Muller wrote on Thu, May 16, 2019 10:10 PM UTC:

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.


💡📝H. G. Muller wrote on Sun, Jun 21, 2020 05:56 PM UTC:

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.


Ben Reiniger wrote on Mon, Aug 16, 2021 05:18 PM UTC:

The playable diagram (but not the statistics) seems to be allowing the defending king two moves each turn now. Chromev0.92 on Windows.


💡📝H. G. Muller wrote on Mon, Aug 16, 2021 05:37 PM UTC in reply to Ben Reiniger from 05:18 PM:

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.


Ben Reiniger wrote on Tue, Aug 31, 2021 08:01 PM UTC in reply to H. G. Muller from Mon Aug 16 05:37 PM:

Could you make the same fix for the EGT.html page (as linked from the piececlopedia articles)?


💡📝H. G. Muller wrote on Wed, Sep 1, 2021 03:42 PM UTC in reply to Ben Reiniger from Tue Aug 31 08:01 PM:

Could you make the same fix for the EGT.html page (as linked from the piececlopedia articles)?

OK, done.


Aurelian Florea wrote on Sun, May 22, 2022 03:19 PM UTC:

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).


💡📝H. G. Muller wrote on Sun, May 22, 2022 07:11 PM UTC in reply to Aurelian Florea from 03:19 PM:

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.


Aurelian Florea wrote on Sun, May 22, 2022 07:21 PM UTC in reply to H. G. Muller from 07:11 PM:

Thanks for the analysis!


💡📝H. G. Muller wrote on Mon, May 23, 2022 07:52 AM UTC in reply to Aurelian Florea from Sun May 22 07:21 PM:

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.


Aurelian Florea wrote on Mon, May 23, 2022 08:22 AM UTC in reply to H. G. Muller from 07:52 AM:

Thanks once again for the insight!


Aurelian Florea wrote on Sat, Dec 17, 2022 07:08 AM UTC in reply to H. G. Muller from Mon May 23 07:52 AM:

I was trying to setup KWWvsK endgame (W stands for wizard), but the ai makes knight moves for some reason.


💡📝H. G. Muller wrote on Sat, Dec 17, 2022 07:42 AM UTC in reply to Aurelian Florea from 07:08 AM:

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.


Aurelian Florea wrote on Sun, Jun 11, 2023 03:07 PM UTC:

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!


💡📝H. G. Muller wrote on Sun, Jun 11, 2023 05:28 PM UTC in reply to Aurelian Florea from 03:07 PM:

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.


Aurelian Florea wrote on Sun, Jun 11, 2023 05:50 PM UTC in reply to H. G. Muller from 05:28 PM:

Thanks HG!


Aurelian Florea wrote on Mon, Nov 6, 2023 07:36 AM UTC in reply to H. G. Muller from Sun Jun 11 05:28 PM:

For some reason the calculate button does not appear anymore!


💡📝H. G. Muller wrote on Mon, Nov 6, 2023 09:30 AM UTC in reply to Aurelian Florea from 07:36 AM:

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.)


Aurelian Florea wrote on Mon, Nov 6, 2023 10:11 AM UTC in reply to H. G. Muller from 09:30 AM:

Oh! My bad!


Aurelian Florea wrote on Mon, Nov 6, 2023 10:16 AM UTC in reply to H. G. Muller from 09:30 AM:

Well, so the NC doesn't mate, unless very particular situations. The falcon probably even less. That was what I was going for! Thanks!


💡📝H. G. Muller wrote on Mon, Nov 6, 2023 10:22 AM UTC in reply to Aurelian Florea from 10:16 AM:

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.


Aurelian Florea wrote on Mon, Nov 6, 2023 10:24 AM UTC in reply to H. G. Muller from 10:22 AM:

It seems I have made a confusion. Thanks for clearing things out.


🔔Notification on Fri, Feb 9 09:03 PM UTC:

The author, H. G. Muller, has updated this page.


Sergio Pimentel wrote on Fri, May 3 11:16 PM UTC:Excellent ★★★★★

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?


HaruN Y wrote on Sat, May 4 01:53 AM UTC in reply to Sergio Pimentel from Fri May 3 11:16 PM:

Ferz/Hospitaler Hunter: 130


Sergio Pimentel wrote on Sat, May 4 02:46 AM UTC in reply to HaruN Y from 01:53 AM:

How this piece move?


Sergio Pimentel wrote on Sat, May 4 03:07 AM UTC:

You are right. This piece: bFfhNfA mates in 130.

Can anybody top this?


Sergio Pimentel wrote on Sat, May 4 04:31 AM UTC:

fWbrFfD7lfNfrblA Mates in 153


Lev Grigoriev wrote on Sat, May 4 06:08 AM UTC in reply to Sergio Pimentel from 03:07 AM:Good ★★★★

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.


Bn Em wrote on Sat, May 4 11:17 AM UTC in reply to Sergio Pimentel from 04:31 AM:

with D2 rather than D7 that rises to 159


Bob Greenwade wrote on Sat, May 4 02:57 PM UTC:

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.


💡📝H. G. Muller wrote on Sat, May 4 03:37 PM UTC in reply to Bob Greenwade from 02:57 PM:

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).


sergio wrote on Sun, May 5 06:19 PM UTC:

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!


Bob Greenwade wrote on Sun, May 5 09:18 PM UTC in reply to sergio from 06:19 PM:

If I could try it with a Peacekeeper (AXNX) I think that might have a higher number.


Daniel Zacharias wrote on Sun, May 5 09:34 PM UTC:

How do you read the statistics table? What's the difference between mate and mated and what are all the numbers?


💡📝H. G. Muller wrote on Mon, May 6 05:36 AM UTC in reply to Daniel Zacharias from Sun May 5 09:34 PM:

'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.


Sergio wrote on Mon, May 6 04:33 PM UTC in reply to Bob Greenwade from Sun May 5 09:18 PM:

I tried it. It does not checkmate


💡📝H. G. Muller wrote on Mon, May 6 08:05 PM UTC in reply to Sergio from 04:33 PM:

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.


Daniel Zacharias wrote on Mon, May 6 08:31 PM UTC:

best I've done I think is brFlDfsNlAfHblFXlbDYbrNY


Sergio wrote on Mon, May 6 09:34 PM UTC in reply to Daniel Zacharias from 08:31 PM:

How many moves?


Daniel Zacharias wrote on Tue, May 7 05:47 PM UTC in reply to Sergio from Mon May 6 09:34 PM:

130 if I understand it right


💡📝H. G. Muller wrote on Wed, May 8 07:30 AM UTC in reply to Daniel Zacharias from Mon May 6 08:31 PM:

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%.)


Daniel Zacharias wrote on Wed, May 8 08:18 PM UTC:

ok, blBrfflNfrAflCfrZbrGflFXbrAY is 91

fAbA7lHflCflZfrbG is 124


HaruN Y wrote on Thu, May 9 12:50 AM UTC:

These comments gave me an idea for a CwDA.

Sergio Sergeants

files=8 ranks=8 promoZone=1 promoChoice=NBRQ graphicsDir=/cgi-bin/fen2.php?s=50&t=Greenwade&w=dd865b&b=668f8a&p= squareSize=50 graphicsType= royal=K firstRank=1 lightShade=#96124e darkShade=#6a6a81 rimColor=#000000 coordColor=#ffffff borders=0 symmetry=none pawn:P:ifmnDfmWfceF:pawn:a2,b2,c2,d2,e2,f2,g2,h2,,a7,b7,c7,d7,e7,f7,g7,h7 knight:N:N:knight:b1,g1 bishop:B:B:bishop:c1,f1 rook:R:R:rook:a1,h1 queen:Q:Q:queen:d1 Three-Toed Sloth:H:fWbrFfD2lfNfrblA:aardvark--three:,,g8 Three-Toed Box Turtle:E:fWblFfD2rfNflbrA:turtle--three:,,b8 Buzzi:Z:brFfDlflbNfAlHrfFXfrDYrbNY:hourglass--leftarrow:,,c8 Conway:D:blFfDrfrbNfArHlfFXflDYlbNY:hourglass--rightarrow:,,f8 True Trumpet:T:mWfrmR2cabWfrcaibR2:rightarrow--rook:,,h8 False Trumpet:F:mWflmR2cabWflcaibR2:leftarrow--rook:,,a8 Ranged Oyster:O:mWfmDfbsmNcabWfcabDfbscabN:crab--snail:,,d8 king:K:KisO2:king:e1,,e8

Bob Greenwade wrote on Thu, May 9 02:55 PM UTC in reply to HaruN Y from 12:50 AM:

An interesting group! I'd probably use different names and icons for the Bishop and Rook pieces, but to each his own.


💡📝H. G. Muller wrote on Thu, May 9 03:31 PM UTC in reply to HaruN Y from 12:50 AM:

The Sneaky Snails!


HaruN Y wrote on Thu, May 9 04:05 PM UTC in reply to Bob Greenwade from 02:55 PM:

What names and icons would you use?


Bob Greenwade wrote on Thu, May 9 04:25 PM UTC in reply to HaruN Y from 04:05 PM:

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.)


53 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.