Check out Grant Acedrex, our featured variant for April, 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 ]

Single Comment

Interactive diagrams. Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
💡📝H. G. Muller wrote on Sun, Jan 29, 2023 09:44 PM UTC in reply to H. G. Muller from Sat Jan 28 03:52 PM:
satellite=burn files=8 ranks=8 promoZone=2 maxPromote=3 promoOffset=6 royal=6 graphicsDir=/graphics.dir/alfaeriePNG/ squareSize=50 graphicsType=png lightShade=#ffff80 darkShade=#bf998c rimColor=#077208 coordColor=#ffff40 borders=0 firstRank=1 useMarkers=1 newClick=1 trackPieces=1 atomicCapture=0 pawn::::a2-h2 bishop::::c1,f1 rook::::a1,h1 knight:N:::b1,g1 queen::::d1 king::::e1 steward::mWcF:: horse::BW:promotedbishop: dragon::RF:promotedrook:

This Diagram lets the Queen burn both actively and passively. It uses trackPieces=1 to track the Queen, so WeirdPromotion() can efficiently get her location, and mark the adjacent squares as the burn zone, to destroy all pieces that land there.

(Refresh the browser cache, as there was a bug in the standard script w.r.t. kamikaze moves: these did set the 'non-virgin' flag on the resulting empty square, so the Diagram would treat it as an invisible white piece rather than an empty square. For now I solved that by making all pieces resulting from promotion virgin. Which is of course incorrect, but much less harmful.)