08-15-2021, 03:06 PM
(This post was last modified: 08-15-2021, 03:09 PM by dale walton.)
I have a new game in which a player places a piece next to each of his opponent's groups
It would be natural to do a
(forEach Group ...
(move Add (to (sites Around (sites)))
)
but I don't see a parameter for specifying the owner of the iterated groups. How can this be done in the if:() clause of forEach Group? - or is a language extension required?
It would be natural to do a
(forEach Group ...
(move Add (to (sites Around (sites)))
)
but I don't see a parameter for specifying the owner of the iterated groups. How can this be done in the if:() clause of forEach Group? - or is a language extension required?