[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Game Courier does this automatically. There is an associative array called capturedpieces that keeps track of the pieces captured and the associated count. It uses the starting array to know the total number of each piece. When playing a game, there is a display that shows all the captured pieces for both players, but that box only appears when something has been captured.