Check out Modern Chess, our featured variant for January, 2025.


[ 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 Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Fri, Jul 24, 2020 02:38 AM UTC in reply to Greg Strong from 12:46 AM:

The capturedpieces array is generated automatically after all moves have been played through. So, it is not available for you to tinker with in the code. Instead, you have to construct the entire capturedpieces array. When you have already created it in your code, it doesn't get automatically generated from your final game position.