Check out Janggi (Korean Chess), our featured variant for December, 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

Waffle Chess. Chess on a 10x8 board with waffles added. (10x8, Cells: 80) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Jan 16 10:55 PM UTC in reply to Kevin Pacey from 09:37 PM:

That could be bad news for me. A number of my Settings Files use hyphens in their names.

I have modified how new game IDs are created. First, it uses slugify to create a lowercase slug that replaces spaces with underscores. It also modifies this into one with hyphens instead of underscores and one that just removes the underscores. It then checks the database for one using hyphens, and if it finds one, it uses the one with hyphens. If not, it checks for one with underscores. If it finds one, it uses it. If not, it checks for one without underscores or hyphens. If it finds one, it uses it. If not, it uses the one with hyphens. So, this new method favors hyphens, but it will avoid breaking things if the pre-existing GameIDs for the same game do not use hyphens. This should also help prevent people from making pages for pre-existing games whose GameID or ItemID is following a slightly different convention.