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

Dealer's Chess. Armies are chosen by dealing special cards. (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
H. G. Muller wrote on Sat, Oct 14, 2023 05:43 AM UTC in reply to Bob Greenwade from Fri Oct 13 08:51 PM:

The function depends on the lines

  var mboard = document.getElementById('mboard');
  var original = mboard.innerHTML;
  mboard.innerHTML = DirList('alfaerie');

for calling it, and writing the expanded Diagram definition back to where it originally came from (before the betza.js script uses it to create the interactive image). Which is supposed to be an HTML element with id="mboard". Are you sure this is OK in your case?

You could debug by using alert(list); to see what the variable 'list' contains after the attempt to fill it through the access to the URL. Or make sure there is a <p id="debug"></p> on the page, and call the routine Debug(...); (which is defined in the betza.js script) to add a line with text ... to that paragraph.