Check out Grant Acedrex, our featured variant for April, 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

Chess. The most popular of Chess variants, Chess itself. (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Mar 27, 2023 06:20 PM UTC in reply to H. G. Muller from 05:53 PM:

So you would have to modify imag[n] for n=1 to nType, and set those to the required filenames (including extension, but without color prefix or directory path).

I used an alert to tell me the value of imag[1] and it said "Pawn.gif". So, I modified imag[1] through imag[6] to have the correct piece names without the prefix or path, as illustrated in my previous comment.

At this point, I have introduced theming. Each button now also changes the colors of the spaces. I've added the Utrecht set, and I tried to change the size by changing the value of sqrSize, but it didn't work. I didn't bother changing squareSize, since it just passes its value to sqrSize.