Check out Modern Chess, our featured variant for January, 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

Play-test applet for chess variants. Applet you can play your own variant against.[All Comments] [Add Comment or Rating]
💡📝H. G. Muller wrote on Mon, Jan 11, 2021 10:53 PM UTC in reply to Daniel Zacharias from 08:26 PM:

I will still have to do some work on the Diagram before the n modifier can be used to do real e.p. captures, rather than as a device for preventing royals can pass through check. The problem is that the Diagram currently uses an old and a new move generator, the latter only for the AI. These use different methods for encoding e.p. squares (just the two end-points of a ray, versus a list of squares). Translating one representation into the other when the e.p. starts thinking on a move does work for the normal Pawn case, but is not implemented generally enough to do the more complex things that can be done with the n modifier. Which the old system would not do anyway; that just checks whether the path of a slider leg of a royal contains an attacked square (which are marked previously), to decide whether the highlight should be grey.

My plan is to abandon the old system, and make the input of user moves controlled by the move generator of the AI. This would make all problems go away. But I haven't gotten to doing that yet.