💡📝H. G. Muller wrote on Sun, May 28, 2023 01:47 PM UTC:
It is not only failing to make holes on mobile browsers, but it also doesn't work on my PC. It appears the change I made in the general script to allow triple capture of the Lion Dog in the large Shogi variants collides with the way I implemented the creation of holes on the applet page. (With as a consequence that it tries to interpret the dropping of a hole as a triple capture for which it has to generate a move, which then unfortunately involves off-board squares that make it crash.)
I tried to fix it, but it seems any editing I do of this page destroys the operation of the applet: a lot of pieces, including the Kings, suddenly disappear from the selection list. So I reinstated the old version now. So that at least the applet should work as before, albeit still without the possibility to create holes. I will think on whether I can solve this hole-creation problem in the general script for interactive diagrams, without editing the applet page.
It is not only failing to make holes on mobile browsers, but it also doesn't work on my PC. It appears the change I made in the general script to allow triple capture of the Lion Dog in the large Shogi variants collides with the way I implemented the creation of holes on the applet page. (With as a consequence that it tries to interpret the dropping of a hole as a triple capture for which it has to generate a move, which then unfortunately involves off-board squares that make it crash.)
I tried to fix it, but it seems any editing I do of this page destroys the operation of the applet: a lot of pieces, including the Kings, suddenly disappear from the selection list. So I reinstated the old version now. So that at least the applet should work as before, albeit still without the possibility to create holes. I will think on whether I can solve this hole-creation problem in the general script for interactive diagrams, without editing the applet page.