The Chess Variant Pages




[ 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

About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
Fergus Duniho wrote on 2021-06-04 UTC

Something is wrong with GAME Code. Whenever I try to load one of my large Shogi Variant presets, and by extension any preset that uses a similar stalemated subroutine, the last expression in for/foreach is calculated wrong. It evaluates to a single square, whereas before it would correctly evaluate to the array of board spaces.

I've recently been working on making array work the same as values, but it looks like there was some discrepancy between the output of values and the original output of array for some uses of array in your presets and in the Shogi preset too. For the time being, I have reverted array to its old code, and I will test things using a temporary name.