Check out Alice Chess, our featured variant for June, 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 birth of 3 new variants- part 3 : Grand Apothecary Chess Classic[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, May 29, 2021 01:48 PM EDT in reply to Aurelian Florea from 04:03 AM:

I have a preset for one of my new games. Once after saving the preset I could not access it anymore as I get a totally white window. I use microsoft edge. What happens?

My best guess is that your code contains an infinite loop. You can figure things out more precisely by going here:

https://www.chessvariants.com/play/pbm/play.php?game=Grand+Apothecary+Chess+3&settings=Default&submit=Edit

  1. Save each block of code to a text file on your computer.
  2. Delete each full block of code in turn until you determine which block of code is causing this to happen.
  3. Restore your code from your backup.
  4. Working with the block of code that is buggy, delete or comment out large portions of it to determine where the problem lies. Make sure that each portion you delete or comment out can be safely removed without breaking up control structures.
  5. Once you isolate the problem to a large section, delete or comment out smaller parts of that section until you find the line that is causing your problem.
  6. Examine that line to figure out what the problem is, fix it, and see if it fixes your problem.