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

Fischer Random Chess. Play Bobby Fischer's randomized Chess variant on Game Courier. (Recognized!)[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Tue, Dec 15, 2020 11:00 PM UTC in reply to Greg Strong from 06:39 PM:

I don't understand this exercise. Game Courier knows what the opening position is or you wouldn't be able to open a log and replay the moves. What am I missing?

This preset originally just stored the seed for randomizing the pieces. Constants were not yet a part of GAME Code, and they were not being used to store the position. When PHP changed the algorithm used for randomization, this broke all past games. To prevent this from happening in the future, I added constants to the language and used them to store the opening position in the log. This did not fix older games, though.

An update to PHP included a flag for srand() that allegedly tells it to use the old randomization algorithm. Despite using this flag with srand(), this has not fixed old logs. So, the only solution is to calculate the original position by analyzing the moves.