07-29-2020, 05:58 PM
Noted that 1.0 has counting elements of groups by team.
But what I actually need is the number of NonAdjacentRegions within a given region. - not the number of elements. This could also be used for a large variety of scoring systems as well, depending how sites are selected.
Also could (sites NotOwn) could be allowed as a short hand for (union (sites Occupied by:NonMover) (sites Empty))
so that:
(Count NonAdjacentRegions (sites NotOwn)) would tell me how many regions a player's pieces divide the board into.
But what I actually need is the number of NonAdjacentRegions within a given region. - not the number of elements. This could also be used for a large variety of scoring systems as well, depending how sites are selected.
Also could (sites NotOwn) could be allowed as a short hand for (union (sites Occupied by:NonMover) (sites Empty))
so that:
(Count NonAdjacentRegions (sites NotOwn)) would tell me how many regions a player's pieces divide the board into.