06-01-2020, 05:04 PM
From what I can see, that only gives the size of the territory, not its topology. I'm looking for the number of individual territories. It is almost exactly the function used in scoring games by player's territory count, where the territories relate to the sites of each player's pieces, but in this case I need to also know for sites based on the board minus the players pieces.
I would think to provide what you currently have, it must convert player's pieces to sets of sites, but the documentation and syntax does not show it. The: (count groups Mover) is available. If the syntax were (count groups (sites Mover)) then it would be clear what I want to do is supported. Or if the documentation listed site states as well as player states.
I would think to provide what you currently have, it must convert player's pieces to sets of sites, but the documentation and syntax does not show it. The: (count groups Mover) is available. If the syntax were (count groups (sites Mover)) then it would be clear what I want to do is supported. Or if the documentation listed site states as well as player states.