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

Checkmating Applet[Subject Thread] [Add Response]
H. G. Muller wrote on Sat, Dec 22, 2018 11:03 AM UTC:

It appears that the JavaScript version of the EGT generator has too much 8x8 logic hard-coded into it that for now I cannot easily change it to also do other board sizes. I posted a version of the page on my website that only prints a summary of the statistics, and can accept arguments w.r.t. the image, move and name of the piece as 'get' arguments to the URL. Like:

http://hgm.nubati.net/rules/EGT_CVP.html?name=archbishop&betza=BN&img=cardinal

It already links to images and the diagram JavaScript present on the CVP website (I used Alfaerie .gif images), but from my own website this of course had to be done through "off-site" links of the type "http://www.chessvariant.com..."; when it would be on the CVP site the initial site address could be omitted from those links.

Perhaps a CVP editor can copy the page to the CVP website (and possibly dress it up with CVP logos). Apart from the link to the diagram's betza.js script in <script> tags and to the directory with piece images as graphicsDir in the diagram's description, and a link to the directory with marker symbols for the diagram at the end, the page is 'self-contained'. (I.e. the JavaScript for building the EGT and probing it during play is inside the page.)

Beware that the EGT generator currently can only do regular sliders and leapers, and that it would be blind to more advanced modifiers supported by the diagram, such as divergence, multi-leg moving or hopping. Pure hoppers would not have mating potential with only their King as support, though, and most other pieces in the Piececlopedia are regular slider/leaper compounds, so this doesn't seem much of a problem. (Bent sliders are a problem, though, so the Gryphon cannot be handled yet.)