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

The Sultan's Game. Variant on 11 by 11 board from 19th century Germany. (11x11, Cells: 121) [All Comments] [Add Comment or Rating]
H. G. Muller wrote on Sun, May 9, 2021 06:25 AM UTC:

OK, that looks good. Except for those with JavaScript switched off.

To cure that there should be a static image as alternative (screenshot?), in <noscript> tags. Perhaps together with a message that points out what they are missing):

<noscript>
<p>You can play against this diagram if JavaScript is on</p>
<img src="....">
</noscript>

And you can add display:none; to the style of the <div> conaining the interactive diagram; the betza.js script would make it visible when it converts the deinition to a board image, and it keeps the definition hidden when JavaScript is off.

The color change is by design. Should really happen on the first click already. This can be suppressed by using darkShade instead of startShade to set the color. Bright colors are often not ideal for playing, especially when colors were used for highlighting. But some diagrams use dark-blue squares, which even camouflage the 'black' Alfaerie pieces.