Check out Smess, our featured variant for February, 2025.


[ 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

Grand Cavalier Chess. The decimal version of Cavalier Chess. (10x10, Cells: 100) [All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Thu, Jan 5, 2023 01:53 PM UTC in reply to Jörg Knappen from 09:49 AM:

After I made those diagrams, I added the ability to use themes. Because the code for this used $rows, I moved it up after where this variable was defined. But the value of $rows was calculated from the value of $cols, which was provided while reading the settings file, and I had moved the settings code along with the theme code. So, it was calculating $rows with the wrong value for $cols. To fix this, I moved the code for reading the settings file to an earlier part of the script.