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 ]

Single Comment

Interactive diagrams. Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
💡📝H. G. Muller wrote on Thu, Nov 23, 2023 07:45 PM UTC in reply to Bob Greenwade from 05:20 PM:

There aren't really. This is not a standard feature of the ID, and basically a hack. One has to improvise by adding buttons that execute extra script. Which then changes parameters that the ID script is using, in particular the graphics directory, color prefixes ans sometimes individual image filenames. This requires some knowledge of how the ID stores this data.

How much you have to change depends on how compatible the sets are. Good examples to copy from are Maka Dai Dai Shogi, and the somewhat more involved Ultima Diagrams. You can look at these by viewing the Page Source in the browser. Much more complex is Chess for Different Armies, as it was necessary to combine two armies of different color there; it just generates a new Diagram definition, and calls the code to remake that from scratch.

The Diagram Editor is even more complex. As it wants not only to change the set for a given game, but wants to adapt the entire list of participating pieces to everything that was in the graphics directory, each time you change that.