06-01-2020, 03:07 PM
(This post was last modified: 06-01-2020, 03:09 PM by dale walton.)
Not sure if this is a grammar or a feature question.
A player's pieces may divide the board into different dynamic regions (no necessarily tight to an opponent's as in Go) These are essentially groups of NotOwn sites.
I have a game which needs to count them in its end condition. In the documentation count Groups acts only on players roles. Does it also work on regions such as (sites NotOwn) and if not would you extend it to do so? Also for NotEnemy - or any other site definition.
The essential end condition would be something like:
(end (if (lte (count Groups Mover) (count Groups NotOwn)) ) (result Player Win))
I understand that my games are not designed to be particularly easy for AIs to optimize.
A player's pieces may divide the board into different dynamic regions (no necessarily tight to an opponent's as in Go) These are essentially groups of NotOwn sites.
I have a game which needs to count them in its end condition. In the documentation count Groups acts only on players roles. Does it also work on regions such as (sites NotOwn) and if not would you extend it to do so? Also for NotEnemy - or any other site definition.
The essential end condition would be something like:
(end (if (lte (count Groups Mover) (count Groups NotOwn)) ) (result Player Win))
I understand that my games are not designed to be particularly easy for AIs to optimize.