Check out McCooey's Hexagonal Chess, our featured variant for May, 2025.


[ 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]
Greg Strong wrote on Mon, Dec 27, 2021 02:55 AM UTC in reply to H. G. Muller from Sun Dec 26 09:39 PM:

The Diagram does not support 'partial imitators', which can only imitate a subset of the pieces, or of the moves of some of the pieces. I suppose it would be possible to exploit the possibility to veto unwanted moves through a user-supplied JavaScript function BadZone.

I had to do something similar to this to get it working in ChessV.  A basic imitator rule will, of course, imitate all moves.  It requires extra code to stop it from imitating this.  Also, the Joker imitating a pawn cannot capture en passant even if a pawn could do so.  Fortunately, this did not require extra code for me just because of the way en passant is implemented as a rule and not a movement capability.