Check out Chess with Different Armies, our featured variant for July, 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]
💡📝Bob Greenwade wrote on Fri, Oct 13, 2023 06:00 PM UTC:

Now getting a look at the DirList function, and confirming that I understand everything (which is unlikely, as this is my first time working with Javascript).

I started with <script type="text/javascript">, followed by the variable declarations for theme, lDef, dDef, wDef, bDef, and def; then copied the entire DirList function. I changed the root and list variables to /membergraphics/ and MSdealerschess/ respectively, and also changed the graphicsDir reference later in the listing.

I'm not sure what to do with the if(type == lines near the end: edit, remove, or leave alone? (Right now it's the last.)

It's not in the dialog yet; for now, I just have it in a word processing file.

I'm also still a bit unsure about the Berserker move; I may delete it from the "established" list.