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

Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Sun, May 26 01:47 AM UTC in reply to Fergus Duniho from 01:25 AM:

In this test settings file for Musketeer Chess, I removed the bits of code I thought might be extraneous, and I found no difference in how it behaved. First, I removed the code for handling the second part of Black's first placement move from the code for White's first placement move, changing it to this:

elseif == movenum 2: // White's 2nd move
  setlegal d4 a0 b0 c0 d0 e0 f0 g0 h0;
  setlegal e4 a0 b0 c0 d0 e0 f0 g0 h0;
  end;

Second, I removed this code from Post-Game 1:

elseif == movenum 4: // White
  if not empty e5 or not empty d5:
    continuemove;
  endif;

As far as I can tell, the code I removed was not needed, and maybe it wasn't even executed. For both settings files, I was able to move pieces after placing the extra pieces. Since I tested only in Solitaire mode, I wonder if there might be some difference between them in a correspondence game.